From d588f5fd9357af4947b81123ea133e0ba14ba409 Mon Sep 17 00:00:00 2001 From: ashim-hq Date: Thu, 23 Apr 2026 18:32:26 +0800 Subject: [PATCH] feat: redesign navbar with Features, Download, API, Pricing, Docs, About, Contact links, GitHub star button, and Book a Demo CTA --- apps/landing/src/components/api-callout.tsx | 2 +- apps/landing/src/components/how-it-works.tsx | 2 +- apps/landing/src/components/navbar.tsx | 101 ++++++++++++------- apps/landing/src/components/open-source.tsx | 2 +- 4 files changed, 70 insertions(+), 37 deletions(-) diff --git a/apps/landing/src/components/api-callout.tsx b/apps/landing/src/components/api-callout.tsx index f923a8dc..04806c50 100644 --- a/apps/landing/src/components/api-callout.tsx +++ b/apps/landing/src/components/api-callout.tsx @@ -18,7 +18,7 @@ const response = `{ export function ApiCallout() { return ( -
+

diff --git a/apps/landing/src/components/how-it-works.tsx b/apps/landing/src/components/how-it-works.tsx index 6ae652f7..b71a1aec 100644 --- a/apps/landing/src/components/how-it-works.tsx +++ b/apps/landing/src/components/how-it-works.tsx @@ -23,7 +23,7 @@ const steps = [ export function HowItWorks() { return ( -
+

diff --git a/apps/landing/src/components/navbar.tsx b/apps/landing/src/components/navbar.tsx index 3736b662..94616bee 100644 --- a/apps/landing/src/components/navbar.tsx +++ b/apps/landing/src/components/navbar.tsx @@ -1,13 +1,16 @@ "use client"; -import { Github, Menu, X } from "lucide-react"; +import { Github, Menu, Star, X } from "lucide-react"; import { useState } from "react"; const links = [ { label: "Features", href: "#features" }, - { label: "Enterprise", href: "#enterprise" }, + { label: "Download", href: "#how-it-works" }, + { label: "API", href: "#api" }, + { label: "Pricing", href: "#enterprise" }, { label: "Docs", href: "https://docs.snapotter.com" }, - { label: "GitHub", href: "https://github.com/ashim-hq/ashim", icon: Github }, + { label: "About", href: "#open-source" }, + { label: "Contact", href: "mailto:contact@snapotter.com" }, ]; export function Navbar() { @@ -23,36 +26,48 @@ export function Navbar() { SnapOtter -
- {links.map((item) => { - const Icon = item.icon; - return ( - - {Icon && } - {item.label} - - ); - })} +
+ {links.map((item) => ( + + {item.label} + + ))}
-
+
{open && ( -
- {links.map((link) => ( + )} diff --git a/apps/landing/src/components/open-source.tsx b/apps/landing/src/components/open-source.tsx index a1a1f8dc..1a16e5a9 100644 --- a/apps/landing/src/components/open-source.tsx +++ b/apps/landing/src/components/open-source.tsx @@ -3,7 +3,7 @@ import { FadeIn } from "./fade-in"; export function OpenSource() { return ( -
+

Open source. Always.