DeepTaj commited on
Commit
1934f44
·
verified ·
1 Parent(s): c07e4d8

Создай сайт про язык питон с именнем TV Small Company

Browse files
Files changed (2) hide show
  1. README.md +8 -5
  2. index.html +297 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Pythonic Tv Small Wonders
3
- emoji: 🏃
4
- colorFrom: indigo
5
- colorTo: purple
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: Pythonic TV Small Wonders 🐍📺
3
+ colorFrom: red
4
+ colorTo: red
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://deepsite.hf.co).
index.html CHANGED
@@ -1,19 +1,298 @@
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>Pythonic TV | Small Wonders</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://unpkg.com/feather-icons"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
11
+ <style>
12
+ .hero-bg {
13
+ background: linear-gradient(135deg, #3776ab 0%, #ffde57 100%);
14
+ }
15
+ .code-block {
16
+ font-family: 'Courier New', monospace;
17
+ background-color: #2d2d2d;
18
+ color: #f8f8f2;
19
+ border-radius: 0.5rem;
20
+ }
21
+ .python-yellow {
22
+ color: #ffde57;
23
+ }
24
+ .python-blue {
25
+ color: #3776ab;
26
+ }
27
+ </style>
28
+ </head>
29
+ <body class="bg-gray-100">
30
+ <!-- Navigation -->
31
+ <nav class="bg-white shadow-lg">
32
+ <div class="max-w-6xl mx-auto px-4">
33
+ <div class="flex justify-between">
34
+ <div class="flex space-x-7">
35
+ <div>
36
+ <a href="#" class="flex items-center py-4 px-2">
37
+ <span class="font-semibold text-gray-500 text-lg">TV Small</span>
38
+ <span class="python-blue font-bold text-lg ml-1">Python</span>
39
+ <span class="font-semibold text-gray-500 text-lg">1</span>
40
+ </a>
41
+ </div>
42
+ </div>
43
+ <div class="hidden md:flex items-center space-x-3">
44
+ <a href="#" class="py-4 px-2 text-gray-500 border-b-4 border-blue-500 font-semibold">Home</a>
45
+ <a href="#" class="py-4 px-2 text-gray-500 hover:text-blue-500 transition duration-300">Tutorials</a>
46
+ <a href="#" class="py-4 px-2 text-gray-500 hover:text-blue-500 transition duration-300">Projects</a>
47
+ <a href="#" class="py-4 px-2 text-gray-500 hover:text-blue-500 transition duration-300">About</a>
48
+ </div>
49
+ <div class="md:hidden flex items-center">
50
+ <button class="outline-none mobile-menu-button">
51
+ <i data-feather="menu"></i>
52
+ </button>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </nav>
57
+
58
+ <!-- Hero Section -->
59
+ <div id="hero" class="hero-bg py-20">
60
+ <div class="container mx-auto px-6">
61
+ <div class="flex flex-col md:flex-row items-center">
62
+ <div class="md:w-1/2 mb-10 md:mb-0">
63
+ <h1 class="text-4xl md:text-5xl font-bold text-white mb-4">
64
+ Learn <span class="python-yellow">Python</span> the <span class="underline">Fun</span> Way
65
+ </h1>
66
+ <p class="text-xl text-white mb-8">
67
+ Small bites of Python wisdom from TV Small Company 1.
68
+ Perfect for beginners and pros alike!
69
+ </p>
70
+ <button class="bg-white text-blue-500 hover:bg-gray-100 px-6 py-3 rounded-full font-bold uppercase tracking-wider">
71
+ Start Learning
72
+ </button>
73
+ </div>
74
+ <div class="md:w-1/2">
75
+ <div class="code-block p-6">
76
+ <pre class="text-sm md:text-base">
77
+ <span class="python-blue">def</span> <span class="text-green-400">main</span>():
78
+ <span class="python-blue">print</span>(<span class="text-yellow-300">"Hello Pythonic World!"</span>)
79
+
80
+ <span class="text-gray-500"># Run the program</span>
81
+ <span class="text-purple-400">if</span> __name__ == <span class="text-yellow-300">"__main__"</span>:
82
+ main()</pre>
83
+ </div>
84
+ </div>
85
+ </div>
86
+ </div>
87
+ </div>
88
+
89
+ <!-- Features Section -->
90
+ <section class="py-16 bg-white">
91
+ <div class="container mx-auto px-6">
92
+ <h2 class="text-3xl font-bold text-center text-gray-800 mb-8">
93
+ Why Learn With Us?
94
+ </h2>
95
+ <div class="flex flex-col md:flex-row">
96
+ <div class="flex-1 px-4 py-6 text-center">
97
+ <div class="w-20 h-20 mx-auto bg-blue-100 rounded-full flex items-center justify-center mb-4">
98
+ <i data-feather="code" class="python-blue w-10 h-10"></i>
99
+ </div>
100
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">Practical Examples</h3>
101
+ <p class="text-gray-600">
102
+ Real-world code snippets that you can use immediately in your projects.
103
+ </p>
104
+ </div>
105
+ <div class="flex-1 px-4 py-6 text-center">
106
+ <div class="w-20 h-20 mx-auto bg-yellow-100 rounded-full flex items-center justify-center mb-4">
107
+ <i data-feather="tv" class="python-yellow w-10 h-10"></i>
108
+ </div>
109
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">TV-Style Learning</h3>
110
+ <p class="text-gray-600">
111
+ Bite-sized lessons designed like your favorite TV show episodes.
112
+ </p>
113
+ </div>
114
+ <div class="flex-1 px-4 py-6 text-center">
115
+ <div class="w-20 h-20 mx-auto bg-green-100 rounded-full flex items-center justify-center mb-4">
116
+ <i data-feather="zap" class="text-green-500 w-10 h-10"></i>
117
+ </div>
118
+ <h3 class="text-xl font-semibold text-gray-800 mb-2">Quick & Effective</h3>
119
+ <p class="text-gray-600">
120
+ Learn Python concepts fast with our focused, no-fluff approach.
121
+ </p>
122
+ </div>
123
+ </div>
124
+ </div>
125
+ </section>
126
+
127
+ <!-- Python Basics Section -->
128
+ <section class="py-16 bg-gray-100">
129
+ <div class="container mx-auto px-6">
130
+ <h2 class="text-3xl font-bold text-center text-gray-800 mb-12">
131
+ Python Basics
132
+ </h2>
133
+ <div class="flex flex-wrap -mx-4">
134
+ <div class="w-full md:w-1/3 px-4 mb-8">
135
+ <div class="bg-white rounded-lg overflow-hidden shadow-lg">
136
+ <div class="bg-blue-500 py-3 px-4">
137
+ <h3 class="text-white font-semibold">Variables</h3>
138
+ </div>
139
+ <div class="p-4">
140
+ <div class="code-block p-4 mb-4">
141
+ <pre class="text-sm">
142
+ <span class="text-gray-500"># Simple variable assignment</span>
143
+ name = <span class="text-yellow-300">"Python"</span>
144
+ version = <span class="text-purple-400">3.9</span>
145
+ is_awesome = <span class="python-blue">True</span></pre>
146
+ </div>
147
+ <button class="text-blue-500 hover:text-blue-700 text-sm font-semibold">
148
+ Learn More →
149
+ </button>
150
+ </div>
151
+ </div>
152
+ </div>
153
+ <div class="w-full md:w-1/3 px-4 mb-8">
154
+ <div class="bg-white rounded-lg overflow-hidden shadow-lg">
155
+ <div class="bg-yellow-500 py-3 px-4">
156
+ <h3 class="text-white font-semibold">Functions</h3>
157
+ </div>
158
+ <div class="p-4">
159
+ <div class="code-block p-4 mb-4">
160
+ <pre class="text-sm">
161
+ <span class="python-blue">def</span> <span class="text-green-400">greet</span>(name):
162
+ <span class="python-blue">return</span> <span class="text-yellow-300">f"Hello, {name}!"</span>
163
+
164
+ <span class="text-gray-500"># Function call</span>
165
+ message = greet(<span class="text-yellow-300">"TV Small Viewer"</span>)</pre>
166
+ </div>
167
+ <button class="text-blue-500 hover:text-blue-700 text-sm font-semibold">
168
+ Learn More →
169
+ </button>
170
+ </div>
171
+ </div>
172
+ </div>
173
+ <div class="w-full md:w-1/3 px-4 mb-8">
174
+ <div class="bg-white rounded-lg overflow-hidden shadow-lg">
175
+ <div class="bg-green-500 py-3 px-4">
176
+ <h3 class="text-white font-semibold">Loops</h3>
177
+ </div>
178
+ <div class="p-4">
179
+ <div class="code-block p-4 mb-4">
180
+ <pre class="text-sm">
181
+ <span class="text-gray-500"># For loop example</span>
182
+ <span class="python-blue">for</span> i <span class="python-blue">in</span> <span class="text-purple-400">range</span>(<span class="text-purple-400">5</span>):
183
+ <span class="python-blue">print</span>(i) <span class="text-gray-500"># Prints 0 to 4</span></pre>
184
+ </div>
185
+ <button class="text-blue-500 hover:text-blue-700 text-sm font-semibold">
186
+ Learn More →
187
+ </button>
188
+ </div>
189
+ </div>
190
+ </div>
191
+ </div>
192
+ </div>
193
+ </section>
194
+
195
+ <!-- Newsletter Section -->
196
+ <section class="py-16 bg-blue-600 text-white">
197
+ <div class="container mx-auto px-6 text-center">
198
+ <h2 class="text-3xl font-bold mb-6">Get Python Tips Weekly</h2>
199
+ <p class="text-xl mb-8 max-w-2xl mx-auto">
200
+ Join our newsletter and receive small, digestible Python lessons straight to your inbox.
201
+ </p>
202
+ <div class="max-w-md mx-auto flex">
203
+ <input type="email" placeholder="Your email address" class="flex-1 px-4 py-3 rounded-l-lg focus:outline-none text-gray-800">
204
+ <button class="bg-yellow-500 hover:bg-yellow-600 text-blue-800 font-bold px-6 py-3 rounded-r-lg">
205
+ Subscribe
206
+ </button>
207
+ </div>
208
+ </div>
209
+ </section>
210
+
211
+ <!-- Footer -->
212
+ <footer class="bg-gray-800 text-white py-12">
213
+ <div class="container mx-auto px-6">
214
+ <div class="flex flex-col md:flex-row justify-between">
215
+ <div class="mb-8 md:mb-0">
216
+ <h3 class="text-xl font-bold mb-4">TV Small Python 1</h3>
217
+ <p class="text-gray-400 max-w-xs">
218
+ Making Python learning fun, accessible, and TV-style entertaining since 2023.
219
+ </p>
220
+ </div>
221
+ <div class="grid grid-cols-2 md:grid-cols-3 gap-8">
222
+ <div>
223
+ <h4 class="font-semibold mb-4">Learn</h4>
224
+ <ul class="space-y-2">
225
+ <li><a href="#" class="text-gray-400 hover:text-white">Basics</a></li>
226
+ <li><a href="#" class="text-gray-400 hover:text-white">Intermediate</a></li>
227
+ <li><a href="#" class="text-gray-400 hover:text-white">Advanced</a></li>
228
+ </ul>
229
+ </div>
230
+ <div>
231
+ <h4 class="font-semibold mb-4">Resources</h4>
232
+ <ul class="space-y-2">
233
+ <li><a href="#" class="text-gray-400 hover:text-white">Cheatsheets</a></li>
234
+ <li><a href="#" class="text-gray-400 hover:text-white">Projects</a></li>
235
+ <li><a href="#" class="text-gray-400 hover:text-white">Community</a></li>
236
+ </ul>
237
+ </div>
238
+ <div>
239
+ <h4 class="font-semibold mb-4">Company</h4>
240
+ <ul class="space-y-2">
241
+ <li><a href="#" class="text-gray-400 hover:text-white">About</a></li>
242
+ <li><a href="#" class="text-gray-400 hover:text-white">Contact</a></li>
243
+ <li><a href="#" class="text-gray-400 hover:text-white">Careers</a></li>
244
+ </ul>
245
+ </div>
246
+ </div>
247
+ </div>
248
+ <div class="border-t border-gray-700 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
249
+ <p class="text-gray-400 mb-4 md:mb-0">
250
+ © 2023 TV Small Python 1. All rights reserved.
251
+ </p>
252
+ <div class="flex space-x-6">
253
+ <a href="#" class="text-gray-400 hover:text-white">
254
+ <i data-feather="twitter"></i>
255
+ </a>
256
+ <a href="#" class="text-gray-400 hover:text-white">
257
+ <i data-feather="github"></i>
258
+ </a>
259
+ <a href="#" class="text-gray-400 hover:text-white">
260
+ <i data-feather="youtube"></i>
261
+ </a>
262
+ <a href="#" class="text-gray-400 hover:text-white">
263
+ <i data-feather="linkedin"></i>
264
+ </a>
265
+ </div>
266
+ </div>
267
+ </div>
268
+ </footer>
269
+
270
+ <script>
271
+ // Initialize Vanta.js globe
272
+ VANTA.GLOBE({
273
+ el: "#hero",
274
+ mouseControls: true,
275
+ touchControls: true,
276
+ gyroControls: false,
277
+ minHeight: 200.00,
278
+ minWidth: 200.00,
279
+ scale: 1.00,
280
+ scaleMobile: 1.00,
281
+ color: 0x3776ab,
282
+ backgroundColor: 0x0,
283
+ size: 0.8
284
+ });
285
+
286
+ // Mobile menu toggle
287
+ const btn = document.querySelector('.mobile-menu-button');
288
+ const menu = document.querySelector('.mobile-menu');
289
+
290
+ btn.addEventListener('click', () => {
291
+ menu.classList.toggle('hidden');
292
+ });
293
+
294
+ // Initialize feather icons
295
+ feather.replace();
296
+ </script>
297
+ </body>
298
  </html>