;
- }
- return null;
- })}
-
-
- );
-}
-
-CustomTabs.propTypes = {
- headerColor: PropTypes.oneOf([
- "warning",
- "success",
- "danger",
- "info",
- "primary",
- "rose"
- ]),
- title: PropTypes.string,
- tabs: PropTypes.arrayOf(
- PropTypes.shape({
- tabName: PropTypes.string.isRequired,
- tabIcon: PropTypes.object,
- tabContent: PropTypes.node.isRequired
- })
- ),
- rtlActive: PropTypes.bool,
- plainTabs: PropTypes.bool
-};
diff --git a/components/Motor/Motor.js b/components/Motor/Motor.js
deleted file mode 100644
index 76d5750..0000000
--- a/components/Motor/Motor.js
+++ /dev/null
@@ -1,28 +0,0 @@
-import React from "react";
-
-// @material-ui/core components
-import List from "@material-ui/core/List";
-import ListItem from "@material-ui/core/ListItem";
-import ListItemText from "@material-ui/core/ListItemText";
-// @material-ui icons
-// core components
-import Card from "components/Card/Card.js";
-import CardHeader from "components/Card/CardHeader.js";
-import cardBlog5 from "assets/img/examples/studio-1.jpg";
-
-export default function Motor() {
- return (
-
- All New Nmax
-
-
-
-
-
-
- );
-}
\ No newline at end of file
diff --git a/pages-sections/about_us/about_us.js b/pages-sections/about_us/about_us.js
index 4faca15..4485257 100644
--- a/pages-sections/about_us/about_us.js
+++ b/pages-sections/about_us/about_us.js
@@ -1,9 +1,6 @@
import React from "react";
-
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
-// component
import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
import Card from "components/Card/Card.js";
import CardBody from "components/Card/CardBody.js";
diff --git a/pages-sections/about_us/penghargaan.js b/pages-sections/about_us/penghargaan.js
index a58fdc3..d5f9b5d 100644
--- a/pages-sections/about_us/penghargaan.js
+++ b/pages-sections/about_us/penghargaan.js
@@ -1,9 +1,6 @@
import React from "react";
-
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
-// component
import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
import Card from "components/Card/Card.js";
import CardBody from "components/Card/CardBody.js";
diff --git a/pages-sections/about_us/profile.js b/pages-sections/about_us/profile.js
index 8b9a07c..9531757 100644
--- a/pages-sections/about_us/profile.js
+++ b/pages-sections/about_us/profile.js
@@ -1,9 +1,6 @@
import React from "react";
-
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
-// component
import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
import Card from "components/Card/Card.js";
import CardBody from "components/Card/CardBody.js";
diff --git a/pages-sections/about_us/saham.js b/pages-sections/about_us/saham.js
index b4cd83e..ce6e7f3 100644
--- a/pages-sections/about_us/saham.js
+++ b/pages-sections/about_us/saham.js
@@ -1,9 +1,6 @@
import React from "react";
-
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
-// component
import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
import Card from "components/Card/Card.js";
import CardBody from "components/Card/CardBody.js";
diff --git a/pages-sections/about_us/sejarah.js b/pages-sections/about_us/sejarah.js
index 7af73da..cb57d58 100644
--- a/pages-sections/about_us/sejarah.js
+++ b/pages-sections/about_us/sejarah.js
@@ -1,9 +1,6 @@
import React from "react";
-
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
-// component
import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
import Card from "components/Card/Card.js";
import CardBody from "components/Card/CardBody.js";
diff --git a/pages-sections/about_us/struktur_organisasi.js b/pages-sections/about_us/struktur_organisasi.js
index 0fad3b9..8eac41d 100644
--- a/pages-sections/about_us/struktur_organisasi.js
+++ b/pages-sections/about_us/struktur_organisasi.js
@@ -1,9 +1,6 @@
import React from "react";
-
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
-// component
import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
import Card from "components/Card/Card.js";
import CardBody from "components/Card/CardBody.js";
diff --git a/pages-sections/about_us/tata_kelola.js b/pages-sections/about_us/tata_kelola.js
index c51449f..952475c 100644
--- a/pages-sections/about_us/tata_kelola.js
+++ b/pages-sections/about_us/tata_kelola.js
@@ -1,9 +1,6 @@
import React from "react";
-
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
-// component
import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
import Card from "components/Card/Card.js";
import CardBody from "components/Card/CardBody.js";
diff --git a/pages-sections/about_us/tugas_fungsi.js b/pages-sections/about_us/tugas_fungsi.js
index 735a20b..4f65e2d 100644
--- a/pages-sections/about_us/tugas_fungsi.js
+++ b/pages-sections/about_us/tugas_fungsi.js
@@ -1,9 +1,6 @@
import React from "react";
-
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
-// component
import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
import Card from "components/Card/Card.js";
import CardBody from "components/Card/CardBody.js";
diff --git a/pages-sections/carrer/carrer.js b/pages-sections/carrer/carrer.js
index 65a81ce..9b05ae4 100644
--- a/pages-sections/carrer/carrer.js
+++ b/pages-sections/carrer/carrer.js
@@ -1,15 +1,9 @@
import React from "react";
-
-// nodejs library that concatenates classes
import classNames from "classnames";
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
-
-// @material-ui/icons
import Dashboard from "@material-ui/icons/Dashboard";
-// Component
import GridContainer from "components/Grid/GridContainer.js";
import GridItem from "components/Grid/GridItem.js";
import NavPills from "components/NavPills/NavPills.js";
diff --git a/pages-sections/carrer/carrer_details.js b/pages-sections/carrer/carrer_details.js
index 6d44f74..431bd50 100644
--- a/pages-sections/carrer/carrer_details.js
+++ b/pages-sections/carrer/carrer_details.js
@@ -1,19 +1,12 @@
-import React, { useState, useEffect } from 'react';
-
-// @material-ui/core components
+import React from 'react';
import { makeStyles } from "@material-ui/core/styles";
-import parse from 'react-html-parser';
-// component
import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
import Card from "components/Card/Card.js";
import CardBody from "components/Card/CardBody.js";
import CardHeader from "components/Card/CardHeader.js";
-const useStyles = makeStyles(styles);
-
const DataCarrer = function ({ backend, detailcarrer, ...props }) {
- const classes = useStyles();
const carrer = detailcarrer.map((data) => {
return (
@@ -24,9 +17,7 @@ const DataCarrer = function ({ backend, detailcarrer, ...props }) {
Masa Pendaftaran : {data.start_regis} s/d {data.until_regis}
-
- { parse () }
-
+ parse({data.description})
diff --git a/pages-sections/home/SectionContent.js b/pages-sections/home/SectionContent.js
deleted file mode 100644
index 5a60e44..0000000
--- a/pages-sections/home/SectionContent.js
+++ /dev/null
@@ -1,270 +0,0 @@
-import React from "react";
-
-// @material-ui/core components
-import { makeStyles } from "@material-ui/core/styles";
-
-// Component
-import SnackbarContent from "components/Snackbar/SnackbarContent.js";
-import Clearfix from "components/Clearfix/Clearfix.js";
-import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
-import GridContainer from "components/Grid/GridContainer.js";
-import GridItem from "components/Grid/GridItem.js";
-import Grid from '@material-ui/core/Grid';
-import Paper from '@material-ui/core/Paper';
-import CardBody from "components/Card/CardBody.js";
-import Card from "components/Card/Card.js";
-import Button from "components/CustomButtons/Button.js";
-
-// react component for creating beautiful carousel
-import Carousel from "react-slick";
-
-// @material-ui/icons
-import LocationOn from "@material-ui/icons/LocationOn";
-
-import image1 from "assets/img/bg.jpg";
-import image2 from "assets/img/bg2.png";
-import image3 from "assets/img/bg3.jpg";
-// import "assets/css/hover.css";
-
-// import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/carouselStyle.js";
-
-
-const useStyles = makeStyles(styles);
-
-const DataSnackbarContent = function() {
- const classes = useStyles();
- return (
-
-
- Thamrin Group bersama Anda melawan COVID-19. Untuk informasi silakan klik di sini.
-
- }
- align="center"
- color="danger"
- icon="info_outline"
- />
-
- );
-}
-
-module.exports = {
- DataSnackbarContent: DataSnackbarContent,
- DataCarousel: DataCarousel,
- DataService: DataService,
- DataBusinessPartner: DataBusinessPartner,
-};
\ No newline at end of file
diff --git a/pages-sections/home/business_partner.js b/pages-sections/home/business_partner.js
index fa0cdca..9728b4c 100644
--- a/pages-sections/home/business_partner.js
+++ b/pages-sections/home/business_partner.js
@@ -1,11 +1,8 @@
import React from "react";
-
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
import GridContainer from "components/Grid/GridContainer.js";
import Grid from '@material-ui/core/Grid';
-import Paper from '@material-ui/core/Paper';
import Card from "components/Card/Card.js";
import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
diff --git a/pages-sections/home/carousel.js b/pages-sections/home/carousel.js
index 01a83ee..2260c57 100644
--- a/pages-sections/home/carousel.js
+++ b/pages-sections/home/carousel.js
@@ -1,15 +1,10 @@
import React from "react";
-
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
-// Component
import GridContainer from "components/Grid/GridContainer.js";
import GridItem from "components/Grid/GridItem.js";
import Card from "components/Card/Card.js";
import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
-
-// react component for creating beautiful carousel
import Carousel from "react-slick";
const useStyles = makeStyles(styles);
diff --git a/pages-sections/home/core_value.js b/pages-sections/home/core_value.js
index 19e9adc..8581e27 100644
--- a/pages-sections/home/core_value.js
+++ b/pages-sections/home/core_value.js
@@ -1,15 +1,10 @@
import React from "react";
-
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
-// Component
import GridContainer from "components/Grid/GridContainer.js";
import GridItem from "components/Grid/GridItem.js";
import Card from "components/Card/Card.js";
import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
-
-// react component for creating beautiful carousel
import Carousel from "react-slick";
import image1 from "assets/img/core1.png";
diff --git a/pages-sections/home/service.js b/pages-sections/home/service.js
index 5011df9..5599e46 100644
--- a/pages-sections/home/service.js
+++ b/pages-sections/home/service.js
@@ -1,6 +1,4 @@
import React from "react";
-
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
import GridContainer from "components/Grid/GridContainer.js";
diff --git a/pages-sections/latest_news/SectionLatestNews.js b/pages-sections/latest_news/SectionLatestNews.js
deleted file mode 100644
index 4c7067a..0000000
--- a/pages-sections/latest_news/SectionLatestNews.js
+++ /dev/null
@@ -1,161 +0,0 @@
-import React from "react";
-
-// @material-ui/core components
-import { makeStyles } from "@material-ui/core/styles";
-
-// component
-import SnackbarContent from "components/Snackbar/SnackbarContent.js";
-import Clearfix from "components/Clearfix/Clearfix.js";
-import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
-import Paper from '@material-ui/core/Paper';
-import Grid from '@material-ui/core/Grid';
-import GridContainer from "components/Grid/GridContainer.js";
-import Card from "components/Card/Card.js";
-import CardBody from "components/Card/CardBody.js";
-import Button from "components/CustomButtons/Button.js";
-import Paginations from "components/Pagination/Pagination.js";
-
-const useStyles = makeStyles(styles);
-
-const LatestNews = function ({ news, ...props }) {
- const classes = useStyles();
- return (
-
-
- Thamrin Group bersama Anda melawan COVID-19. Untuk informasi silakan klik di sini.
-
- }
- align="center"
- color="danger"
- icon="info_outline"
- />
-
-
-
Latest News
-
-
-
-
-
-
-
-
Dance Seru sambil Menang Banyak? Yuk...
-
Jakarta – Let’s Gear Up! PT Yamaha Indonesia Motor Manufacturing (PT YIMM) mengajak para generasi muda...
-
-
-
-
-
-
-
-
-
-
-
Makin Agresif, Ini Warna Baru MT-25 !
-
Makin Agresif, Ini Warna Baru MT-25 ! Yamaha gencar melakukan penyegaran produk-produknya...
-
-
-
-
-
-
-
-
-
-
-
Awal Tahun 2021, Yamaha Fino 125 Sporty Tampil...
-
Jakarta – Melanjutkan penyegaran warna baru pada Yamaha Fino 125 Premium sebelumnya, kini saatnya...
-
-
-
-
-
-
-
-
-
-
-
Ini Warna Baru Yamaha R15 !
-
Tahun 2021 baru bergulir, Yamaha sudah memanjakan konsumen dengan melansir warna teranyar...
-
-
-
-
-
-
-
-
-
-
-
Awal Tahun 2021, MX King 150 Warna Baru Meluncur
-
Awal tahun 2021 ini dibuka Yamaha dengan merilis warna baru MX King 150 yang kian menonjolkan tampilan...
-
-
-
-
-
-
-
-
-
-
-
Semakin Sporty, Yamaha Luncurkan All New...
-
Jakarta – Sebagai wujud apresiasi terhadap pecinta MotoGP di Indonesia dan semangat sportifitas MotoGP...
-
-
-
-
-
-
-
-
-
-
- );
-}
-
-export default LatestNews;
\ No newline at end of file
diff --git a/pages-sections/latest_news/news.js b/pages-sections/latest_news/news.js
index eeb2c06..da031c7 100644
--- a/pages-sections/latest_news/news.js
+++ b/pages-sections/latest_news/news.js
@@ -1,13 +1,8 @@
-import React, { useState, useEffect } from 'react';
-import Router, { withRouter } from 'next/router'
+import React from 'react';
-// @material-ui/core components
import { makeStyles } from "@material-ui/core/styles";
-import ReactPaginate from 'react-paginate';
-// component
import styles from "assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js";
-import Paper from '@material-ui/core/Paper';
import Grid from '@material-ui/core/Grid';
import GridContainer from "components/Grid/GridContainer.js";
import Card from "components/Card/Card.js";
@@ -19,29 +14,6 @@ import Icon from "@material-ui/core/Icon";
const useStyles = makeStyles(styles);
const DataLatestNews = function ({ backend, news, ...props }) {
- const [isLoading, setLoading] = useState(false); //State for the loading indicator
- const startLoading = () => setLoading(true);
- const stopLoading = () => setLoading(false);
- useEffect(() => { //After the component is mounted set router event handlers
- Router.events.on('routeChangeStart', startLoading);
- Router.events.on('routeChangeComplete', stopLoading);
-
- return () => {
- Router.events.off('routeChangeStart', startLoading);
- Router.events.off('routeChangeComplete', stopLoading);
- }
- }, [])
- const pagginationHandler = (page) => {
- const currentPath = props.router.pathname;
- const currentQuery = props.router.query;
- currentQuery.page = page.selected + 1;
-
- props.router.push({
- pathname: currentPath,
- query: currentQuery,
- });
- };
-
const classes = useStyles();
const latnews = news.map((data) => {
return (
@@ -53,7 +25,6 @@ const DataLatestNews = function ({ backend, news, ...props }) {
src={`${backend}${data.img[0]["url"]}`}
/>
- {/*