diff --git a/.gitignore b/.gitignore index 5ef6a520780202a1d6addd833d800ccb1ecac0bb..9a711da105e3d5d3afbb00d695448688857be280 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,9 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + +# temp files & assets +/temp_lobe_icons/ +/icons_list.txt +/*.tgz + diff --git a/PROJECT_STATUS.md b/PROJECT_STATUS.md new file mode 100644 index 0000000000000000000000000000000000000000..e0781be9fb6764bfcb971c787a5bd0b7817e5ad4 --- /dev/null +++ b/PROJECT_STATUS.md @@ -0,0 +1,51 @@ +# Project Status & Workspace Context (للأجهزة والمطورين // For Developers & AI Agents) + +This file outlines the current phase, purpose, and audience of the **HubAPI** workspace. Please read this before modifying, planning, or auditing the codebase. + +--- + +## 🏗️ Current Project Status // حالة المشروع الحالية +* **Status**: Under Construction / Pre-Launch Phase (تحت الإنشاء / مرحلة ما قبل الإطلاق). +* **Current Core**: This repository contains the marketing **Landing Page & Waitlist Queue** (صفحة هبوط تسويقية ونظام تسجيل قائمة الانتظار). +* **Backend Status**: The core neural gateway routing engine, backend microservices, and databases are currently under development in separate environments. The metrics, server health status, and live connection logs shown on this page are highly optimized front-end simulations designed for presentation and high-fidelity preview. + +--- + +## 🚀 Core Project Goals // أهداف المشروع الأساسية +This project aims to build a unified ecosystem with two key offerings: +1. **LLM Provider API Key & Subscription Marketplace (منصة بيع مفاتيح وحسابات واشتراكات مزودي الذكاء الاصطناعي)**: + * A platform to purchase, manage, and subscribe to API keys, developer accounts, and premium rate-limit access for top-tier LLM providers (e.g., OpenAI, Anthropic, Google Gemini, Cohere, etc.). +2. **Agentic OS (برنامج نظام التشغيل الموجه للوكلاء الذكيين)**: + * Building a comprehensive agent-based operating system designed to run, coordinate, audit, and orchestrate autonomous AI agents seamlessly across computing environments. + +--- + +## 🎯 Target Audience // الفئات المستهدفة +This landing page is designed to market HubAPI to: +1. **Enterprises & Corporations (الشركات والمؤسسات)**: Seeking to cut LLM latency and costs by 40% using dynamic, automated model routing. +2. **Developers & Teams (المطورون وفرق العمل)**: Needing a single API endpoint with fallback capabilities, automatic retry policies, and zero code changes. +3. **Individuals & Enthusiasts (الأفراد والمهتمين)**: Wanting to access state-of-the-art model orchestration. + +--- + +## 🤖 Instructions for AI Agents & Developers // تعليمات للمطورين والوكلاء الذكيين +If you are an LLM Agent (such as Claude, GPT, or Gemini) or a developer onboarding this repository: + +1. **Design Integrity**: + * This project uses a premium dark-theme cybernetic layout (Gold/Orange `#ffaa40` accents, Cyber-glass frames, and dynamic blur glows). + * Do not introduce bright, generic colors or violate the existing typography systems. +2. **Performance Constraints**: + * The **Dotted World Map** is custom-translated and memoized to render efficiently. Do NOT reintroduce standard GeoJSON packages or heavy rendering libraries. Keep map hover latency under `1ms`. + * Keep state updates in check (e.g., stats counter ticks should be limited to 4–6 times per second to prevent high CPU utilization). +3. **Clean Console Goal**: + * Keep the browser DevTools Console completely free of warnings and errors (0 console warnings). Ensure Framer Motion components have defined `initial` states to avoid interpolation warnings. +4. **Robot Placement**: + * The flying robot (`/final-robot.png`) has pre-rendered thruster nozzles on its thighs. Its dynamic cyan/blue plasma flames, falling sparks, and masked color-dodge body reflections are positioned at the thigh-level (`bottom-[33.5%]`) for physics-aligned logic. Do not shift them to the boots/feet. + +--- + +## 📁 Key Directories // هيكل المجلدات الرئيسي +* `components/`: Contains UI elements (e.g., `hero-section.tsx`, `DottedMap.tsx`, `logo.tsx`). +* `app/`: Next.js App Router (standard page routes). +* `data/`: Core static configurations (e.g., `llm-provider-icons.ts` for the 3D tag cloud). +* `public/`: Static assets (images, fonts, pre-rendered models). diff --git a/README.md b/README.md index e215bc4ccf138bbc38ad58ad57e92135484b3c0f..a220c259c984d1bc79c491e0311cb18eff50f4e9 100644 --- a/README.md +++ b/README.md @@ -1,36 +1,47 @@ -This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app). - -## Getting Started - -First, run the development server: - -```bash -npm run dev -# or -yarn dev -# or -pnpm dev -# or -bun dev +# HubAPI + +> [!IMPORTANT] +> **Project Status Notice**: This project is currently **under construction**. The repository contains the pre-launch marketing **Landing Page & Waitlist Queue** targeting enterprises, institutions, developers, and individuals. +> +> The core goals of this project are: +> 1. **LLM Provider API Key & Subscription Marketplace**: A marketplace to buy and manage developer accounts, API keys, and premium subscriptions of AI LLM providers. +> 2. **Agentic OS**: Building a state-of-the-art operating system program designed to deploy, orchestrate, and coordinate autonomous AI agents. +> +> For onboarding context, detailed design guidelines, and codebase architecture for developers and AI agents, please read [PROJECT_STATUS.md](file:///d:/Prelunch-ui/hubapi/PROJECT_STATUS.md). + +Welcome to the HubAPI project! This landing page serves as the entry point for HubAPI and showcases the vast ecosystem of LLM providers we support using a dynamic 3D Icon Cloud. + +## Adding New LLM Providers + +The 3D Icon Cloud draws its data from a central configuration file. To add new LLM providers to the cloud, you need to update `data/llm-provider-icons.ts`. + +### 1. Locate the Data File +Open `data/llm-provider-icons.ts` in your editor. + +### 2. Identify the Provider's Slug +We use high-quality SVG icons from the [Lobe Hub icons repository](https://github.com/lobehub/lobe-icons/tree/master/packages/static-svg/icons). +The `slug` you use must perfectly match the filename of the SVG in that repository (excluding the `.svg` extension). + +For example, if the Lobe Hub URL is `https://unpkg.com/@lobehub/icons-static-svg@latest/icons/openai.svg`, the slug is `"openai"`. + +### 3. Add the Slug to the Desired Group +In `llm-provider-icons.ts`, find the `llmProviderGroups` array. It looks like this: + +```typescript +export const llmProviderGroups: LLMProviderGroup[] = [ + { + title: "Proprietary Giants", + slugs: ["openai", "anthropic", "google", /* ... */], + }, + { + title: "Open Source Leaders", + slugs: ["meta", "mistral", "cohere", /* ... */], + }, + // ... +]; ``` -Open [http://localhost:3000](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. - -This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. +Simply add your new slug to the appropriate group's `slugs` array. If the provider is very prominent, you might also want to add it to the `featuredLLMProviderSlugs` array near the top of the file so it shows up in the default "Featured" view. -Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details. +### 4. Verify +Start the development server (`npm run dev`) and navigate to the landing page. Click on the corresponding tab to verify that the new icon renders correctly in the 3D cloud. If the icon shows up as a fallback circle or broken image, double-check that the slug matches the Lobe Hub SVG filename exactly. diff --git a/app/fonts/FastHand.otf b/app/fonts/FastHand.otf new file mode 100644 index 0000000000000000000000000000000000000000..91f1587a5d214aea9488538873d76f455e55386a Binary files /dev/null and b/app/fonts/FastHand.otf differ diff --git a/app/globals.css b/app/globals.css index a2dc41ecee5ec435200fe7cba2bde4107f823774..89801086c6241fe8e3bc2e9a2d38670ac2b3496f 100644 --- a/app/globals.css +++ b/app/globals.css @@ -1,26 +1,495 @@ @import "tailwindcss"; +@import "tw-animate-css"; +@import "shadcn/tailwind.css"; -:root { - --background: #ffffff; - --foreground: #171717; +@custom-variant dark (&:is(.dark *)); + +@theme { + --color-primary: var(--primary); + --color-accent: var(--accent); + --color-brand-gold: var(--brand-gold); + --color-brand-rose: var(--brand-rose); + --color-brand-purple: var(--brand-purple); + + --font-sans: var(--font-sans); + --font-mono: var(--font-geist-mono); + --font-bebas: var(--font-bebas-neue); + --font-display: var(--font-display); +} + +body { + background: var(--color-background); + color: var(--color-foreground); + font-family: var(--font-sans); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } @theme inline { - --color-background: var(--background); + --font-heading: var(--font-sans); + --font-sans: var(--font-sans); + --color-sidebar-ring: var(--sidebar-ring); + --color-sidebar-border: var(--sidebar-border); + --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); + --color-sidebar-accent: var(--sidebar-accent); + --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); + --color-sidebar-primary: var(--sidebar-primary); + --color-sidebar-foreground: var(--sidebar-foreground); + --color-sidebar: var(--sidebar); + --color-chart-5: var(--chart-5); + --color-chart-4: var(--chart-4); + --color-chart-3: var(--chart-3); + --color-chart-2: var(--chart-2); + --color-chart-1: var(--chart-1); + --color-ring: var(--ring); + --color-input: var(--input); + --color-border: var(--border); + --color-destructive: var(--destructive); + --color-accent-foreground: var(--accent-foreground); + --color-accent: var(--accent); + --color-muted-foreground: var(--muted-foreground); + --color-muted: var(--muted); + --color-secondary-foreground: var(--secondary-foreground); + --color-secondary: var(--secondary); + --color-primary-foreground: var(--primary-foreground); + --color-primary: var(--primary); + --color-popover-foreground: var(--popover-foreground); + --color-popover: var(--popover); + --color-card-foreground: var(--card-foreground); + --color-card: var(--card); --color-foreground: var(--foreground); - --font-sans: var(--font-geist-sans); - --font-mono: var(--font-geist-mono); + --color-background: var(--background); + --radius-sm: calc(var(--radius) * 0.6); + --radius-md: calc(var(--radius) * 0.8); + --radius-lg: var(--radius); + --radius-xl: calc(var(--radius) * 1.4); + --radius-2xl: calc(var(--radius) * 1.8); + --radius-3xl: calc(var(--radius) * 2.2); + --radius-4xl: calc(var(--radius) * 2.6); + --animate-marquee: marquee var(--duration) infinite linear; + --animate-marquee-vertical: marquee-vertical var(--duration) linear infinite; + @keyframes marquee { + from { + transform: translateX(0); + } + to { + transform: translateX(calc(-100% - var(--gap))); + } + } + @keyframes marquee-vertical { + from { + transform: translateY(0); + } + to { + transform: translateY(calc(-100% - var(--gap))); + } + } + --animate-shine: shine var(--duration) infinite linear; + --animate-shimmer-slide: shimmer-slide var(--speed) ease-in-out infinite alternate; + --animate-spin-around: spin-around calc(var(--speed) * 2) infinite linear; + + @keyframes shine { + 0% { + background-position: 0% 0%; + } + 50% { + background-position: 100% 100%; + } + to { + background-position: 0% 0%; + } + } + + @keyframes shimmer-slide { + to { + transform: translate(calc(100cqw - 100%), 0); + } + } + + @keyframes spin-around { + 0% { + transform: translateZ(0) rotate(0); + } + 15%, 35% { + transform: translateZ(0) rotate(90deg); + } + 65%, 85% { + transform: translateZ(0) rotate(270deg); + } + 100% { + transform: translateZ(0) rotate(360deg); + } + } +} + +:root { + --background: oklch(0.985 0.006 85); /* Premium warm champagne mist */ + --foreground: oklch(0.12 0.01 85); /* Rich Espresso Obsidian */ + + /* Absolute Inversion Principle: Card backgrounds are dark space obsidian in Light Mode */ + --card: oklch(0.11 0.01 250); + --card-foreground: oklch(0.98 0.005 85); /* Champagne Silver (light text) */ + --card-muted-foreground: oklch(0.72 0.005 85); /* High-contrast champagne muted text */ + --card-muted: oklch(0.08 0.008 250 / 80%); + --card-border: oklch(0.98 0.005 85 / 15%); + + --popover: oklch(0.11 0.01 250); + --popover-foreground: oklch(0.98 0.005 85); + --primary: oklch(0.35 0.12 65); /* Deep Rich Luxury Gold (Light Mode outside cards) */ + --primary-foreground: oklch(0.985 0.006 85); + --secondary: oklch(0.95 0.006 85); + --secondary-foreground: oklch(0.12 0.01 85); + --muted: oklch(0.94 0.006 85); + --muted-foreground: oklch(0.42 0.01 85); /* Increased contrast */ + --accent: oklch(0.35 0.12 65); + --accent-foreground: oklch(0.985 0.006 85); + --destructive: oklch(0.577 0.245 27.325); + --border: oklch(0.12 0.01 85 / 14%); /* Soft, technical high-contrast border */ + --input: oklch(0.12 0.01 85 / 12%); + --ring: oklch(0.35 0.12 65 / 35%); + --chart-1: oklch(0.87 0 0); + --chart-2: oklch(0.556 0 0); + --chart-3: oklch(0.439 0 0); + --chart-4: oklch(0.371 0 0); + --chart-5: oklch(0.269 0 0); + --radius: 0.625rem; + --sidebar: oklch(0.985 0 0); + --sidebar-foreground: oklch(0.145 0 0); + --sidebar-primary: oklch(0.205 0 0); + --sidebar-primary-foreground: oklch(0.985 0 0); + --sidebar-accent: oklch(0.97 0 0); + --sidebar-accent-foreground: oklch(0.205 0 0); + --sidebar-border: oklch(0.922 0 0); + --sidebar-ring: oklch(0.708 0 0); + + /* Theme-consistent secondary variables */ + --brand-gold: oklch(0.35 0.12 65); + --brand-rose: oklch(0.58 0.18 10); + --brand-purple: oklch(0.52 0.18 290); + + --primary-glow: oklch(0.35 0.12 65 / 18%); + --color-grid-line: rgba(0, 0, 0, 0.022); + + /* Absolute Inversion Elements: solid high-contrast dark buttons in Light Mode */ + --button-bg: oklch(0.12 0.01 85); /* Rich Espresso Obsidian */ + --button-text: oklch(0.985 0.006 85); /* Premium warm champagne mist (light text) */ + --button-border: oklch(0.12 0.01 85 / 15%); + --button-shimmer: oklch(0.35 0.12 65); /* Elegant Bronze Gold shimmer */ + + --card-contrast-border: oklch(0.98 0.005 85 / 15%); + --menu-contrast-border: oklch(0.98 0.005 85 / 18%); + --menu-shadow: 0 10px 40px rgba(0, 0, 0, 0.45); } -@media (prefers-color-scheme: dark) { - :root { - --background: #0a0a0a; - --foreground: #ededed; +.dark { + --background: oklch(0.06 0.008 250); /* Space Obsidian Navy (Deep Indigo-Black) */ + --foreground: oklch(0.98 0.005 85); /* Champagne Silver */ + + /* Absolute Inversion Principle: Card backgrounds are warm champagne light in Dark Mode */ + --card: oklch(0.96 0.008 85); + --card-foreground: oklch(0.12 0.01 85); /* Rich Espresso Obsidian (dark text) */ + --card-muted-foreground: oklch(0.42 0.01 85); /* Medium Espresso Dark Muted Text */ + --card-muted: oklch(0.94 0.006 85 / 80%); + --card-border: oklch(0.12 0.01 85 / 10%); + + --popover: oklch(0.96 0.008 85); + --popover-foreground: oklch(0.12 0.01 85); + --primary: oklch(0.82 0.12 85); /* Radiant Glowing Champagne Gold (Dark Mode outside cards) */ + --primary-foreground: oklch(0.06 0.008 250); + --secondary: oklch(0.12 0.008 250); + --secondary-foreground: oklch(0.98 0.005 85); + --muted: oklch(0.09 0.008 250); + --muted-foreground: oklch(0.72 0.005 85); /* Increased contrast */ + --accent: oklch(0.82 0.12 85); + --accent-foreground: oklch(0.06 0.008 250); + --destructive: oklch(0.704 0.191 22.216); + --border: oklch(1 0 0 / 12%); /* Slightly more defined */ + --input: oklch(1 0 0 / 12%); + --ring: oklch(0.82 0.12 85 / 35%); + --chart-1: oklch(0.87 0 0); + --chart-2: oklch(0.556 0 0); + --chart-3: oklch(0.439 0 0); + --chart-4: oklch(0.371 0 0); + --chart-5: oklch(0.269 0 0); + --sidebar: oklch(0.05 0 0); + --sidebar-foreground: oklch(0.985 0 0); + --sidebar-primary: oklch(0.488 0.243 264.376); + --sidebar-primary-foreground: oklch(0.985 0 0); + --sidebar-accent: oklch(0.08 0 0); + --sidebar-accent-foreground: oklch(0.985 0 0); + --sidebar-border: oklch(1 0 0 / 8%); + --sidebar-ring: oklch(0.556 0 0); + + /* Theme-consistent secondary variables */ + --brand-gold: oklch(0.82 0.12 85); + --brand-rose: oklch(0.78 0.14 15); + --brand-purple: oklch(0.75 0.15 285); + + --primary-glow: oklch(0.82 0.12 85 / 38%); + --color-grid-line: rgba(255, 255, 255, 0.02); + + /* Absolute Inversion Elements: solid glowing light gold buttons in Dark Mode */ + --button-bg: oklch(0.82 0.12 85); /* Radiant Glowing Champagne Gold */ + --button-text: oklch(0.06 0.008 250); /* Space Obsidian Navy (dark text) */ + --button-border: oklch(0.82 0.12 85 / 40%); + --button-shimmer: #ffffff; /* Radiant white shimmer */ + + --card-contrast-border: oklch(0.12 0.01 85 / 15%); + --menu-contrast-border: oklch(0.12 0.01 85 / 12%); + --menu-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); +} + +@layer base { + * { + @apply border-border outline-ring/50; + } + body { + @apply bg-background text-foreground; + } + html { + @apply font-sans; + scrollbar-width: thin; + scrollbar-color: rgba(255, 170, 64, 0.3) rgba(0, 0, 0, 0.1); + } + + /* Webkit custom scrollbars with primary orange hue */ + ::-webkit-scrollbar { + width: 8px; + height: 8px; + } + ::-webkit-scrollbar-track { + background: var(--background); + } + ::-webkit-scrollbar-thumb { + background: rgba(255, 170, 64, 0.25); + border-radius: 4px; + border: 2px solid var(--background); + } + ::-webkit-scrollbar-thumb:hover { + background: rgba(255, 170, 64, 0.45); } } -body { - background: var(--background); - color: var(--foreground); - font-family: Arial, Helvetica, sans-serif; +@layer utilities { + .font-fast-hand { + font-family: var(--font-fast-hand), sans-serif; + } +} + +:root { + /* Vercel Design System Colors */ + --ds-background-100: #ffffff; + --ds-background-200: #fafafa; + --ds-gray-100: #f5f5f5; + --ds-gray-200: #e5e5e5; + --ds-gray-300: #d4d4d4; + --ds-gray-400: #a3a3a3; + --ds-gray-500: #737373; + --ds-gray-600: #525252; + --ds-gray-700: #404040; + --ds-gray-800: #262626; + --ds-gray-900: #737373; + --ds-gray-1000: #0a0a0a; + --ds-gray-alpha-100: rgba(0, 0, 0, 0.05); + --ds-gray-alpha-200: rgba(0, 0, 0, 0.1); + --ds-gray-alpha-400: rgba(0, 0, 0, 0.2); + --ds-gray-alpha-600: rgba(0, 0, 0, 0.4); +} + +.dark { + --ds-background-100: #000000; + --ds-background-200: #171717; + --ds-gray-100: #262626; + --ds-gray-200: #333333; + --ds-gray-300: #404040; + --ds-gray-400: #525252; + --ds-gray-500: #737373; + --ds-gray-600: #a3a3a3; + --ds-gray-700: #d4d4d4; + --ds-gray-800: #e5e5e5; + --ds-gray-900: #a1a1aa; + --ds-gray-1000: #fafafa; + --ds-gray-alpha-100: rgba(255, 255, 255, 0.05); + --ds-gray-alpha-200: rgba(255, 255, 255, 0.1); + --ds-gray-alpha-400: rgba(255, 255, 255, 0.2); + --ds-gray-alpha-600: rgba(255, 255, 255, 0.4); } + +.bg-gray-alpha-100 { + background-color: var(--ds-gray-alpha-100); +} + +.text-gray-900 { + color: var(--ds-gray-900); +} + +.text-gray-1000 { + color: var(--ds-gray-1000); +} + +.rsm-svg { + width: 100%; + height: auto; +} + +.rsm-geographies path { + transition: fill 0.15s ease; +} + +.tabular-nums { + font-variant-numeric: tabular-nums; +} + +/* Premium Neo-Futuristic Visual Utilities */ +@keyframes cyber-pulse-glow { + 0%, 100% { + opacity: 0.15; + filter: blur(80px) scale(1); + } + 50% { + opacity: 0.25; + filter: blur(100px) scale(1.1); + } +} + +/* Premium Dark Grain Overlay */ +.noise-grain { + position: fixed; + inset: 0; + z-index: -30; + opacity: 0.035; + pointer-events: none; + background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); +} + +/* Subtle micro-glows & typography */ +.text-glow { + text-shadow: 0 0 12px rgba(255, 170, 64, 0.2); +} + +.text-glow-accent { + text-shadow: 0 0 12px rgba(255, 170, 64, 0.35); +} + +/* Premium card hover borders */ +.premium-glow-card { + position: relative; + transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); + border: 1px solid var(--card-border); + background-color: var(--card); + color: var(--card-foreground); + --foreground: var(--card-foreground); + --muted-foreground: var(--card-muted-foreground); + --muted: var(--card-muted); + --border: var(--card-border); + box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); +} + +.dark .premium-glow-card { + box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2); +} + +.premium-glow-card:hover { + border-color: rgba(255, 170, 64, 0.2); + box-shadow: 0 10px 40px rgba(255, 170, 64, 0.03), 0 0 0 1px rgba(255, 170, 64, 0.1); +} + +/* Sci-fi Corner Brackets */ +.corner-bracket { + position: relative; +} +.corner-bracket::before, +.corner-bracket::after, +.corner-bracket-inner::before, +.corner-bracket-inner::after { + content: ""; + position: absolute; + width: 8px; + height: 8px; + border-color: rgba(255, 170, 64, 0.4); + border-style: solid; + pointer-events: none; + z-index: 10; + transition: border-color 0.3s ease; +} +.dark .corner-bracket::before, +.dark .corner-bracket::after, +.dark .corner-bracket-inner::before, +.dark .corner-bracket-inner::after { + border-color: rgba(255, 170, 64, 0.6); +} + +/* Top-Left */ +.corner-bracket::before { + top: 0; + left: 0; + border-width: 1.5px 0 0 1.5px; +} +/* Top-Right */ +.corner-bracket::after { + top: 0; + right: 0; + border-width: 1.5px 1.5px 0 0; +} +/* Bottom-Left */ +.corner-bracket-inner::before { + bottom: 0; + left: 0; + border-width: 0 0 1.5px 1.5px; +} +/* Bottom-Right */ +.corner-bracket-inner::after { + bottom: 0; + right: 0; + border-width: 0 1.5px 1.5px 0; +} + + + +/* Premium Glassmorphic responsive cards */ +.premium-glass-card { + position: relative; + transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); + border: 1px solid var(--card-border); + background-color: var(--card); + color: var(--card-foreground); + --foreground: var(--card-foreground); + --muted-foreground: var(--card-muted-foreground); + --muted: var(--card-muted); + --border: var(--card-border); + backdrop-filter: blur(16px) saturate(120%); + -webkit-backdrop-filter: blur(16px) saturate(120%); +} + +.premium-glass-card:hover { + border-color: var(--primary); + box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04), 0 0 0 1px var(--primary); +} + +.dark .premium-glass-card:hover { + box-shadow: 0 15px 40px rgba(255, 170, 64, 0.03), 0 0 0 1px rgba(255, 170, 64, 0.15); +} + +/* Inverted Card Local Scoping Utility */ +.inverted-card { + background-color: var(--card) !important; + color: var(--card-foreground) !important; + --foreground: var(--card-foreground); + --muted-foreground: var(--card-muted-foreground); + --muted: var(--card-muted); + --border: var(--card-border); + border-color: var(--card-border) !important; +} + +/* Dynamic Local Primary Scoping for Inverted Containers */ +.inverted-card, .premium-glass-card, .premium-glow-card { + --primary: oklch(0.82 0.12 85); /* Radiant Glowing Champagne Gold inside dark cards */ + --primary-foreground: oklch(0.06 0.008 250); /* Dark text on light gold button inside dark cards */ + --primary-glow: oklch(0.82 0.12 85 / 35%); +} + +.dark .inverted-card, .dark .premium-glass-card, .dark .premium-glow-card { + --primary: oklch(0.35 0.12 65); /* Deep Rich Luxury Gold inside light cards */ + --primary-foreground: oklch(0.985 0.006 85); /* Light text on dark gold button inside light cards */ + --primary-glow: oklch(0.35 0.12 65 / 18%); +} \ No newline at end of file diff --git a/app/layout.tsx b/app/layout.tsx index 976eb90df142ef2c4f3f39cee8b0e4c4f4771b62..c9ea1fa49269c58a24e8c582b2237feea887ada5 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,33 +1,117 @@ import type { Metadata } from "next"; -import { Geist, Geist_Mono } from "next/font/google"; +import { Geist_Mono, Geist, Instrument_Serif } from "next/font/google"; +import localFont from "next/font/local"; import "./globals.css"; +import { Header } from "@/components/header"; +import { Footer } from "@/components/footer"; +import { cn } from "@/lib/utils"; +import { ThemeProvider } from "@/components/theme-provider"; -const geistSans = Geist({ - variable: "--font-geist-sans", - subsets: ["latin"], -}); +const geist = Geist({subsets:['latin'],variable:'--font-sans'}); const geistMono = Geist_Mono({ variable: "--font-geist-mono", subsets: ["latin"], }); +const instrumentSerif = Instrument_Serif({ + variable: "--font-display", + subsets: ["latin"], + weight: "400", +}); + +const fastHand = localFont({ + src: "./fonts/FastHand.otf", + variable: "--font-fast-hand", +}); + export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + metadataBase: new URL("https://hubapi.dev"), + title: "HUBAPI — Pre-launch | API Automation Platform", + description: "Join the HUBAPI waitlist for early access to the API automation platform. Secure agent routing, scoped access keys, and observable workflows.", + openGraph: { + title: "HUBAPI — The Neural API Gateway", + description: "One gateway. Every model. Full control. Cut your AI costs by 40% with zero code changes.", + url: "https://hubapi.dev", + siteName: "HUBAPI", + images: [ + { + url: "/og-image.png", + width: 1200, + height: 630, + alt: "HUBAPI — The Neural API Gateway", + }, + ], + type: "website", + }, + twitter: { + card: "summary_large_image", + title: "HUBAPI — The Neural API Gateway", + description: "One gateway. Every model. Full control. Cut your AI costs by 40% with zero code changes.", + images: ["/og-image.png"], + }, }; +import { SplitFlapAudioProvider } from "@/components/ui/split-flap-text"; +import { WaitlistSocialProofTicker } from "@/components/WaitlistSocialProofTicker"; + export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { return ( - - {children} + + + + + {/* JSON-LD Organization Schema for SEO */} +