victor HF Staff commited on
Commit
00fc9e0
·
verified ·
1 Parent(s): 3a3a721

Brutalist minimalist website Hugging Face 2.0

Browse files
Files changed (3) hide show
  1. README.md +8 -5
  2. index.html +234 -19
  3. style.css +43 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Hf2 Brutalist
3
- emoji: 🏃
4
- colorFrom: gray
5
- colorTo: indigo
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: HF2-Brutalist
3
+ colorFrom: pink
4
+ colorTo: blue
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
index.html CHANGED
@@ -1,19 +1,234 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="scroll-smooth">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>HF2-Brutalist</title>
7
+ <meta name="description" content="A minimalist brutalist Hugging Face 2.0 concept">
8
+
9
+ <!-- Google Fonts: Space Mono for that raw, tech feel -->
10
+ <link rel="preconnect" href="https://fonts.googleapis.com">
11
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
12
+ <link href="https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap" rel="stylesheet">
13
+
14
+ <!-- Tailwind CSS -->
15
+ <script src="https://cdn.tailwindcss.com"></script>
16
+
17
+ <!-- Feather Icons -->
18
+ <script src="https://unpkg.com/feather-icons"></script>
19
+
20
+ <!-- Custom Configuration for Brutalist Theme -->
21
+ <script>
22
+ tailwind.config = {
23
+ theme: {
24
+ extend: {
25
+ colors: {
26
+ 'bf-black': '#000000',
27
+ 'bf-white': '#ffffff',
28
+ 'bf-gray': '#f3f4f6',
29
+ },
30
+ fontFamily: {
31
+ 'mono': ['"Space Mono"', 'monospace'],
32
+ },
33
+ boxShadow: {
34
+ 'brutal': '4px 4px 0px 0px #000000',
35
+ 'brutal-hover': '2px 2px 0px 0px #000000',
36
+ }
37
+ }
38
+ }
39
+ }
40
+ </script>
41
+ <link rel="stylesheet" href="style.css">
42
+ </head>
43
+ <body class="bg-bf-white text-bf-black font-mono antialiased selection:bg-bf-black selection:text-bf-white">
44
+
45
+ <!-- Navigation -->
46
+ <nav class="fixed top-0 w-full z-50 border-b-2 border-bf-black bg-bf-white">
47
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
48
+ <div class="flex justify-between h-16">
49
+ <div class="flex items-center">
50
+ <a href="#" class="text-2xl font-bold tracking-tighter uppercase flex items-center gap-2">
51
+ <i data-feather="box"></i>
52
+ HF_2.0
53
+ </a>
54
+ </div>
55
+ <div class="hidden md:flex items-center space-x-8">
56
+ <a href="#models" class="hover:underline decoration-2 underline-offset-4">Models</a>
57
+ <a href="#datasets" class="hover:underline decoration-2 underline-offset-4">Datasets</a>
58
+ <a href="#spaces" class="hover:underline decoration-2 underline-offset-4">Spaces</a>
59
+ <a href="#docs" class="hover:underline decoration-2 underline-offset-4">Docs</a>
60
+ <button class="border-2 border-bf-black px-6 py-1 font-bold hover:bg-bf-black hover:text-bf-white transition-all duration-150 shadow-brutal active:shadow-none active:translate-x-[2px] active:translate-y-[2px]">
61
+ LOGIN
62
+ </button>
63
+ </div>
64
+ <!-- Mobile menu button -->
65
+ <div class="flex items-center md:hidden">
66
+ <button id="mobile-menu-btn" class="p-2 border-2 border-bf-black hover:bg-bf-black hover:text-bf-white transition-colors">
67
+ <i data-feather="menu"></i>
68
+ </button>
69
+ </div>
70
+ </div>
71
+ </div>
72
+
73
+ <!-- Mobile Menu -->
74
+ <div id="mobile-menu" class="hidden md:hidden border-t-2 border-bf-black bg-bf-white">
75
+ <div class="px-2 pt-2 pb-3 space-y-1 sm:px-3">
76
+ <a href="#" class="block px-3 py-2 text-lg font-bold border-b-2 border-bf-black hover:bg-bf-gray">Models</a>
77
+ <a href="#" class="block px-3 py-2 text-lg font-bold border-b-2 border-bf-black hover:bg-bf-gray">Datasets</a>
78
+ <a href="#" class="block px-3 py-2 text-lg font-bold border-b-2 border-bf-black hover:bg-bf-gray">Spaces</a>
79
+ <a href="#" class="block px-3 py-2 text-lg font-bold hover:bg-bf-gray">Docs</a>
80
+ </div>
81
+ </div>
82
+ </nav>
83
+
84
+ <!-- Hero Section -->
85
+ <header class="relative pt-32 pb-20 lg:pt-48 lg:pb-32 border-b-2 border-bf-black overflow-hidden">
86
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
87
+ <div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
88
+ <div>
89
+ <div class="inline-block px-3 py-1 mb-4 text-sm font-bold bg-bf-black text-bf-white uppercase tracking-wider">
90
+ The AI Community
91
+ </div>
92
+ <h1 class="text-5xl md:text-7xl font-extrabold tracking-tight leading-none mb-6">
93
+ BUILD THE <br>
94
+ <span class="bg-bf-black text-bf-white px-2">FUTURE</span> <br>
95
+ OF AI.
96
+ </h1>
97
+ <p class="text-lg md:text-xl mb-8 max-w-lg font-bold border-l-4 border-bf-black pl-4">
98
+ Hugging Face 2.0 is here. Faster, stronger, and strictly brutalist.
99
+ The machine learning platform for everyone.
100
+ </p>
101
+ <div class="flex flex-col sm:flex-row gap-4">
102
+ <a href="#" class="inline-flex justify-center items-center px-8 py-4 text-lg font-bold border-2 border-bf-black bg-bf-white text-bf-black hover:bg-bf-gray transition-all shadow-brutal hover:shadow-brutal-hover hover:translate-x-[-2px] hover:translate-y-[-2px]">
103
+ Get Started
104
+ </a>
105
+ <a href="#" class="inline-flex justify-center items-center px-8 py-4 text-lg font-bold bg-bf-black text-bf-white border-2 border-bf-black hover:bg-bf-gray hover:text-bf-black transition-all shadow-brutal hover:shadow-brutal-hover hover:translate-x-[-2px] hover:translate-y-[-2px]">
106
+ Read Docs
107
+ </a>
108
+ </div>
109
+ </div>
110
+ <div class="relative">
111
+ <!-- Decorative Elements -->
112
+ <div class="absolute -top-10 -right-10 w-64 h-64 bg-bf-black opacity-10 rotate-12"></div>
113
+ <div class="absolute -bottom-10 -left-10 w-64 h-64 border-4 border-bf-black rotate-12"></div>
114
+
115
+ <!-- Code Snippet Card -->
116
+ <div class="relative border-2 border-bf-black bg-bf-white p-6 shadow-brutal">
117
+ <div class="flex gap-2 mb-4 border-b-2 border-bf-black pb-4">
118
+ <div class="w-4 h-4 rounded-full border-2 border-bf-black bg-red-500"></div>
119
+ <div class="w-4 h-4 rounded-full border-2 border-bf-black bg-yellow-500"></div>
120
+ <div class="w-4 h-4 rounded-full border-2 border-bf-black bg-green-500"></div>
121
+ </div>
122
+ <code class="text-sm font-mono text-left block whitespace-pre">
123
+ <span class="text-purple-600">from</span> transformers <span class="text-purple-600">import</span> pipeline
124
+
125
+ <span class="text-gray-500"># Load the future</span>
126
+ classifier = pipeline(<span class="text-green-600">"text-classification"</span>,
127
+ model=<span class="text-green-600">"hf-2.0"</span>)
128
+
129
+ result = classifier(<span class="text-green-600">"Hello World"</span>)
130
+ </code>
131
+ </div>
132
+ </div>
133
+ </div>
134
+ </div>
135
+ </header>
136
+
137
+ <!-- Marquee / Ticker -->
138
+ <div class="w-full bg-bf-black text-bf-white py-3 overflow-hidden border-b-2 border-bf-black">
139
+ <div class="whitespace-nowrap animate-marquee flex space-x-8 font-bold text-lg">
140
+ <span>🤗 MODELS</span> <span>//</span> <span>DATASETS</span> <span>//</span> <span>SPACES</span> <span>//</span> <span>INFERENCE API</span> <span>//</span> <span>OPTIMIZATION</span> <span>//</span> <span>🤗 MODELS</span> <span>//</span> <span>DATASETS</span> <span>//</span> <span>SPACES</span>
141
+ </div>
142
+ </div>
143
+
144
+ <!-- Features Grid -->
145
+ <section id="features" class="py-20 bg-bf-gray">
146
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
147
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-0 border-2 border-bf-black bg-bf-white shadow-brutal">
148
+
149
+ <!-- Feature 1 -->
150
+ <div class="p-8 border-b-2 md:border-b-0 md:border-r-2 border-bf-black flex flex-col justify-between h-full hover:bg-bf-white transition-colors group">
151
+ <div class="mb-6 p-4 bg-bf-black inline-block w-fit text-bf-white group-hover:rotate-3 transition-transform">
152
+ <i data-feather="cpu" class="w-8 h-8"></i>
153
+ </div>
154
+ <h3 class="text-2xl font-bold mb-2 uppercase">Compute</h3>
155
+ <p class="text-gray-600 font-bold">State-of-the-art infrastructure to train and deploy your models. Zero latency. Infinite scale.</p>
156
+ </div>
157
+
158
+ <!-- Feature 2 -->
159
+ <div class="p-8 border-b-2 md:border-b-0 md:border-r-2 border-bf-black flex flex-col justify-between h-full hover:bg-bf-white transition-colors group">
160
+ <div class="mb-6 p-4 bg-bf-black inline-block w-fit text-bf-white group-hover:-rotate-3 transition-transform">
161
+ <i data-feather="database" class="w-8 h-8"></i>
162
+ </div>
163
+ <h3 class="text-2xl font-bold mb-2 uppercase">Datasets</h3>
164
+ <p class="text-gray-600 font-bold">Curated, community-driven datasets for every domain. Open and accessible.</p>
165
+ </div>
166
+
167
+ <!-- Feature 3 -->
168
+ <div class="p-8 flex flex-col justify-between h-full hover:bg-bf-white transition-colors group">
169
+ <div class="mb-6 p-4 bg-bf-black inline-block w-fit text-bf-white group-hover:rotate-3 transition-transform">
170
+ <i data-feather="share-2" class="w-8 h-8"></i>
171
+ </div>
172
+ <h3 class="text-2xl font-bold mb-2 uppercase">Inference</h3>
173
+ <p class="text-gray-600 font-bold">Hosted inference API. Test your models directly in the browser or via CLI.</p>
174
+ </div>
175
+ </div>
176
+ </div>
177
+ </section>
178
+
179
+ <!-- CTA Section -->
180
+ <section class="py-20 border-t-2 border-bf-black bg-bf-white">
181
+ <div class="max-w-4xl mx-auto px-4 text-center">
182
+ <h2 class="text-4xl md:text-6xl font-black mb-8 uppercase tracking-tighter">
183
+ Join the <br> Revolution
184
+ </h2>
185
+ <div class="inline-grid grid-cols-2 gap-4 w-full max-w-md">
186
+ <button class="border-2 border-bf-black p-4 font-bold hover:bg-bf-black hover:text-bf-white transition-colors">
187
+ Star us on GitHub
188
+ </button>
189
+ <button class="border-2 border-bf-black p-4 font-bold bg-bf-black text-bf-white hover:bg-bf-white hover:text-bf-black transition-colors">
190
+ Contribute
191
+ </button>
192
+ </div>
193
+ </div>
194
+ </section>
195
+
196
+ <!-- Footer -->
197
+ <footer class="bg-bf-black text-bf-white py-12 border-t-2 border-bf-black">
198
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 grid grid-cols-1 md:grid-cols-4 gap-8">
199
+ <div class="col-span-1 md:col-span-2">
200
+ <h4 class="text-2xl font-bold mb-4 uppercase tracking-widest">HF_2.0</h4>
201
+ <p class="text-gray-400 max-w-xs font-bold">
202
+ Making AI open and accessible. <br>
203
+ The building block for everyone.
204
+ </p>
205
+ </div>
206
+ <div>
207
+ <h5 class="font-bold mb-4 underline decoration-2 underline-offset-4">RESOURCES</h5>
208
+ <ul class="space-y-2 font-bold text-gray-400">
209
+ <li><a href="#" class="hover:text-bf-white">Documentation</a></li>
210
+ <li><a href="#" class="hover:text-bf-white">API Reference</a></li>
211
+ <li><a href="#" class="hover:text-bf-white">Status</a></li>
212
+ </ul>
213
+ </div>
214
+ <div>
215
+ <h5 class="font-bold mb-4 underline decoration-2 underline-offset-4">COMPANY</h5>
216
+ <ul class="space-y-2 font-bold text-gray-400">
217
+ <li><a href="#" class="hover:text-bf-white">About</a></li>
218
+ <li><a href="#" class="hover:text-bf-white">Careers</a></li>
219
+ <li><a href="#" class="hover:text-bf-white">Blog</a></li>
220
+ </ul>
221
+ </div>
222
+ </div>
223
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 mt-12 pt-8 border-t border-gray-800 text-center text-gray-500 font-bold">
224
+ &copy; 2023 Hugging Face 2.0 Concept. NO RIGHTS RESERVED.
225
+ </div>
226
+ </footer>
227
+
228
+ <script src="script.js"></script>
229
+ <script>
230
+ feather.replace();
231
+ </script>
232
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
233
+ </body>
234
+ </html>
style.css CHANGED
@@ -1,28 +1,52 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
28
  }
 
 
 
 
 
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ body {
7
+ /* Brutalist typography settings */
8
+ -webkit-font-smoothing: antialiased;
9
+ -moz-osx-font-smoothing: grayscale;
10
+ }
11
+
12
+ h1, h2, h3, h4, h5, h6 {
13
+ letter-spacing: -0.05em;
14
+ }
15
  }
16
 
17
+ @layer utilities {
18
+ /* Custom animation for marquee */
19
+ .animate-marquee {
20
+ animation: marquee 25s linear infinite;
21
+ }
22
+
23
+ @keyframes marquee {
24
+ 0% { transform: translateX(0); }
25
+ 100% { transform: translateX(-50%); }
26
+ }
27
+
28
+ /* Brutalist Focus States */
29
+ .brutalist-focus:focus {
30
+ outline: none;
31
+ box-shadow: 4px 4px 0px 0px #000000;
32
+ }
33
  }
34
 
35
+ /* Custom scrollbar for Webkit */
36
+ ::-webkit-scrollbar {
37
+ width: 12px;
 
 
38
  }
39
 
40
+ ::-webkit-scrollbar-track {
41
+ background: #ffffff;
42
+ border-left: 2px solid #000000;
 
 
 
43
  }
44
 
45
+ ::-webkit-scrollbar-thumb {
46
+ background: #000000;
47
+ border: 2px solid #ffffff;
48
  }
49
+
50
+ ::-webkit-scrollbar-thumb:hover {
51
+ background: #333;
52
+ }