diff --git a/frontend/app/[locale]/page.tsx b/frontend/app/[locale]/page.tsx index e14bdcac..5b7cbb03 100644 --- a/frontend/app/[locale]/page.tsx +++ b/frontend/app/[locale]/page.tsx @@ -1,6 +1,6 @@ import { getTranslations } from 'next-intl/server'; -import HeroSection from '@/components/home/HeroSection'; +import FeaturesHeroSection from '@/components/home/FeaturesHeroSection'; export async function generateMetadata({ params, @@ -57,10 +57,13 @@ export async function generateMetadata({ }; } +import WelcomeHeroSection from '@/components/home/WelcomeHeroSection'; + export default function Home() { return ( <> - + + ); } diff --git a/frontend/app/globals.css b/frontend/app/globals.css index 7ab59b5f..7d97ed10 100644 --- a/frontend/app/globals.css +++ b/frontend/app/globals.css @@ -277,6 +277,19 @@ .animate-dash-flow { animation: dash-flow 2s linear infinite; } + + /* 3D Flip Card */ + .perspective-1000 { + perspective: 1000px; + } + + .preserve-3d { + transform-style: preserve-3d; + } + + .backface-hidden { + backface-visibility: hidden; + } } @keyframes float { diff --git a/frontend/components/about/HeroSection.tsx b/frontend/components/about/HeroSection.tsx index df3487df..29f3f263 100644 --- a/frontend/components/about/HeroSection.tsx +++ b/frontend/components/about/HeroSection.tsx @@ -16,7 +16,7 @@ export function HeroSection({ stats }: { stats?: PlatformStats }) { questionsSolved: '850+', githubStars: '120+', activeUsers: '200+', - linkedinFollowers: '1.3k+', + linkedinFollowers: '1.5k+', }; return ( diff --git a/frontend/components/home/CodeCard.tsx b/frontend/components/home/CodeCard.tsx deleted file mode 100644 index 0f658566..00000000 --- a/frontend/components/home/CodeCard.tsx +++ /dev/null @@ -1,39 +0,0 @@ -import type { ReactNode } from 'react'; - -interface CodeCardProps { - fileName: string; - snippet: ReactNode; - className?: string; -} - -export function CodeCard({ fileName, snippet, className }: CodeCardProps) { - return ( -