Cameronbarry commited on
Commit
80f3aa2
·
verified ·
1 Parent(s): 23e93b3

Build me a Google TV gaming focused browser - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +245 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Browser
3
- emoji: 🌖
4
- colorFrom: indigo
5
- colorTo: blue
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: browser
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: pink
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,245 @@
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">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>GameTube - Gaming Browser for Google TV</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ /* Custom scrollbar */
11
+ ::-webkit-scrollbar {
12
+ width: 8px;
13
+ height: 8px;
14
+ }
15
+ ::-webkit-scrollbar-track {
16
+ background: #1a1a1a;
17
+ }
18
+ ::-webkit-scrollbar-thumb {
19
+ background: #4f46e5;
20
+ border-radius: 4px;
21
+ }
22
+ ::-webkit-scrollbar-thumb:hover {
23
+ background: #6366f1;
24
+ }
25
+
26
+ /* Custom focus styles for TV navigation */
27
+ .focusable:focus {
28
+ outline: none;
29
+ transform: scale(1.05);
30
+ box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5);
31
+ z-index: 10;
32
+ transition: all 0.2s ease;
33
+ }
34
+
35
+ /* Pulse animation for live content */
36
+ @keyframes pulse {
37
+ 0%, 100% {
38
+ opacity: 1;
39
+ }
40
+ 50% {
41
+ opacity: 0.5;
42
+ }
43
+ }
44
+ .animate-pulse {
45
+ animation: pulse 2s infinite;
46
+ }
47
+
48
+ /* Custom gradient background */
49
+ .gradient-bg {
50
+ background: linear-gradient(135deg, #1e1b4b 0%, #111827 100%);
51
+ }
52
+ </style>
53
+ </head>
54
+ <body class="gradient-bg text-white font-sans overflow-hidden h-screen">
55
+ <!-- Main Container -->
56
+ <div class="flex flex-col h-full">
57
+ <!-- Top Navigation Bar -->
58
+ <header class="bg-black bg-opacity-80 px-6 py-4 flex items-center justify-between border-b border-gray-800">
59
+ <div class="flex items-center space-x-6">
60
+ <div class="flex items-center">
61
+ <i class="fas fa-gamepad text-indigo-500 text-3xl mr-2"></i>
62
+ <h1 class="text-2xl font-bold bg-gradient-to-r from-indigo-500 to-purple-600 bg-clip-text text-transparent">GameTube</h1>
63
+ </div>
64
+ <nav class="hidden md:flex space-x-6">
65
+ <a href="#" class="focusable px-3 py-2 rounded-lg hover:bg-gray-800 transition flex items-center">
66
+ <i class="fas fa-home mr-2"></i> Home
67
+ </a>
68
+ <a href="#" class="focusable px-3 py-2 rounded-lg hover:bg-gray-800 transition flex items-center">
69
+ <i class="fas fa-fire mr-2"></i> Trending
70
+ </a>
71
+ <a href="#" class="focusable px-3 py-2 rounded-lg hover:bg-gray-800 transition flex items-center">
72
+ <i class="fas fa-trophy mr-2"></i> Esports
73
+ </a>
74
+ <a href="#" class="focusable px-3 py-2 rounded-lg hover:bg-gray-800 transition flex items-center">
75
+ <i class="fas fa-broadcast-tower mr-2"></i> Live
76
+ </a>
77
+ </nav>
78
+ </div>
79
+ <div class="flex items-center space-x-4">
80
+ <button class="focusable p-2 rounded-full hover:bg-gray-800 transition">
81
+ <i class="fas fa-search text-xl"></i>
82
+ </button>
83
+ <button class="focusable p-2 rounded-full hover:bg-gray-800 transition">
84
+ <i class="fas fa-user-circle text-xl"></i>
85
+ </button>
86
+ </div>
87
+ </header>
88
+
89
+ <!-- Main Content Area -->
90
+ <main class="flex-1 overflow-hidden flex">
91
+ <!-- Sidebar (hidden on mobile) -->
92
+ <aside class="hidden md:block w-64 bg-black bg-opacity-50 overflow-y-auto p-4 border-r border-gray-800">
93
+ <div class="mb-8">
94
+ <h2 class="text-lg font-semibold mb-4 px-2">Categories</h2>
95
+ <ul class="space-y-2">
96
+ <li>
97
+ <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition">
98
+ <i class="fas fa-shield-alt mr-3 text-indigo-400"></i> Action
99
+ </a>
100
+ </li>
101
+ <li>
102
+ <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition">
103
+ <i class="fas fa-running mr-3 text-green-400"></i> Adventure
104
+ </a>
105
+ </li>
106
+ <li>
107
+ <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition">
108
+ <i class="fas fa-chess mr-3 text-yellow-400"></i> Strategy
109
+ </a>
110
+ </li>
111
+ <li>
112
+ <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition">
113
+ <i class="fas fa-car mr-3 text-red-400"></i> Racing
114
+ </a>
115
+ </li>
116
+ <li>
117
+ <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition">
118
+ <i class="fas fa-futbol mr-3 text-blue-400"></i> Sports
119
+ </a>
120
+ </li>
121
+ <li>
122
+ <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition">
123
+ <i class="fas fa-ghost mr-3 text-purple-400"></i> Horror
124
+ </a>
125
+ </li>
126
+ </ul>
127
+ </div>
128
+
129
+ <div class="mb-8">
130
+ <h2 class="text-lg font-semibold mb-4 px-2">Following</h2>
131
+ <ul class="space-y-2">
132
+ <li>
133
+ <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition">
134
+ <img src="https://via.placeholder.com/40" alt="Streamer" class="w-8 h-8 rounded-full mr-3">
135
+ Ninja
136
+ </a>
137
+ </li>
138
+ <li>
139
+ <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition">
140
+ <img src="https://via.placeholder.com/40" alt="Streamer" class="w-8 h-8 rounded-full mr-3">
141
+ Shroud
142
+ </a>
143
+ </li>
144
+ <li>
145
+ <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition">
146
+ <img src="https://via.placeholder.com/40" alt="Streamer" class="w-8 h-8 rounded-full mr-3">
147
+ Pokimane
148
+ </a>
149
+ </li>
150
+ <li>
151
+ <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition">
152
+ <img src="https://via.placeholder.com/40" alt="Streamer" class="w-8 h-8 rounded-full mr-3">
153
+ TimTheTatman
154
+ </a>
155
+ </li>
156
+ </ul>
157
+ </div>
158
+
159
+ <div>
160
+ <h2 class="text-lg font-semibold mb-4 px-2">Recent Games</h2>
161
+ <ul class="space-y-2">
162
+ <li>
163
+ <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition">
164
+ <img src="https://via.placeholder.com/40" alt="Game" class="w-8 h-8 rounded mr-3">
165
+ Valorant
166
+ </a>
167
+ </li>
168
+ <li>
169
+ <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition">
170
+ <img src="https://via.placeholder.com/40" alt="Game" class="w-8 h-8 rounded mr-3">
171
+ Apex Legends
172
+ </a>
173
+ </li>
174
+ <li>
175
+ <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition">
176
+ <img src="https://via.placeholder.com/40" alt="Game" class="w-8 h-8 rounded mr-3">
177
+ Call of Duty
178
+ </a>
179
+ </li>
180
+ </ul>
181
+ </div>
182
+ </aside>
183
+
184
+ <!-- Content Section -->
185
+ <section class="flex-1 overflow-y-auto p-6">
186
+ <!-- Featured Stream -->
187
+ <div class="mb-8">
188
+ <h2 class="text-2xl font-bold mb-4">Featured Live Stream</h2>
189
+ <div class="relative rounded-xl overflow-hidden focusable">
190
+ <img src="https://via.placeholder.com/1280x720" alt="Featured Stream" class="w-full h-auto">
191
+ <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
192
+ <div class="flex items-center">
193
+ <img src="https://via.placeholder.com/40" alt="Streamer" class="w-10 h-10 rounded-full mr-3">
194
+ <div>
195
+ <h3 class="font-bold text-lg">VALORANT Champions Tour - Grand Finals</h3>
196
+ <p class="text-sm text-gray-300">Riot Games • 45.2K viewers</p>
197
+ </div>
198
+ </div>
199
+ <div class="mt-2 flex items-center">
200
+ <span class="bg-red-600 text-xs px-2 py-1 rounded-full flex items-center mr-3">
201
+ <span class="w-2 h-2 bg-white rounded-full mr-1 animate-pulse"></span>
202
+ LIVE
203
+ </span>
204
+ <span class="text-sm">Day 3 • Grand Finals</span>
205
+ </div>
206
+ </div>
207
+ <div class="absolute top-4 right-4">
208
+ <button class="focusable bg-black bg-opacity-70 p-2 rounded-full hover:bg-opacity-100 transition">
209
+ <i class="fas fa-heart text-white"></i>
210
+ </button>
211
+ </div>
212
+ </div>
213
+ </div>
214
+
215
+ <!-- Trending Now -->
216
+ <div class="mb-8">
217
+ <div class="flex items-center justify-between mb-4">
218
+ <h2 class="text-2xl font-bold">Trending Now</h2>
219
+ <a href="#" class="focusable text-indigo-400 hover:text-indigo-300 transition">View All</a>
220
+ </div>
221
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4">
222
+ <!-- Game Card 1 -->
223
+ <div class="focusable bg-gray-900 rounded-xl overflow-hidden hover:bg-gray-800 transition transform hover:scale-105">
224
+ <div class="relative">
225
+ <img src="https://via.placeholder.com/400x225" alt="Game" class="w-full h-auto">
226
+ <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-2">
227
+ <span class="text-xs bg-indigo-600 px-2 py-1 rounded">NEW RELEASE</span>
228
+ </div>
229
+ </div>
230
+ <div class="p-4">
231
+ <h3 class="font-bold mb-1">Starfield</h3>
232
+ <p class="text-sm text-gray-400 mb-2">Bethesda Game Studios</p>
233
+ <div class="flex items-center text-sm">
234
+ <i class="fas fa-star text-yellow-400 mr-1"></i>
235
+ <span>4.8</span>
236
+ <span class="mx-2">•</span>
237
+ <span>RPG</span>
238
+ </div>
239
+ </div>
240
+ </div>
241
+
242
+ <!-- Game Card 2 -->
243
+ <div class="focusable bg-gray-900 rounded-xl overflow-hidden hover:bg-gray-800 transition transform hover:
244
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Cameronbarry/browser" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
245
+ </html>