From 622a26ecca600ee6886b8787efe6bc8ed84d051a Mon Sep 17 00:00:00 2001 From: aguitauwu Date: Sat, 7 Feb 2026 19:52:49 -0600 Subject: [PATCH] yuuki web init --- .gitignore | 27 + app/globals.css | 88 +++ app/layout.tsx | 46 ++ app/page.tsx | 43 ++ components.json | 21 + components/theme-provider.tsx | 11 + components/ui/accordion.tsx | 66 +++ components/ui/alert-dialog.tsx | 157 ++++++ components/ui/alert.tsx | 66 +++ components/ui/aspect-ratio.tsx | 11 + components/ui/avatar.tsx | 53 ++ components/ui/badge.tsx | 46 ++ components/ui/breadcrumb.tsx | 109 ++++ components/ui/button-group.tsx | 83 +++ components/ui/button.tsx | 60 ++ components/ui/calendar.tsx | 213 ++++++++ components/ui/card.tsx | 92 ++++ components/ui/carousel.tsx | 241 ++++++++ components/ui/chart.tsx | 353 ++++++++++++ components/ui/checkbox.tsx | 32 ++ components/ui/collapsible.tsx | 33 ++ components/ui/command.tsx | 184 +++++++ components/ui/context-menu.tsx | 252 +++++++++ components/ui/dialog.tsx | 143 +++++ components/ui/drawer.tsx | 135 +++++ components/ui/dropdown-menu.tsx | 257 +++++++++ components/ui/empty.tsx | 104 ++++ components/ui/field.tsx | 244 +++++++++ components/ui/form.tsx | 167 ++++++ components/ui/hover-card.tsx | 44 ++ components/ui/input-group.tsx | 169 ++++++ components/ui/input-otp.tsx | 77 +++ components/ui/input.tsx | 21 + components/ui/item.tsx | 193 +++++++ components/ui/kbd.tsx | 28 + components/ui/label.tsx | 24 + components/ui/menubar.tsx | 276 ++++++++++ components/ui/navigation-menu.tsx | 166 ++++++ components/ui/pagination.tsx | 127 +++++ components/ui/popover.tsx | 48 ++ components/ui/progress.tsx | 31 ++ components/ui/radio-group.tsx | 45 ++ components/ui/resizable.tsx | 56 ++ components/ui/scroll-area.tsx | 58 ++ components/ui/select.tsx | 185 +++++++ components/ui/separator.tsx | 28 + components/ui/sheet.tsx | 139 +++++ components/ui/sidebar.tsx | 726 +++++++++++++++++++++++++ components/ui/skeleton.tsx | 13 + components/ui/slider.tsx | 63 +++ components/ui/sonner.tsx | 25 + components/ui/spinner.tsx | 16 + components/ui/switch.tsx | 31 ++ components/ui/table.tsx | 116 ++++ components/ui/tabs.tsx | 66 +++ components/ui/textarea.tsx | 18 + components/ui/toast.tsx | 129 +++++ components/ui/toaster.tsx | 35 ++ components/ui/toggle-group.tsx | 73 +++ components/ui/toggle.tsx | 47 ++ components/ui/tooltip.tsx | 61 +++ components/ui/use-mobile.tsx | 19 + components/ui/use-toast.ts | 191 +++++++ components/yuuki/creator-section.tsx | 194 +++++++ components/yuuki/demo-section.tsx | 75 +++ components/yuuki/donate-section.tsx | 68 +++ components/yuuki/ecosystem-section.tsx | 181 ++++++ components/yuuki/footer.tsx | 86 +++ components/yuuki/hero.tsx | 96 ++++ components/yuuki/model-section.tsx | 181 ++++++ components/yuuki/navbar.tsx | 106 ++++ components/yuuki/stats-section.tsx | 153 ++++++ hooks/use-mobile.ts | 19 + hooks/use-toast.ts | 191 +++++++ lib/utils.ts | 6 + next.config.mjs | 11 + package.json | 73 +++ pnpm-lock.yaml | 5 + postcss.config.mjs | 8 + public/apple-icon.png | Bin 0 -> 2626 bytes public/icon-dark-32x32.png | Bin 0 -> 585 bytes public/icon-light-32x32.png | Bin 0 -> 566 bytes public/icon.svg | 26 + public/placeholder-logo.png | Bin 0 -> 568 bytes public/placeholder-logo.svg | 1 + public/placeholder-user.jpg | Bin 0 -> 1635 bytes public/placeholder.jpg | Bin 0 -> 1064 bytes public/placeholder.svg | 1 + styles/globals.css | 125 +++++ tsconfig.json | 27 + yuuki-astro-site.zip | Bin 0 -> 351886 bytes 91 files changed, 8314 insertions(+) create mode 100644 .gitignore create mode 100644 app/globals.css create mode 100644 app/layout.tsx create mode 100644 app/page.tsx create mode 100644 components.json create mode 100644 components/theme-provider.tsx create mode 100644 components/ui/accordion.tsx create mode 100644 components/ui/alert-dialog.tsx create mode 100644 components/ui/alert.tsx create mode 100644 components/ui/aspect-ratio.tsx create mode 100644 components/ui/avatar.tsx create mode 100644 components/ui/badge.tsx create mode 100644 components/ui/breadcrumb.tsx create mode 100644 components/ui/button-group.tsx create mode 100644 components/ui/button.tsx create mode 100644 components/ui/calendar.tsx create mode 100644 components/ui/card.tsx create mode 100644 components/ui/carousel.tsx create mode 100644 components/ui/chart.tsx create mode 100644 components/ui/checkbox.tsx create mode 100644 components/ui/collapsible.tsx create mode 100644 components/ui/command.tsx create mode 100644 components/ui/context-menu.tsx create mode 100644 components/ui/dialog.tsx create mode 100644 components/ui/drawer.tsx create mode 100644 components/ui/dropdown-menu.tsx create mode 100644 components/ui/empty.tsx create mode 100644 components/ui/field.tsx create mode 100644 components/ui/form.tsx create mode 100644 components/ui/hover-card.tsx create mode 100644 components/ui/input-group.tsx create mode 100644 components/ui/input-otp.tsx create mode 100644 components/ui/input.tsx create mode 100644 components/ui/item.tsx create mode 100644 components/ui/kbd.tsx create mode 100644 components/ui/label.tsx create mode 100644 components/ui/menubar.tsx create mode 100644 components/ui/navigation-menu.tsx create mode 100644 components/ui/pagination.tsx create mode 100644 components/ui/popover.tsx create mode 100644 components/ui/progress.tsx create mode 100644 components/ui/radio-group.tsx create mode 100644 components/ui/resizable.tsx create mode 100644 components/ui/scroll-area.tsx create mode 100644 components/ui/select.tsx create mode 100644 components/ui/separator.tsx create mode 100644 components/ui/sheet.tsx create mode 100644 components/ui/sidebar.tsx create mode 100644 components/ui/skeleton.tsx create mode 100644 components/ui/slider.tsx create mode 100644 components/ui/sonner.tsx create mode 100644 components/ui/spinner.tsx create mode 100644 components/ui/switch.tsx create mode 100644 components/ui/table.tsx create mode 100644 components/ui/tabs.tsx create mode 100644 components/ui/textarea.tsx create mode 100644 components/ui/toast.tsx create mode 100644 components/ui/toaster.tsx create mode 100644 components/ui/toggle-group.tsx create mode 100644 components/ui/toggle.tsx create mode 100644 components/ui/tooltip.tsx create mode 100644 components/ui/use-mobile.tsx create mode 100644 components/ui/use-toast.ts create mode 100644 components/yuuki/creator-section.tsx create mode 100644 components/yuuki/demo-section.tsx create mode 100644 components/yuuki/donate-section.tsx create mode 100644 components/yuuki/ecosystem-section.tsx create mode 100644 components/yuuki/footer.tsx create mode 100644 components/yuuki/hero.tsx create mode 100644 components/yuuki/model-section.tsx create mode 100644 components/yuuki/navbar.tsx create mode 100644 components/yuuki/stats-section.tsx create mode 100644 hooks/use-mobile.ts create mode 100644 hooks/use-toast.ts create mode 100644 lib/utils.ts create mode 100644 next.config.mjs create mode 100644 package.json create mode 100644 pnpm-lock.yaml create mode 100644 postcss.config.mjs create mode 100644 public/apple-icon.png create mode 100644 public/icon-dark-32x32.png create mode 100644 public/icon-light-32x32.png create mode 100644 public/icon.svg create mode 100644 public/placeholder-logo.png create mode 100644 public/placeholder-logo.svg create mode 100644 public/placeholder-user.jpg create mode 100644 public/placeholder.jpg create mode 100644 public/placeholder.svg create mode 100644 styles/globals.css create mode 100644 tsconfig.json create mode 100755 yuuki-astro-site.zip diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f650315 --- /dev/null +++ b/.gitignore @@ -0,0 +1,27 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules + +# next.js +/.next/ +/out/ + +# production +/build + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.pnpm-debug.log* + +# env files +.env* + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts \ No newline at end of file diff --git a/app/globals.css b/app/globals.css new file mode 100644 index 0000000..6c1b5a2 --- /dev/null +++ b/app/globals.css @@ -0,0 +1,88 @@ +@import 'tailwindcss'; +@import 'tw-animate-css'; + +@custom-variant dark (&:is(.dark *)); + +:root { + --background: #050505; /* Preserved from existing */ + --foreground: #fafafa; /* Preserved from existing */ + --card: #0e0e0e; /* Preserved from existing */ + --card-foreground: #fafafa; /* Preserved from existing */ + --popover: #0e0e0e; /* Preserved from existing */ + --popover-foreground: #fafafa; /* Preserved from existing */ + --primary: #f472b6; /* Preserved from existing */ + --primary-foreground: #0a0a0a; /* Preserved from existing */ + --secondary: #161616; /* Preserved from existing */ + --secondary-foreground: #e5e5e5; /* Preserved from existing */ + --muted: #1a1a1a; /* Preserved from existing */ + --muted-foreground: #737373; /* Preserved from existing */ + --accent: #f472b6; /* Preserved from existing */ + --accent-foreground: #0a0a0a; /* Preserved from existing */ + --destructive: #ef4444; /* Preserved from existing */ + --destructive-foreground: #fafafa; /* Preserved from existing */ + --border: #1f1f1f; /* Preserved from existing */ + --input: #1f1f1f; /* Preserved from existing */ + --ring: #f472b6; /* Preserved from existing */ + --chart-1: #f472b6; /* Preserved from existing */ + --chart-2: #22c55e; /* Preserved from existing */ + --chart-3: #eab308; /* Preserved from existing */ + --chart-4: #3b82f6; /* Preserved from existing */ + --chart-5: #a855f7; /* Preserved from existing */ + --radius: 0.625rem; /* Preserved from existing */ + --sakura: #f472b6; /* Preserved from existing */ + --sakura-dim: rgba(244, 114, 182, 0.15); /* Preserved from existing */ + --sakura-border: rgba(244, 114, 182, 0.25); /* Preserved from existing */ + +} + + + +@theme inline { + --font-sans: 'Geist', 'Geist Fallback'; /* Preserved from existing */ + --font-mono: 'Geist Mono', 'Geist Mono Fallback'; /* Preserved from existing */ + --color-background: var(--background); + --color-foreground: var(--foreground); + --color-card: var(--card); + --color-card-foreground: var(--card-foreground); + --color-popover: var(--popover); + --color-popover-foreground: var(--popover-foreground); + --color-primary: var(--primary); + --color-primary-foreground: var(--primary-foreground); + --color-secondary: var(--secondary); + --color-secondary-foreground: var(--secondary-foreground); + --color-muted: var(--muted); + --color-muted-foreground: var(--muted-foreground); + --color-accent: var(--accent); + --color-accent-foreground: var(--accent-foreground); + --color-destructive: var(--destructive); + --color-destructive-foreground: var(--destructive-foreground); + --color-border: var(--border); + --color-input: var(--input); + --color-ring: var(--ring); + --color-chart-1: var(--chart-1); + --color-chart-2: var(--chart-2); + --color-chart-3: var(--chart-3); + --color-chart-4: var(--chart-4); + --color-chart-5: var(--chart-5); + --radius-sm: calc(var(--radius) - 4px); + --radius-md: calc(var(--radius) - 2px); + --radius-lg: var(--radius); + --radius-xl: calc(var(--radius) + 4px); + --color-sakura: var(--sakura); /* Preserved from existing */ + --color-sakura-dim: var(--sakura-dim); /* Preserved from existing */ + --color-sakura-border: var(--sakura-border); /* Preserved from existing */ + + +} + +@layer base { + * { + @apply border-border outline-ring/50; + } + html { + scroll-behavior: smooth; + } + body { + @apply bg-background text-foreground; + } +} diff --git a/app/layout.tsx b/app/layout.tsx new file mode 100644 index 0000000..38ce2a7 --- /dev/null +++ b/app/layout.tsx @@ -0,0 +1,46 @@ +import React from "react" +import type { Metadata } from 'next' +import { Geist, Geist_Mono } from 'next/font/google' +import { Analytics } from '@vercel/analytics/next' +import './globals.css' + +const _geist = Geist({ subsets: ["latin"] }); +const _geistMono = Geist_Mono({ subsets: ["latin"] }); + +export const metadata: Metadata = { + title: 'Yuuki Project - Code Generation Trained on a Phone', + description: 'A multilingual code generation model trained entirely on a smartphone by a single person. Zero budget. Zero cloud. Pure determination.', + generator: 'v0.app', + icons: { + icon: [ + { + url: '/icon-light-32x32.png', + media: '(prefers-color-scheme: light)', + }, + { + url: '/icon-dark-32x32.png', + media: '(prefers-color-scheme: dark)', + }, + { + url: '/icon.svg', + type: 'image/svg+xml', + }, + ], + apple: '/apple-icon.png', + }, +} + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode +}>) { + return ( + + + {children} + + + + ) +} diff --git a/app/page.tsx b/app/page.tsx new file mode 100644 index 0000000..1fefb81 --- /dev/null +++ b/app/page.tsx @@ -0,0 +1,43 @@ +import { Navbar } from "@/components/yuuki/navbar" +import { Hero } from "@/components/yuuki/hero" +import { ModelSection } from "@/components/yuuki/model-section" +import { EcosystemSection } from "@/components/yuuki/ecosystem-section" +import { DemoSection } from "@/components/yuuki/demo-section" +import { StatsSection } from "@/components/yuuki/stats-section" +import { CreatorSection } from "@/components/yuuki/creator-section" +import { DonateSection } from "@/components/yuuki/donate-section" +import { Footer } from "@/components/yuuki/footer" + +export default function Page() { + return ( +
+ + +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+ ) +} diff --git a/components.json b/components.json new file mode 100644 index 0000000..4ee62ee --- /dev/null +++ b/components.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://ui.shadcn.com/schema.json", + "style": "new-york", + "rsc": true, + "tsx": true, + "tailwind": { + "config": "", + "css": "app/globals.css", + "baseColor": "neutral", + "cssVariables": true, + "prefix": "" + }, + "aliases": { + "components": "@/components", + "utils": "@/lib/utils", + "ui": "@/components/ui", + "lib": "@/lib", + "hooks": "@/hooks" + }, + "iconLibrary": "lucide" +} diff --git a/components/theme-provider.tsx b/components/theme-provider.tsx new file mode 100644 index 0000000..55c2f6e --- /dev/null +++ b/components/theme-provider.tsx @@ -0,0 +1,11 @@ +'use client' + +import * as React from 'react' +import { + ThemeProvider as NextThemesProvider, + type ThemeProviderProps, +} from 'next-themes' + +export function ThemeProvider({ children, ...props }: ThemeProviderProps) { + return {children} +} diff --git a/components/ui/accordion.tsx b/components/ui/accordion.tsx new file mode 100644 index 0000000..e538a33 --- /dev/null +++ b/components/ui/accordion.tsx @@ -0,0 +1,66 @@ +'use client' + +import * as React from 'react' +import * as AccordionPrimitive from '@radix-ui/react-accordion' +import { ChevronDownIcon } from 'lucide-react' + +import { cn } from '@/lib/utils' + +function Accordion({ + ...props +}: React.ComponentProps) { + return +} + +function AccordionItem({ + className, + ...props +}: React.ComponentProps) { + return ( + + ) +} + +function AccordionTrigger({ + className, + children, + ...props +}: React.ComponentProps) { + return ( + + svg]:rotate-180', + className, + )} + {...props} + > + {children} + + + + ) +} + +function AccordionContent({ + className, + children, + ...props +}: React.ComponentProps) { + return ( + +
{children}
+
+ ) +} + +export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } diff --git a/components/ui/alert-dialog.tsx b/components/ui/alert-dialog.tsx new file mode 100644 index 0000000..9704452 --- /dev/null +++ b/components/ui/alert-dialog.tsx @@ -0,0 +1,157 @@ +'use client' + +import * as React from 'react' +import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog' + +import { cn } from '@/lib/utils' +import { buttonVariants } from '@/components/ui/button' + +function AlertDialog({ + ...props +}: React.ComponentProps) { + return +} + +function AlertDialogTrigger({ + ...props +}: React.ComponentProps) { + return ( + + ) +} + +function AlertDialogPortal({ + ...props +}: React.ComponentProps) { + return ( + + ) +} + +function AlertDialogOverlay({ + className, + ...props +}: React.ComponentProps) { + return ( + + ) +} + +function AlertDialogContent({ + className, + ...props +}: React.ComponentProps) { + return ( + + + + + ) +} + +function AlertDialogHeader({ + className, + ...props +}: React.ComponentProps<'div'>) { + return ( +
+ ) +} + +function AlertDialogFooter({ + className, + ...props +}: React.ComponentProps<'div'>) { + return ( +
+ ) +} + +function AlertDialogTitle({ + className, + ...props +}: React.ComponentProps) { + return ( + + ) +} + +function AlertDialogDescription({ + className, + ...props +}: React.ComponentProps) { + return ( + + ) +} + +function AlertDialogAction({ + className, + ...props +}: React.ComponentProps) { + return ( + + ) +} + +function AlertDialogCancel({ + className, + ...props +}: React.ComponentProps) { + return ( + + ) +} + +export { + AlertDialog, + AlertDialogPortal, + AlertDialogOverlay, + AlertDialogTrigger, + AlertDialogContent, + AlertDialogHeader, + AlertDialogFooter, + AlertDialogTitle, + AlertDialogDescription, + AlertDialogAction, + AlertDialogCancel, +} diff --git a/components/ui/alert.tsx b/components/ui/alert.tsx new file mode 100644 index 0000000..e6751ab --- /dev/null +++ b/components/ui/alert.tsx @@ -0,0 +1,66 @@ +import * as React from 'react' +import { cva, type VariantProps } from 'class-variance-authority' + +import { cn } from '@/lib/utils' + +const alertVariants = cva( + 'relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current', + { + variants: { + variant: { + default: 'bg-card text-card-foreground', + destructive: + 'text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90', + }, + }, + defaultVariants: { + variant: 'default', + }, + }, +) + +function Alert({ + className, + variant, + ...props +}: React.ComponentProps<'div'> & VariantProps) { + return ( +
+ ) +} + +function AlertTitle({ className, ...props }: React.ComponentProps<'div'>) { + return ( +
+ ) +} + +function AlertDescription({ + className, + ...props +}: React.ComponentProps<'div'>) { + return ( +
+ ) +} + +export { Alert, AlertTitle, AlertDescription } diff --git a/components/ui/aspect-ratio.tsx b/components/ui/aspect-ratio.tsx new file mode 100644 index 0000000..40bb120 --- /dev/null +++ b/components/ui/aspect-ratio.tsx @@ -0,0 +1,11 @@ +'use client' + +import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio' + +function AspectRatio({ + ...props +}: React.ComponentProps) { + return +} + +export { AspectRatio } diff --git a/components/ui/avatar.tsx b/components/ui/avatar.tsx new file mode 100644 index 0000000..aa98465 --- /dev/null +++ b/components/ui/avatar.tsx @@ -0,0 +1,53 @@ +'use client' + +import * as React from 'react' +import * as AvatarPrimitive from '@radix-ui/react-avatar' + +import { cn } from '@/lib/utils' + +function Avatar({ + className, + ...props +}: React.ComponentProps) { + return ( + + ) +} + +function AvatarImage({ + className, + ...props +}: React.ComponentProps) { + return ( + + ) +} + +function AvatarFallback({ + className, + ...props +}: React.ComponentProps) { + return ( + + ) +} + +export { Avatar, AvatarImage, AvatarFallback } diff --git a/components/ui/badge.tsx b/components/ui/badge.tsx new file mode 100644 index 0000000..fc4126b --- /dev/null +++ b/components/ui/badge.tsx @@ -0,0 +1,46 @@ +import * as React from 'react' +import { Slot } from '@radix-ui/react-slot' +import { cva, type VariantProps } from 'class-variance-authority' + +import { cn } from '@/lib/utils' + +const badgeVariants = cva( + 'inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden', + { + variants: { + variant: { + default: + 'border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90', + secondary: + 'border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90', + destructive: + 'border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60', + outline: + 'text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground', + }, + }, + defaultVariants: { + variant: 'default', + }, + }, +) + +function Badge({ + className, + variant, + asChild = false, + ...props +}: React.ComponentProps<'span'> & + VariantProps & { asChild?: boolean }) { + const Comp = asChild ? Slot : 'span' + + return ( + + ) +} + +export { Badge, badgeVariants } diff --git a/components/ui/breadcrumb.tsx b/components/ui/breadcrumb.tsx new file mode 100644 index 0000000..1750ff2 --- /dev/null +++ b/components/ui/breadcrumb.tsx @@ -0,0 +1,109 @@ +import * as React from 'react' +import { Slot } from '@radix-ui/react-slot' +import { ChevronRight, MoreHorizontal } from 'lucide-react' + +import { cn } from '@/lib/utils' + +function Breadcrumb({ ...props }: React.ComponentProps<'nav'>) { + return