From b266aa87968d3c01108920a391278e7881fdb449 Mon Sep 17 00:00:00 2001 From: euxzy Date: Sat, 28 Jun 2025 20:22:32 +0700 Subject: [PATCH] feat(landing): add animation on hero and what we offer section --- .../(home)/_components/hero-section.tsx | 63 ++++++++++++++----- .../_components/what-we-offer-section.tsx | 13 ++-- 2 files changed, 57 insertions(+), 19 deletions(-) diff --git a/apps/dimentorin/src/app/(public)/(home)/_components/hero-section.tsx b/apps/dimentorin/src/app/(public)/(home)/_components/hero-section.tsx index 974105e..06437ee 100644 --- a/apps/dimentorin/src/app/(public)/(home)/_components/hero-section.tsx +++ b/apps/dimentorin/src/app/(public)/(home)/_components/hero-section.tsx @@ -1,23 +1,54 @@ import { Button } from "@imphnen-frontend-service/ui/atoms"; +import { motion } from 'framer-motion' export function HeroSection() { return (
{/* Background gradients and shapes */}
-
-
-
-
-
-
+ + + + + +
-
+

DIMENTORIN

Learn IT smarter with AI & expert mentors! @@ -25,15 +56,17 @@ export function HeroSection() {

Apakah kamu siap untuk grind skill TI-mu ke level Ultimate? Dengan AI sebagai navigator dan mentor profesional sebagai sensei-mu, perjalanan belajarmu akan lebih cepat, efektif, dan penuh EXP!

-
+ - + + +
) diff --git a/apps/dimentorin/src/app/(public)/(home)/_components/what-we-offer-section.tsx b/apps/dimentorin/src/app/(public)/(home)/_components/what-we-offer-section.tsx index e1c8f2e..3473fc7 100644 --- a/apps/dimentorin/src/app/(public)/(home)/_components/what-we-offer-section.tsx +++ b/apps/dimentorin/src/app/(public)/(home)/_components/what-we-offer-section.tsx @@ -11,8 +11,13 @@ const OFFERS: { title: string; description: string; image: string }[] = [ export const WhatWeOfferSection: FC = () => { return ( -
-
+
+ -
+ -
+
{(offer) => (