diff --git a/apps/dimentorin/public/image/testimonial.webp b/apps/dimentorin/public/image/testimonial.webp new file mode 100644 index 0000000..b4555c9 Binary files /dev/null and b/apps/dimentorin/public/image/testimonial.webp differ diff --git a/apps/dimentorin/src/app/(public)/(home)/_components/testimonial-section.tsx b/apps/dimentorin/src/app/(public)/(home)/_components/testimonial-section.tsx new file mode 100644 index 0000000..1568b7a --- /dev/null +++ b/apps/dimentorin/src/app/(public)/(home)/_components/testimonial-section.tsx @@ -0,0 +1,113 @@ +import { Button } from '@imphnen-frontend-service/ui/atoms' +import { FC, useRef } from 'react' +import { motion, useInView, Variants } from 'framer-motion' +import { For } from '../../../_components/logic/for' +import { StarFilled } from '@ant-design/icons' + +export const TestimonialSection: FC = () => { + const ref = useRef(null) + const isInView = useInView(ref, { once: true, amount: 0.2 }) + + const containerVariants: Variants = { + hidden: { opacity: 0 }, + visible: { + opacity: 1, + transition: { + staggerChildren: 0.1, + delayChildren: 0.2, + }, + }, + } + + const childVariants: Variants = { + hidden: { opacity: 0, y: 20 }, + visible: { + opacity: 1, + y: 0, + transition: { + duration: 0.4, + ease: [0.25, 0.46, 0.45, 0.94], + }, + }, + } + + return ( +
+ + + + + + Words from our dellow devs + + +
+ + + {(_, index) => ( + +
+ Testimonial +
+
+

+ Riko, Junior Web Developer +

+

+ Rasanya seperti punya AI waifu yang ngajarin ngoding! Mentoringnya juga super insightful. Thanks, Dimentorin! +

+ + + +
+
+ )} +
+
+
+
+ ) +} diff --git a/apps/dimentorin/src/app/(public)/(home)/page.tsx b/apps/dimentorin/src/app/(public)/(home)/page.tsx index 0c3b582..aeb763e 100644 --- a/apps/dimentorin/src/app/(public)/(home)/page.tsx +++ b/apps/dimentorin/src/app/(public)/(home)/page.tsx @@ -1,12 +1,14 @@ import { FC, ReactElement } from 'react'; import { HeroSection } from './_components/hero-section'; import { WhatWeOfferSection } from './_components/what-we-offer-section'; +import { TestimonialSection } from './_components/testimonial-section'; export const Components: FC = (): ReactElement => { return ( <> + ); }; diff --git a/apps/dimentorin/src/index.css b/apps/dimentorin/src/index.css index ab312f2..931d17d 100644 --- a/apps/dimentorin/src/index.css +++ b/apps/dimentorin/src/index.css @@ -119,3 +119,9 @@ font-weight: 400; } } + +@layer utilities { + .scrollbar-hide::-webkit-scrollbar { + @apply hidden; + } +}