diff --git a/next.config.js b/next.config.js
index 4c71e395..6f56624e 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,4 +1,3 @@
-const million = require("million/compiler");
const bundleAnalyzer = require("@next/bundle-analyzer");
const nextTranslate = require("next-translate-plugin");
@@ -61,4 +60,4 @@ const baseConfig = nextTranslate({
},
});
-module.exports = million.next(withBundleAnalyzer(baseConfig), { auto: true });
+module.exports = withBundleAnalyzer(baseConfig);
diff --git a/src/components/cardSwiper/BoxCSS.ts b/src/components/cardSwiper/BoxCSS.ts
deleted file mode 100644
index 194754c7..00000000
--- a/src/components/cardSwiper/BoxCSS.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-import styled from "@emotion/styled";
-
-export const BoxCSS = styled.div`
- .swiper-slide.scale {
- transition: 300ms;
- transform: scale(0.8) !important;
- text-align: center;
- align-self: center;
- flex-shrink: 0;
- width: auto;
- }
- .swiper-slide-active.scale {
- transform: scale(1) !important;
- }
- .c-next.swiper-button-disabled,
- .c-prev.swiper-button-disabled {
- display: none;
- }
- .c-next,
- .c-prev {
- display: none;
- }
- @media screen and (max-width: 768px) {
- .c-next,
- .c-prev {
- display: block;
- }
- .swiper-container {
- padding: 0 40px;
- }
- }
-`;
diff --git a/src/components/cardSwiper/index.module.scss b/src/components/cardSwiper/index.module.scss
index e50366a4..05fba68d 100644
--- a/src/components/cardSwiper/index.module.scss
+++ b/src/components/cardSwiper/index.module.scss
@@ -1,3 +1,5 @@
+@import "src/styles/sass.scss";
+
.wrapper {
position: relative;
}
@@ -15,3 +17,47 @@
top: 50%;
transform: translateY(-50%);
}
+
+.boxCss {
+ :global {
+ .swiper-slide.scale {
+ align-self: center;
+ flex-shrink: 0;
+ text-align: center;
+ transform: scale(0.8) !important;
+ transition: 300ms;
+ width: auto;
+ }
+
+ .swiper-slide-active.scale {
+ transform: scale(1) !important;
+ }
+
+ .c-next.swiper-button-disabled,
+ .c-prev.swiper-button-disabled {
+ display: none;
+ }
+
+ .c-next,
+ .c-prev {
+ display: none;
+ }
+
+ @include down-tablet {
+ .c-next,
+ .c-prev {
+ display: block;
+ }
+
+ .swiper-container {
+ padding: 0 40px;
+ }
+ }
+ }
+}
+
+.slide {
+ @include down-laptop {
+ width: 100%;
+ }
+}
diff --git a/src/components/cardSwiper/index.tsx b/src/components/cardSwiper/index.tsx
index c05b380a..f0a72d7c 100644
--- a/src/components/cardSwiper/index.tsx
+++ b/src/components/cardSwiper/index.tsx
@@ -1,4 +1,4 @@
-import { Stack, useTheme } from "@mui/material";
+import { Stack } from "@mui/material";
import Image from "next/legacy/image";
import type { CSSProperties } from "react";
import SwiperCore, { Navigation } from "swiper";
@@ -6,7 +6,6 @@ import { Swiper, SwiperSlide } from "swiper/react";
import "swiper/swiper.min.css";
import Arrow, { Direction } from "../arrow";
-import { BoxCSS } from "./BoxCSS";
import * as styles from "./index.module.scss";
SwiperCore.use([Navigation]);
@@ -17,63 +16,53 @@ type Props = {
style?: CSSProperties;
};
-const CardSwiper = ({ className, imagesList, style }: Props) => {
- const theme = useTheme();
-
- return (
-
-
-
- {imagesList.map((item, index) => (
-
-
- {item && }
-
-
- ))}
-
-
-
-
-
- );
-};
+const CardSwiper = ({ className, imagesList, style }: Props) => (
+
+
+
+ {imagesList.map((item, index) => (
+
+
+ {item && }
+
+
+ ))}
+
+
+
+
+
+);
export default CardSwiper;
diff --git a/src/components/carousel/BoxCSS.ts b/src/components/carousel/BoxCSS.ts
deleted file mode 100644
index a4e2651b..00000000
--- a/src/components/carousel/BoxCSS.ts
+++ /dev/null
@@ -1,42 +0,0 @@
-import styled from "@emotion/styled";
-
-export const BoxCSS = styled.div`
- .swiper-container {
- padding: 40px;
- }
- .swiper-wrapper {
- align-items: stretch;
- }
- .swiper-slide {
- transition: 300ms;
- transform: scale(0.8) !important;
- height: auto;
- width: 100%;
- }
-
- .swiper-slide-active {
- transform: scale(1) !important;
- }
- .c-next.swiper-button-disabled,
- .c-prev.swiper-button-disabled {
- display: none;
- }
-
- .c-next,
- .c-prev {
- display: none;
- }
-
- @media screen and (max-width: 1025px) {
- .c-next,
- .c-prev {
- display: block;
- }
- .swiper-container {
- padding: 30px 32px;
- }
- .swiper-wrapper {
- align-items: flex-start;
- }
- }
-`;
diff --git a/src/components/carousel/index.module.scss b/src/components/carousel/index.module.scss
index fb34b039..ca93c818 100644
--- a/src/components/carousel/index.module.scss
+++ b/src/components/carousel/index.module.scss
@@ -95,3 +95,51 @@ $avater-shadow:
margin: 0 -16px;
}
}
+
+.boxCss {
+ :global {
+ .swiper-container {
+ padding: 40px;
+ }
+
+ .swiper-wrapper {
+ align-items: stretch;
+ }
+
+ .swiper-slide {
+ height: auto;
+ transform: scale(0.8) !important;
+ transition: 300ms;
+ width: 100%;
+ }
+
+ .swiper-slide-active {
+ transform: scale(1) !important;
+ }
+
+ .c-next.swiper-button-disabled,
+ .c-prev.swiper-button-disabled {
+ display: none;
+ }
+
+ .c-next,
+ .c-prev {
+ display: none;
+ }
+
+ @media screen and (max-width: 1025px) {
+ .c-next,
+ .c-prev {
+ display: block;
+ }
+
+ .swiper-container {
+ padding: 30px 32px;
+ }
+
+ .swiper-wrapper {
+ align-items: flex-start;
+ }
+ }
+ }
+}
diff --git a/src/components/carousel/index.tsx b/src/components/carousel/index.tsx
index 4596eb8e..ca5ce30b 100644
--- a/src/components/carousel/index.tsx
+++ b/src/components/carousel/index.tsx
@@ -6,7 +6,6 @@ import { Swiper, SwiperSlide } from "swiper/react";
import "swiper/swiper.min.css";
import Arrow, { Direction } from "../arrow";
-import { BoxCSS } from "./BoxCSS";
import * as styles from "./index.module.scss";
SwiperCore.use([Navigation]);
@@ -62,7 +61,7 @@ const Carousel = ({ personList }: CarouselProps) => {
}
return (
-
+
);
};
diff --git a/src/components/contact-form/index.module.scss b/src/components/contact-form/index.module.scss
index c63e0b43..ebac9ca8 100644
--- a/src/components/contact-form/index.module.scss
+++ b/src/components/contact-form/index.module.scss
@@ -19,3 +19,8 @@
.select {
color: $color-grey-2;
}
+
+.label {
+ font-size: 16px;
+ font-weight: 590;
+}
diff --git a/src/components/contact-form/index.tsx b/src/components/contact-form/index.tsx
index ff382f73..21964705 100644
--- a/src/components/contact-form/index.tsx
+++ b/src/components/contact-form/index.tsx
@@ -5,7 +5,6 @@ import {
MenuItem,
Select,
Stack,
- Typography,
useTheme,
} from "@mui/material";
import useTranslation from "next-translate/useTranslation";
@@ -73,15 +72,10 @@ const ContactFrom = forwardRef(
rowSpacing={{ desktop: theme.spacing(4), mobile: theme.spacing(3) }}
>
-
+
{t("your_name")}
*
-
+
(
/>
-
- {t("your_company")}
-
+ {t("your_company")}
(
/>
-
+
{t("your_email")}
*
-
+
(
/>
-
+
{t("how")}
*
-
+