KNOX AI is a practice landing page for a fictional AI startup.
The goal of this project is to experiment with a modern marketing site stack:
- Animated hero with canvas-based waves
- Smooth entrance animations
- Responsive, scroll-aware navbar
- Feature & pricing sections using shadcn/ui
- FAQ accordion and contact form with API route + toast feedback
It is not a production application, but it’s structured like a real-world Next.js app so it can be deployed and iterated on.
-
Hero section
- Wavy background built with a custom
WavyBackgroundcomponent (canvas + simplex-noise). - Name animation using
EncryptedTextto reveal the “KNOX” brand. - Primary and secondary CTAs:
- Get Early Access — triggers a Sonner toast confirming you’re on the list.
- Watch Demo — toast describing that a demo is coming soon.
- Wavy background built with a custom
-
Responsive navigation
- Custom resizable navbar component with:
- Desktop and mobile layouts
- Animated hover pill for links
- Mobile drawer controlled via a toggle icon
- Links scroll to
Home,About,Features,Pricing,FAQ, andContact.
- Custom resizable navbar component with:
-
About section
- Two-column layout with copy on one side and an image on the other using
next/image. - Shows a “founders at work” style photo from the
public/folder.
- Two-column layout with copy on one side and an image on the other using
-
Features section
- Grid of cards using shadcn
Card. - Each card has:
- Numbered badge
- Title and description
- Subtle hover elevation + border highlight
- Animated on scroll with Framer Motion.
- Grid of cards using shadcn
-
Pricing section
- Three-column pricing table (
Starter,Growth,Scale). - Middle plan marked as Popular and visually highlighted:
- Larger elevation/shadow
- Slight vertical lift on desktop
- Each plan includes:
- Price per month
- CTA “Get Started” button
- Feature list with check icons.
- Three-column pricing table (
-
FAQ section
- Accordion-based FAQ using shadcn
Accordion,AccordionItem,AccordionTrigger, andAccordionContent. - Four sample questions covering onboarding, timelines, and growth.
- Accordion-based FAQ using shadcn
-
Contact section
- Contact form built with shadcn
Input,Textarea, andButton. - Fields: Name, Email, Tell us about your startup.
- Styled inside a
Cardfor a clean, focused form. - Backed by a minimal API route (
app/api/contact/route.ts) that:- Validates required fields
- Is ready to be wired into email and WhatsApp integrations later.
- Contact form built with shadcn
-
Scroll-to-top control
- Fixed “back to top” icon button in the bottom-left corner.
- Smooth-scrolls back to the hero when clicked.
-
Theming & typography
- Custom neutral dark theme wired via CSS variables in
app/globals.css. - Uses
GeistandFenixfonts withnext/font.
- Custom neutral dark theme wired via CSS variables in
- Framework: Next.js 16 (App Router)
- Styling: Tailwind CSS (v4-style
@import "tailwindcss"+ design tokens inglobals.css) - UI Components: shadcn/ui
- Animation: framer-motion
- Notifications: Sonner for toasts
- Icons: lucide-react
- Custom Canvas Effect:
simplex-noisefor hero waves - Forms & API: Next.js Route Handler (
app/api/contact/route.ts)
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
Key project entry points:
app/page.tsx— main landing page layout and sectionsapp/api/contact/route.ts— backend route for the contact formcomponents/ui/*— reusable UI components (navbar, cards, accordion, wavy background, encrypted text, etc.)app/globals.css— theme tokens (background, primary, text colors, radii)
This project is intended for practice, but it can be deployed easily to Vercel:
- Push the repo to GitHub.
- Create a new project in Vercel and select this repo.
- Use the default Next.js settings (
npm run buildas the build command).
Vercel will run the build and host both the static pages and the /api/contact route.
This is a learning project, so there are plenty of possible upgrades:
- Wire the contact form to a real email provider (Resend, SendGrid, etc.) and WhatsApp notifications.
- Add real authentication and a dashboard.
- Expand the FAQ and add a blog/updates section.
- Improve accessibility audits (ARIA labels, keyboard nav, color contrast).
Feel free to clone this repo, customize it, and use it as a starting point for your own SaaS landing pages.
