File size: 15,646 Bytes
99e5820
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
276a2de
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Python Pixels Paradise</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
    <style>
        .hero-bg {
            background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
        }
        .code-card {
            transition: all 0.3s ease;
        }
        .code-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .course-progress {
            height: 6px;
        }
    </style>
</head>
<body class="bg-gray-50 font-sans">
    <!-- Navbar -->
    <nav class="bg-white shadow-sm py-4">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16">
                <div class="flex items-center">
                    <div class="flex-shrink-0 flex items-center">
                        <i data-feather="code" class="text-indigo-600 h-8 w-8"></i>
                        <span class="ml-2 text-xl font-bold text-gray-900">Python Pixels</span>
                    </div>
                </div>
                <div class="hidden sm:ml-6 sm:flex sm:space-x-8">
                    <a href="#" class="border-indigo-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Home</a>
                    <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Tutorials</a>
                    <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Courses</a>
                    <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Community</a>
                </div>
                <div class="flex items-center">
                    <button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
                        <i data-feather="upload" class="mr-2 w-4 h-4"></i> Upload
                    </button>
                </div>
            </div>
        </div>
    </nav>

    <!-- Hero Section -->
    <div class="hero-bg text-white" id="vanta-bg">
        <div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
            <div class="text-center">
                <h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl lg:text-6xl">
                    Share Your Python Journey
                </h1>
                <p class="mt-6 max-w-lg mx-auto text-xl">
                    Upload your Python materials with screenshots, join the community, and grow together.
                </p>
                <div class="mt-10">
                    <a href="#" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-indigo-700 bg-white hover:bg-gray-100">
                        Get Started
                    </a>
                    <a href="#" class="ml-4 inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-700 bg-opacity-60 hover:bg-opacity-70">
                        <i data-feather="play" class="mr-2 w-4 h-4"></i> Watch Demo
                    </a>
                </div>
            </div>
        </div>
        <script>
            VANTA.GLOBE({
                el: "#vanta-bg",
                mouseControls: true,
                touchControls: true,
                gyroControls: false,
                minHeight: 200.00,
                minWidth: 200.00,
                scale: 1.00,
                scaleMobile: 1.00,
                color: 0x7c3aed,
                backgroundColor: 0x4f46e5
            })
        </script>
    </div>

    <!-- Featured Content -->
    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
        <h2 class="text-2xl font-bold text-gray-900 mb-8">Featured Python Materials</h2>
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
            <!-- Card 1 -->
            <div class="code-card bg-white rounded-lg shadow-md overflow-hidden">
                <img class="w-full h-48 object-cover" src="http://static.photos/technology/640x360/1" alt="Python tutorial">
                <div class="p-6">
                    <div class="flex items-center">
                        <span class="inline-block bg-indigo-100 text-indigo-800 text-xs px-2 rounded-full uppercase font-semibold tracking-wide">Beginner</span>
                        <span class="ml-2 text-gray-600 text-xs">3 days ago</span>
                    </div>
                    <h3 class="mt-2 text-xl font-semibold text-gray-900">Python Basics Crash Course</h3>
                    <p class="mt-2 text-gray-600">Learn the fundamentals of Python programming with this comprehensive guide.</p>
                    <div class="mt-4 flex items-center">
                        <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/1" alt="Author">
                        <div class="ml-3">
                            <p class="text-sm font-medium text-gray-900">Sarah Developer</p>
                            <p class="text-sm text-gray-500">Python Expert</p>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Card 2 -->
            <div class="code-card bg-white rounded-lg shadow-md overflow-hidden">
                <img class="w-full h-48 object-cover" src="http://static.photos/technology/640x360/2" alt="Python tutorial">
                <div class="p-6">
                    <div class="flex items-center">
                        <span class="inline-block bg-purple-100 text-purple-800 text-xs px-2 rounded-full uppercase font-semibold tracking-wide">Advanced</span>
                        <span class="ml-2 text-gray-600 text-xs">1 week ago</span>
                    </div>
                    <h3 class="mt-2 text-xl font-semibold text-gray-900">Data Analysis with Pandas</h3>
                    <p class="mt-2 text-gray-600">Master data manipulation and analysis using Python's powerful Pandas library.</p>
                    <div class="mt-4 flex items-center">
                        <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/2" alt="Author">
                        <div class="ml-3">
                            <p class="text-sm font-medium text-gray-900">Alex Data</p>
                            <p class="text-sm text-gray-500">Data Scientist</p>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Card 3 -->
            <div class="code-card bg-white rounded-lg shadow-md overflow-hidden">
                <img class="w-full h-48 object-cover" src="http://static.photos/technology/640x360/3" alt="Python tutorial">
                <div class="p-6">
                    <div class="flex items-center">
                        <span class="inline-block bg-green-100 text-green-800 text-xs px-2 rounded-full uppercase font-semibold tracking-wide">Intermediate</span>
                        <span class="ml-2 text-gray-600 text-xs">2 days ago</span>
                    </div>
                    <h3 class="mt-2 text-xl font-semibold text-gray-900">Web Scraping with BeautifulSoup</h3>
                    <p class="mt-2 text-gray-600">Extract data from websites efficiently with Python's BeautifulSoup library.</p>
                    <div class="mt-4 flex items-center">
                        <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/3" alt="Author">
                        <div class="ml-3">
                            <p class="text-sm font-medium text-gray-900">Jamie Scraper</p>
                            <p class="text-sm text-gray-500">Web Developer</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Course Section -->
    <div class="bg-gray-100 py-12">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <h2 class="text-2xl font-bold text-gray-900 mb-8">Featured Python Course</h2>
            <div class="bg-white rounded-lg shadow-lg overflow-hidden">
                <div class="md:flex">
                    <div class="md:w-1/2">
                        <img class="h-full w-full object-cover" src="http://static.photos/technology/1200x630/4" alt="Python Course">
                    </div>
                    <div class="p-8 md:w-1/2">
                        <div class="uppercase tracking-wide text-sm text-indigo-600 font-semibold">30-Day Challenge</div>
                        <h3 class="mt-2 text-2xl font-semibold text-gray-900">Python Mastery: From Zero to Hero</h3>
                        <p class="mt-4 text-gray-600">
                            Our comprehensive Python course covers everything from basic syntax to advanced concepts like decorators and generators.
                        </p>
                        <div class="mt-6">
                            <div class="flex justify-between mb-1">
                                <span class="text-sm font-medium text-gray-700">Course Progress</span>
                                <span class="text-sm font-medium text-gray-700">25%</span>
                            </div>
                            <div class="w-full bg-gray-200 rounded-full h-2.5 course-progress">
                                <div class="bg-indigo-600 h-2.5 rounded-full" style="width: 25%"></div>
                            </div>
                        </div>
                        <div class="mt-8">
                            <div class="flex items-center">
                                <i data-feather="clock" class="text-gray-500 w-5 h-5"></i>
                                <span class="ml-2 text-gray-600">30 hours of content</span>
                            </div>
                            <div class="flex items-center mt-2">
                                <i data-feather="book" class="text-gray-500 w-5 h-5"></i>
                                <span class="ml-2 text-gray-600">15 modules</span>
                            </div>
                            <div class="flex items-center mt-2">
                                <i data-feather="award" class="text-gray-500 w-5 h-5"></i>
                                <span class="ml-2 text-gray-600">Certificate upon completion</span>
                            </div>
                        </div>
                        <div class="mt-8">
                            <button class="w-full bg-indigo-600 hover:bg-indigo-700 text-white px-6 py-3 rounded-md text-sm font-medium">
                                Continue Learning
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Upload Section -->
    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
        <div class="text-center">
            <h2 class="text-2xl font-bold text-gray-900 mb-2">Share Your Python Knowledge</h2>
            <p class="text-lg text-gray-600 max-w-3xl mx-auto">
                Upload your Python tutorials, code snippets with screenshots, and help others in their learning journey.
            </p>
            <div class="mt-10">
                <div class="max-w-lg mx-auto bg-white rounded-xl shadow-md overflow-hidden p-6">
                    <div class="flex flex-col items-center justify-center border-2 border-dashed border-gray-300 rounded-lg p-8">
                        <i data-feather="upload-cloud" class="text-indigo-600 w-12 h-12"></i>
                        <h4 class="mt-4 text-lg font-medium text-gray-900">Drag and drop your files here</h4>
                        <p class="mt-1 text-sm text-gray-500">Supports JPG, PNG, and PDF up to 10MB</p>
                        <button class="mt-4 bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-md text-sm font-medium">
                            Select Files
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Footer -->
    <footer class="bg-gray-800 text-white">
        <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <div>
                    <h3 class="text-lg font-semibold mb-4">Python Pixels</h3>
                    <p class="text-gray-400">
                        A platform for Python enthusiasts to share knowledge, learn together, and grow their skills.
                    </p>
                    <div class="flex mt-4 space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white">
                            <i data-feather="twitter" class="w-5 h-5"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white">
                            <i data-feather="github" class="w-5 h-5"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white">
                            <i data-feather="linkedin" class="w-5 h-5"></i>
                        </a>
                    </div>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">Quick Links</h3>
                    <ul class="space-y-2">
                        <li><a href="#" class="text-gray-400 hover:text-white">Home</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Tutorials</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Courses</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Community</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white">Upload</a></li>
                    </ul>
                </div>
                <div>
                    <h3 class="text-lg font-semibold mb-4">Newsletter</h3>
                    <p class="text-gray-400 mb-4">
                        Subscribe to get updates on new tutorials, courses, and community events.
                    </p>
                    <div class="flex">
                        <input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-md w-full text-gray-900">
                        <button class="bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-r-md">
                            <i data-feather="send" class="w-4 h-4"></i>
                        </button>
                    </div>
                </div>
            </div>
            <div class="mt-12 pt-8 border-t border-gray-700 text-center text-gray-400 text-sm">
                &copy; 2023 Python Pixels Paradise. All rights reserved.
            </div>
        </div>
    </footer>

    <script>
        feather.replace();
    </script>
</body>
</html>