From 40b6fd3cfc48fd63af118ee504916f1431ed1d9f Mon Sep 17 00:00:00 2001 From: asepharyana Date: Sun, 20 Sep 2026 22:00:52 +0700 Subject: [PATCH] =?UTF-8?q?feat(home):=20Aceternity=20hero=20=E2=80=94=20S?= =?UTF-8?q?potlight,=20SparklesCore,=20Cover,=20MagneticButton?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace create-next-app boilerplate home with a signature Aceternity hero: - Spotlight glow top-left, SparklesCore particle field background - Cover underlines 'animated UI out of the box' - MagneticButton on the gallery CTA (href=/ui) - Staggered fade-up entry via motion/react Full gate: lint/typecheck/build/test/format green. --- app/page.tsx | 75 ++-------------------------------------- components/home-hero.tsx | 68 ++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 73 deletions(-) create mode 100644 components/home-hero.tsx diff --git a/app/page.tsx b/app/page.tsx index 704ce16..10d71d3 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,76 +1,5 @@ -import Image from "next/image"; -import Link from "next/link"; +import { HomeHero } from "@/components/home-hero"; export default function Home() { - return ( -
-
- Next.js logo -
-

- To get started, edit the{" "} - - page.tsx - {" "} - file. -

-

- Looking for a starting point or more instructions? Head over to{" "} - - Templates - {" "} - or the{" "} - - Learning - {" "} - center. -

- - View the demo wiring → - -
-
- - Vercel logomark - Deploy Now - - - Documentation - -
-
-
- ); + return ; } diff --git a/components/home-hero.tsx b/components/home-hero.tsx new file mode 100644 index 0000000..02afbec --- /dev/null +++ b/components/home-hero.tsx @@ -0,0 +1,68 @@ +"use client"; + +import Link from "next/link"; +import { motion } from "motion/react"; +import { Cover } from "@/components/ui/cover"; +import { MagneticButton } from "@/components/ui/magnetic-button"; +import { SparklesCore } from "@/components/ui/sparkles"; +import { Spotlight } from "@/components/ui/spotlight"; + +export function HomeHero() { + return ( +
+
+ +
+ + {/* Sparkles fill the hero background */} +
+ +
+ + + + Next.js 16 · Tailwind v4 · motion · 50+ Aceternity components + + +

+ A template that ships with animated UI out of the box. +

+ +

+ Aceternity components vendored as source, Tailwind v4 native, zero-warning lint. Every + effect below is live — build a landing page without starting from scratch. +

+ +
+ + + + Browse the gallery + → + + + + + View the demo wiring + +
+
+
+ ); +}