diff --git a/ui/homepage/.gitignore b/ui/homepage/.gitignore new file mode 100644 index 0000000..a1c88e9 --- /dev/null +++ b/ui/homepage/.gitignore @@ -0,0 +1,18 @@ + +# Build output +.next/ +out/ + +# Dependencies +node_modules/ + +# Logs +*.log + +# OS junk +.DS_Store + +# Editor junk +.vscode/ +.idea/ + diff --git a/ui/homepage/Makefile b/ui/homepage/Makefile new file mode 100644 index 0000000..41ebb2a --- /dev/null +++ b/ui/homepage/Makefile @@ -0,0 +1,34 @@ +# Makefile for src/homepage (Next.js static site) + +SHELL := /bin/bash +NODE_VERSION := $(shell node -v 2>/dev/null) +YARN := $(shell command -v yarn 2>/dev/null) + +.PHONY: init dev build export clean info + +init: + @echo "🔧 Installing dependencies for homepage..." + @if [ -z "$(YARN)" ]; then \ + echo "⚠️ Yarn not found. Installing via Homebrew..."; \ + brew install yarn; \ + fi + yarn install + +dev: + @echo "🚀 Starting Next.js dev server (homepage)..." + yarn next dev -p 3001 + +build: + @echo "🔨 Building homepage..." + yarn next build + +export: + @echo "📦 Exporting homepage static site to ./out ..." + yarn next build && yarn next export + +clean: + @echo "🧹 Cleaning .next and out directories..." + rm -rf .next out + +info: + @echo "🧾 Node.js version: $(NODE_VERSION)" diff --git a/ui/homepage/app/globals.css b/ui/homepage/app/globals.css new file mode 100644 index 0000000..ab47fbb --- /dev/null +++ b/ui/homepage/app/globals.css @@ -0,0 +1,12 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +:root { + --font-geist-sans: 'Geist', sans-serif; + --font-geist-mono: 'Geist Mono', monospace; +} + +body { + font-family: var(--font-geist-sans); +} diff --git a/ui/homepage/app/layout.tsx b/ui/homepage/app/layout.tsx new file mode 100644 index 0000000..e69de29 diff --git a/ui/homepage/app/page.tsx b/ui/homepage/app/page.tsx new file mode 100644 index 0000000..b969f22 --- /dev/null +++ b/ui/homepage/app/page.tsx @@ -0,0 +1,21 @@ +import Hero from '@components/Hero' +import Features from '@components/Features' +import OpenSource from '@components/OpenSource' +import DownloadSection from '@components/DownloadSection' +import Footer from '@components/Footer' +import NavBar from '@components/NavBar' + +export default function Page() { + return ( + <> + +
+ + + + +
+