Spaces:
Running
Running
wip not logged page
Browse files
components/editor/header/index.tsx
CHANGED
|
@@ -76,7 +76,7 @@ export function Header() {
|
|
| 76 |
<UserMenu className="!pl-1 !pr-3 !py-1 !h-auto" />
|
| 77 |
) : (
|
| 78 |
<Button size="sm" onClick={openLoginWindow}>
|
| 79 |
-
|
| 80 |
<ArrowRight className="size-4" />
|
| 81 |
</Button>
|
| 82 |
)}
|
|
|
|
| 76 |
<UserMenu className="!pl-1 !pr-3 !py-1 !h-auto" />
|
| 77 |
) : (
|
| 78 |
<Button size="sm" onClick={openLoginWindow}>
|
| 79 |
+
Start Vibe Coding
|
| 80 |
<ArrowRight className="size-4" />
|
| 81 |
</Button>
|
| 82 |
)}
|
components/my-projects/index.tsx
CHANGED
|
@@ -34,7 +34,7 @@ export function MyProjects() {
|
|
| 34 |
};
|
| 35 |
return (
|
| 36 |
<>
|
| 37 |
-
<section className="max-w-[86rem] py-12 px-4 mx-auto">
|
| 38 |
<header className="flex items-center justify-between max-lg:flex-col gap-4">
|
| 39 |
<div className="text-left">
|
| 40 |
<h1 className="text-3xl font-bold text-white">
|
|
|
|
| 34 |
};
|
| 35 |
return (
|
| 36 |
<>
|
| 37 |
+
<section className="max-w-[86rem] py-12 px-4 mx-auto overflow-x-hidden">
|
| 38 |
<header className="flex items-center justify-between max-lg:flex-col gap-4">
|
| 39 |
<div className="text-left">
|
| 40 |
<h1 className="text-3xl font-bold text-white">
|
components/not-logged/not-logged.tsx
CHANGED
|
@@ -3,26 +3,192 @@
|
|
| 3 |
import { useUser } from "@/hooks/useUser";
|
| 4 |
import { Button } from "@/components/ui/button";
|
| 5 |
import { AnimatedBlobs } from "../animated-blobs";
|
|
|
|
| 6 |
|
| 7 |
export const NotLogged = () => {
|
| 8 |
const { openLoginWindow } = useUser();
|
| 9 |
return (
|
| 10 |
-
<section className="relative max-w-[86rem]
|
| 11 |
-
<
|
| 12 |
-
<div className="
|
| 13 |
-
|
| 14 |
-
Oops! You must be logged to continue.
|
| 15 |
-
</h2>
|
| 16 |
-
<p className="text-muted-foreground text-lg mt-1">
|
| 17 |
-
Unfortunately you cannot access DeepSite without being logged
|
| 18 |
-
through your Hugging Face account.
|
| 19 |
-
</p>
|
| 20 |
</div>
|
| 21 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
Log In to Continue
|
| 23 |
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
</div>
|
| 25 |
-
<AnimatedBlobs />
|
| 26 |
</section>
|
| 27 |
);
|
| 28 |
};
|
|
|
|
| 3 |
import { useUser } from "@/hooks/useUser";
|
| 4 |
import { Button } from "@/components/ui/button";
|
| 5 |
import { AnimatedBlobs } from "../animated-blobs";
|
| 6 |
+
import { AnimatedText } from "../animated-text";
|
| 7 |
|
| 8 |
export const NotLogged = () => {
|
| 9 |
const { openLoginWindow } = useUser();
|
| 10 |
return (
|
| 11 |
+
<section className="relative max-w-[86rem] mx-auto">
|
| 12 |
+
<header className="container mx-auto pt-20 px-6 relative flex flex-col items-center justify-center text-center">
|
| 13 |
+
<div className="rounded-full border border-sky-100/10 bg-gradient-to-r from-sky-500/15 to-sky-sky-500/5 text-sm text-sky-300 px-3 py-1 max-w-max mx-auto mb-2">
|
| 14 |
+
β¨ DeepSite v3 is out!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
</div>
|
| 16 |
+
<h1 className="text-5xl lg:text-6xl font-semibold text-white font-mono max-w-4xl">
|
| 17 |
+
Welcome to DeepSite
|
| 18 |
+
</h1>
|
| 19 |
+
<p className="text-white/70 text-xl mt-3 mb-8">
|
| 20 |
+
Code your website with AI in seconds. <br />
|
| 21 |
+
Access the most simple and powerful AI Vibe Code Editor to create your
|
| 22 |
+
next project.
|
| 23 |
+
</p>
|
| 24 |
+
<Button size="xl" variant="default" onClick={openLoginWindow}>
|
| 25 |
Log In to Continue
|
| 26 |
</Button>
|
| 27 |
+
<div className="mt-14 max-w-2xl w-full mx-auto">{/* <AskAi /> */}</div>
|
| 28 |
+
<AnimatedBlobs />
|
| 29 |
+
</header>
|
| 30 |
+
<div id="features" className="min-h-screen py-20 px-6 relative">
|
| 31 |
+
<div className="container mx-auto"></div>
|
| 32 |
+
<div className="text-center mb-16">
|
| 33 |
+
<div className="rounded-full border border-neutral-100/10 bg-neutral-100/5 text-sm text-neutral-300 px-3 py-1 max-w-max mx-auto mb-4">
|
| 34 |
+
π Powerful Features
|
| 35 |
+
</div>
|
| 36 |
+
<h2 className="text-4xl lg:text-5xl font-extrabold text-white font-mono mb-4">
|
| 37 |
+
Everything you need
|
| 38 |
+
</h2>
|
| 39 |
+
<p className="text-base lg:text-lg text-neutral-300/80 max-w-2xl mx-auto">
|
| 40 |
+
Build, deploy, and scale your websites with cutting-edge features
|
| 41 |
+
</p>
|
| 42 |
+
</div>
|
| 43 |
+
|
| 44 |
+
{/* Bento Grid */}
|
| 45 |
+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-7xl mx-auto">
|
| 46 |
+
{/* Multi Pages */}
|
| 47 |
+
<div
|
| 48 |
+
className="lg:row-span-2 relative p-8 rounded-2xl border border-neutral-100/10 bg-neutral-900/50 backdrop-blur-sm overflow-hidden group hover:border-neutral-100/20 transition-all duration-500 hover:scale-105 hover:rotate-1 hover:-translate-y-2 hover:shadow-2xl hover:shadow-purple-500/20"
|
| 49 |
+
style={{ transformStyle: "preserve-3d" }}
|
| 50 |
+
>
|
| 51 |
+
<div className="relative z-10">
|
| 52 |
+
<div className="text-3xl lg:text-4xl mb-4">π</div>
|
| 53 |
+
<h3 className="text-2xl lg:text-3xl font-bold text-white font-mono mb-3">
|
| 54 |
+
Multi Pages
|
| 55 |
+
</h3>
|
| 56 |
+
<p className="text-neutral-300/80 lg:text-lg mb-6">
|
| 57 |
+
Create complex websites with multiple interconnected pages.
|
| 58 |
+
Build everything from simple landing pages to full-featured web
|
| 59 |
+
applications with dynamic routing and navigation.
|
| 60 |
+
</p>
|
| 61 |
+
<div className="flex flex-wrap gap-2">
|
| 62 |
+
<span className="px-3 py-1 bg-purple-500/20 text-purple-300 rounded-full text-sm">
|
| 63 |
+
Dynamic Routing
|
| 64 |
+
</span>
|
| 65 |
+
<span className="px-3 py-1 bg-blue-500/20 text-blue-300 rounded-full text-sm">
|
| 66 |
+
Navigation
|
| 67 |
+
</span>
|
| 68 |
+
<span className="px-3 py-1 bg-green-500/20 text-green-300 rounded-full text-sm">
|
| 69 |
+
SEO Ready
|
| 70 |
+
</span>
|
| 71 |
+
</div>
|
| 72 |
+
</div>
|
| 73 |
+
<div className="absolute -top-20 -right-20 w-40 h-40 bg-gradient-to-r from-purple-500 to-pink-500 opacity-20 blur-3xl rounded-full transition-all duration-700 ease-out group-hover:scale-[4] group-hover:opacity-30" />
|
| 74 |
+
</div>
|
| 75 |
+
|
| 76 |
+
{/* Auto Deploy */}
|
| 77 |
+
<div
|
| 78 |
+
className="relative p-6 rounded-2xl border border-neutral-100/10 bg-neutral-900/50 backdrop-blur-sm overflow-hidden group hover:border-neutral-100/20 transition-all duration-500 hover:scale-110 hover:-translate-y-4 hover:-rotate-3 hover:shadow-2xl hover:shadow-yellow-500/25"
|
| 79 |
+
style={{ perspective: "1000px", transformStyle: "preserve-3d" }}
|
| 80 |
+
>
|
| 81 |
+
<div className="relative z-10">
|
| 82 |
+
<div className="text-3xl mb-4">β‘</div>
|
| 83 |
+
<h3 className="text-2xl font-bold text-white font-mono mb-3">
|
| 84 |
+
Auto Deploy
|
| 85 |
+
</h3>
|
| 86 |
+
<p className="text-neutral-300/80 mb-4">
|
| 87 |
+
Push your changes and watch them go live instantly. No complex
|
| 88 |
+
CI/CD setup required.
|
| 89 |
+
</p>
|
| 90 |
+
</div>
|
| 91 |
+
<div className="absolute -bottom-10 -right-10 w-32 h-32 bg-gradient-to-r from-yellow-500 to-orange-500 opacity-20 blur-2xl rounded-full transition-all duration-700 ease-out group-hover:scale-[5] group-hover:opacity-35" />
|
| 92 |
+
</div>
|
| 93 |
+
|
| 94 |
+
{/* Free Hosting */}
|
| 95 |
+
<div className="relative p-6 rounded-2xl border border-neutral-100/10 bg-neutral-900/50 backdrop-blur-sm overflow-hidden group hover:border-neutral-100/20 transition-all duration-500 hover:scale-105 hover:rotate-2 hover:-translate-y-3 hover:shadow-xl hover:shadow-green-500/20">
|
| 96 |
+
<div className="relative z-10">
|
| 97 |
+
<div className="text-3xl mb-4">π</div>
|
| 98 |
+
<h3 className="text-2xl font-bold text-white font-mono mb-3">
|
| 99 |
+
Free Hosting
|
| 100 |
+
</h3>
|
| 101 |
+
<p className="text-neutral-300/80 mb-4">
|
| 102 |
+
Host your websites for free with global CDN and lightning-fast
|
| 103 |
+
performance.
|
| 104 |
+
</p>
|
| 105 |
+
</div>
|
| 106 |
+
<div className="absolute -top-10 -left-10 w-32 h-32 bg-gradient-to-r from-green-500 to-emerald-500 opacity-20 blur-2xl rounded-full transition-all duration-700 ease-out group-hover:scale-[5] group-hover:opacity-35" />
|
| 107 |
+
</div>
|
| 108 |
+
|
| 109 |
+
{/* Open Source Models */}
|
| 110 |
+
<div
|
| 111 |
+
className="lg:col-span-2 md:col-span-2 relative p-6 rounded-2xl border border-neutral-100/10 bg-neutral-900/50 backdrop-blur-sm overflow-hidden group hover:border-neutral-100/20 transition-all duration-600 hover:scale-[1.02] hover:rotate-y-6 hover:-translate-y-1 hover:shadow-2xl hover:shadow-cyan-500/20"
|
| 112 |
+
style={{ perspective: "1200px", transformStyle: "preserve-3d" }}
|
| 113 |
+
>
|
| 114 |
+
<div className="relative z-10">
|
| 115 |
+
<div className="text-3xl mb-4">π</div>
|
| 116 |
+
<h3 className="text-2xl font-bold text-white font-mono mb-3">
|
| 117 |
+
Open Source Models
|
| 118 |
+
</h3>
|
| 119 |
+
<p className="text-neutral-300/80 mb-4">
|
| 120 |
+
Powered by cutting-edge open source AI models. Transparent,
|
| 121 |
+
customizable, and community-driven development.
|
| 122 |
+
</p>
|
| 123 |
+
<div className="flex flex-wrap gap-2">
|
| 124 |
+
<span className="px-3 py-1 bg-cyan-500/20 text-cyan-300 rounded-full text-sm">
|
| 125 |
+
Llama
|
| 126 |
+
</span>
|
| 127 |
+
<span className="px-3 py-1 bg-indigo-500/20 text-indigo-300 rounded-full text-sm">
|
| 128 |
+
Mistral
|
| 129 |
+
</span>
|
| 130 |
+
<span className="px-3 py-1 bg-pink-500/20 text-pink-300 rounded-full text-sm">
|
| 131 |
+
CodeLlama
|
| 132 |
+
</span>
|
| 133 |
+
</div>
|
| 134 |
+
</div>
|
| 135 |
+
<div className="absolute -bottom-10 right-10 w-32 h-32 bg-gradient-to-r from-cyan-500 to-indigo-500 opacity-20 blur-2xl rounded-full transition-all duration-700 ease-out group-hover:scale-[5] group-hover:opacity-35" />
|
| 136 |
+
</div>
|
| 137 |
+
|
| 138 |
+
{/* UX Focus */}
|
| 139 |
+
<div
|
| 140 |
+
className="relative p-6 rounded-2xl border border-neutral-100/10 bg-neutral-900/50 backdrop-blur-sm overflow-hidden group hover:border-neutral-100/20 transition-all duration-500 hover:scale-110 hover:rotate-3 hover:-translate-y-2 hover:rotate-x-6 hover:shadow-xl hover:shadow-rose-500/25"
|
| 141 |
+
style={{ transformStyle: "preserve-3d" }}
|
| 142 |
+
>
|
| 143 |
+
<div className="relative z-10">
|
| 144 |
+
<div className="text-3xl mb-4">β¨</div>
|
| 145 |
+
<h3 className="text-2xl font-bold text-white font-mono mb-3">
|
| 146 |
+
Perfect UX
|
| 147 |
+
</h3>
|
| 148 |
+
<p className="text-neutral-300/80 mb-4">
|
| 149 |
+
Intuitive interface designed for developers and non-developers
|
| 150 |
+
alike.
|
| 151 |
+
</p>
|
| 152 |
+
</div>
|
| 153 |
+
<div className="absolute -top-10 -right-10 w-32 h-32 bg-gradient-to-r from-rose-500 to-pink-500 opacity-20 blur-2xl rounded-full transition-all duration-700 ease-out group-hover:scale-[5] group-hover:opacity-35" />
|
| 154 |
+
</div>
|
| 155 |
+
|
| 156 |
+
{/* Hugging Face Integration */}
|
| 157 |
+
<div
|
| 158 |
+
className="relative p-6 rounded-2xl border border-neutral-100/10 bg-neutral-900/50 backdrop-blur-sm overflow-hidden group hover:border-neutral-100/20 transition-all duration-500 hover:scale-[1.08] hover:-rotate-2 hover:-translate-y-3 hover:rotate-y-8 hover:shadow-xl hover:shadow-amber-500/20"
|
| 159 |
+
style={{ perspective: "800px" }}
|
| 160 |
+
>
|
| 161 |
+
<div className="relative z-10">
|
| 162 |
+
<div className="text-3xl mb-4">π€</div>
|
| 163 |
+
<h3 className="text-2xl font-bold text-white font-mono mb-3">
|
| 164 |
+
Hugging Face
|
| 165 |
+
</h3>
|
| 166 |
+
<p className="text-neutral-300/80 mb-4">
|
| 167 |
+
Seamless integration with Hugging Face models and datasets for
|
| 168 |
+
cutting-edge AI capabilities.
|
| 169 |
+
</p>
|
| 170 |
+
</div>
|
| 171 |
+
<div className="absolute -top-10 -right-10 w-32 h-32 bg-gradient-to-r from-yellow-500 to-amber-500 opacity-20 blur-2xl rounded-full transition-all duration-700 ease-out group-hover:scale-[5] group-hover:opacity-35" />
|
| 172 |
+
</div>
|
| 173 |
+
|
| 174 |
+
{/* Performance */}
|
| 175 |
+
<div
|
| 176 |
+
className="relative p-6 rounded-2xl border border-neutral-100/10 bg-neutral-900/50 backdrop-blur-sm overflow-hidden group hover:border-neutral-100/20 transition-all duration-500 hover:scale-105 hover:rotate-1 hover:-translate-y-4 hover:rotate-x-8 hover:shadow-2xl hover:shadow-blue-500/25"
|
| 177 |
+
style={{ transformStyle: "preserve-3d" }}
|
| 178 |
+
>
|
| 179 |
+
<div className="relative z-10">
|
| 180 |
+
<div className="text-3xl mb-4">π</div>
|
| 181 |
+
<h3 className="text-2xl font-bold text-white font-mono mb-3">
|
| 182 |
+
Blazing Fast
|
| 183 |
+
</h3>
|
| 184 |
+
<p className="text-neutral-300/80 mb-4">
|
| 185 |
+
Optimized performance with edge computing and smart caching.
|
| 186 |
+
</p>
|
| 187 |
+
</div>
|
| 188 |
+
<div className="absolute -bottom-10 -right-10 w-32 h-32 bg-gradient-to-r from-blue-500 to-cyan-500 opacity-20 blur-2xl rounded-full transition-all duration-700 ease-out group-hover:scale-[5] group-hover:opacity-35" />
|
| 189 |
+
</div>
|
| 190 |
+
</div>
|
| 191 |
</div>
|
|
|
|
| 192 |
</section>
|
| 193 |
);
|
| 194 |
};
|
components/public/navigation/index.tsx
CHANGED
|
@@ -156,7 +156,7 @@ export default function Navigation() {
|
|
| 156 |
) : (
|
| 157 |
<>
|
| 158 |
<Button className="!px-6 !py-3 !h-auto" onClick={openLoginWindow}>
|
| 159 |
-
|
| 160 |
<ArrowRight className="size-4" />
|
| 161 |
</Button>
|
| 162 |
</>
|
|
|
|
| 156 |
) : (
|
| 157 |
<>
|
| 158 |
<Button className="!px-6 !py-3 !h-auto" onClick={openLoginWindow}>
|
| 159 |
+
Start Vibe Coding
|
| 160 |
<ArrowRight className="size-4" />
|
| 161 |
</Button>
|
| 162 |
</>
|
components/ui/button.tsx
CHANGED
|
@@ -33,6 +33,7 @@ const buttonVariants = cva(
|
|
| 33 |
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
| 34 |
sm: "h-8 rounded-full text-[13px] gap-1.5 px-3",
|
| 35 |
lg: "h-10 rounded-full px-6 has-[>svg]:px-4",
|
|
|
|
| 36 |
icon: "size-9",
|
| 37 |
iconXs: "size-7",
|
| 38 |
iconXss: "size-6",
|
|
|
|
| 33 |
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
| 34 |
sm: "h-8 rounded-full text-[13px] gap-1.5 px-3",
|
| 35 |
lg: "h-10 rounded-full px-6 has-[>svg]:px-4",
|
| 36 |
+
xl: "h-12 rounded-full px-8 has-[>svg]:px-5",
|
| 37 |
icon: "size-9",
|
| 38 |
iconXs: "size-7",
|
| 39 |
iconXss: "size-6",
|