Animedada commited on
Commit
7e4379c
·
verified ·
1 Parent(s): 8a869f2

Can you make a website that helps people learn and to teach them self with lessons about electricians - Initial Deployment

Browse files
Files changed (4) hide show
  1. README.md +7 -5
  2. electricians.html +143 -0
  3. index.html +72 -19
  4. prompts.txt +2 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Learn Electrical
3
- emoji: 🐢
4
- colorFrom: green
5
- colorTo: red
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: learn-electrical
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: blue
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
electricians.html ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>Electrician Learning Hub</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
10
+ <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
12
+ <style>
13
+ .lesson-card {
14
+ transition: all 0.3s ease;
15
+ }
16
+ .lesson-card:hover {
17
+ transform: translateY(-5px);
18
+ box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
19
+ }
20
+ .safety-banner {
21
+ background-image: linear-gradient(to right, #ff4b1f, #ff9068);
22
+ }
23
+ </style>
24
+ </head>
25
+ <body class="bg-gray-50">
26
+ <!-- Navigation -->
27
+ <nav class="bg-white shadow-sm">
28
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
29
+ <div class="flex justify-between h-16 items-center">
30
+ <div class="flex-shrink-0 flex items-center">
31
+ <span class="text-xl font-bold text-indigo-600">ElectricianHub</span>
32
+ </div>
33
+ <div class="hidden md:block">
34
+ <div class="ml-10 flex items-center space-x-4">
35
+ <a href="index.html" class="text-gray-500 hover:text-gray-900 px-3 py-2 rounded-md text-sm font-medium">Home</a>
36
+ <a href="electricians.html" class="text-gray-900 px-3 py-2 rounded-md text-sm font-medium">Lessons</a>
37
+ <a href="#" class="text-gray-500 hover:text-gray-900 px-3 py-2 rounded-md text-sm font-medium">Tools</a>
38
+ <a href="#" class="text-gray-500 hover:text-gray-900 px-3 py-2 rounded-md text-sm font-medium">Safety</a>
39
+ </div>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </nav>
44
+
45
+ <!-- Hero Section -->
46
+ <section class="py-20 bg-gradient-to-r from-indigo-500 to-blue-600 text-white">
47
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
48
+ <h1 class="text-4xl md:text-5xl font-bold mb-6">Electrician Learning Hub</h1>
49
+ <p class="text-xl mb-8">Master electrical skills with our comprehensive lessons and tutorials</p>
50
+ <div class="flex justify-center space-x-4">
51
+ <button class="bg-white text-indigo-600 px-6 py-3 rounded-md font-medium hover:bg-gray-100 transition duration-300">Beginner Lessons</button>
52
+ <button class="bg-transparent border-2 border-white text-white px-6 py-3 rounded-md font-medium hover:bg-white hover:text-indigo-600 transition duration-300">Advanced Courses</button>
53
+ </div>
54
+ </div>
55
+ </section>
56
+
57
+ <!-- Safety Banner -->
58
+ <div class="safety-banner py-4 text-white text-center">
59
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
60
+ <p class="font-bold"><i data-feather="alert-triangle" class="inline mr-2"></i> Always follow safety procedures when working with electricity</p>
61
+ </div>
62
+ </div>
63
+
64
+ <!-- Lessons Section -->
65
+ <section class="py-16">
66
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
67
+ <h2 class="text-3xl font-bold mb-12 text-center">Popular Lessons</h2>
68
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
69
+ <!-- Lesson 1 -->
70
+ <div class="lesson-card bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-up">
71
+ <img src="http://static.photos/technology/640x360/101" alt="Electrical Basics" class="w-full h-48 object-cover">
72
+ <div class="p-6">
73
+ <h3 class="text-xl font-bold mb-2">Electrical Fundamentals</h3>
74
+ <p class="text-gray-600 mb-4">Learn the basics of electricity, circuits, and components.</p>
75
+ <div class="flex justify-between items-center">
76
+ <span class="text-sm text-indigo-600 font-medium">Beginner</span>
77
+ <button class="text-indigo-600 hover:text-indigo-800 font-medium">Start Lesson</button>
78
+ </div>
79
+ </div>
80
+ </div>
81
+
82
+ <!-- Lesson 2 -->
83
+ <div class="lesson-card bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="100">
84
+ <img src="http://static.photos/construction/640x360/102" alt="Wiring" class="w-full h-48 object-cover">
85
+ <div class="p-6">
86
+ <h3 class="text-xl font-bold mb-2">Residential Wiring</h3>
87
+ <p class="text-gray-600 mb-4">Master home electrical systems and wiring techniques.</p>
88
+ <div class="flex justify-between items-center">
89
+ <span class="text-sm text-indigo-600 font-medium">Intermediate</span>
90
+ <button class="text-indigo-600 hover:text-indigo-800 font-medium">Start Lesson</button>
91
+ </div>
92
+ </div>
93
+ </div>
94
+
95
+ <!-- Lesson 3 -->
96
+ <div class="lesson-card bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="200">
97
+ <img src="http://static.photos/industry/640x360/103" alt="Safety" class="w-full h-48 object-cover">
98
+ <div class="p-6">
99
+ <h3 class="text-xl font-bold mb-2">Electrical Safety</h3>
100
+ <p class="text-gray-600 mb-4">Essential safety procedures and protective equipment.</p>
101
+ <div class="flex justify-between items-center">
102
+ <span class="text-sm text-indigo-600 font-medium">All Levels</span>
103
+ <button class="text-indigo-600 hover:text-indigo-800 font-medium">Start Lesson</button>
104
+ </div>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ </div>
109
+ </section>
110
+
111
+ <!-- Features Section -->
112
+ <section class="py-16 bg-gray-100">
113
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
114
+ <div class="text-center mb-12">
115
+ <h2 class="text-3xl font-bold">Learning Approach</h2>
116
+ <p class="text-gray-600 mt-4 max-w-2xl mx-auto">Our structured curriculum helps you progress from basics to advanced techniques</p>
117
+ </div>
118
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
119
+ <div class="text-center p-6" data-aos="fade-up">
120
+ <i data-feather="book" class="w-12 h-12 text-indigo-600 mx-auto mb-4"></i>
121
+ <h3 class="text-xl font-bold mb-2">Step-by-Step Lessons</h3>
122
+ <p class="text-gray-600">Detailed tutorials with clear explanations and diagrams</p>
123
+ </div>
124
+ <div class="text-center p-6" data-aos="fade-up" data-aos-delay="100">
125
+ <i data-feather="video" class="w-12 h-12 text-indigo-600 mx-auto mb-4"></i>
126
+ <h3 class="text-xl font-bold mb-2">Video Demonstrations</h3>
127
+ <p class="text-gray-600">Watch professionals perform electrical work correctly</p>
128
+ </div>
129
+ <div class="text-center p-6" data-aos="fade-up" data-aos-delay="200">
130
+ <i data-feather="check-circle" class="w-12 h-12 text-indigo-600 mx-auto mb-4"></i>
131
+ <h3 class="text-xl font-bold mb-2">Practical Exercises</h3>
132
+ <p class="text-gray-600">Hands-on projects to apply what you've learned</p>
133
+ </div>
134
+ </div>
135
+ </div>
136
+ </section>
137
+
138
+ <script>
139
+ AOS.init();
140
+ feather.replace();
141
+ </script>
142
+ </body>
143
+ </html>
index.html CHANGED
@@ -1,19 +1,72 @@
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>Modern UI Design</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
10
+ <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
12
+ <script src="https://unpkg.com/feather-icons"></script>
13
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
14
+ <style>
15
+ .hero-section {
16
+ height: 100vh;
17
+ position: relative;
18
+ overflow: hidden;
19
+ }
20
+ .gradient-text {
21
+ background: linear-gradient(90deg, #3b82f6, #8b5cf6);
22
+ -webkit-background-clip: text;
23
+ background-clip: text;
24
+ color: transparent;
25
+ }
26
+ .card-hover:hover {
27
+ transform: translateY(-10px);
28
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
29
+ }
30
+ </style>
31
+ </head>
32
+ <body class="bg-gray-50">
33
+ <!-- Navigation -->
34
+ <nav class="fixed w-full bg-white/80 backdrop-blur-md z-50 shadow-sm">
35
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
36
+ <div class="flex justify-between h-16 items-center">
37
+ <div class="flex-shrink-0 flex items-center">
38
+ <span class="text-xl font-bold text-indigo-600">ModernUI</span>
39
+ </div>
40
+ <div class="hidden md:block">
41
+ <div class="ml-10 flex items-center space-x-4">
42
+ <a href="index.html" class="text-gray-900 px-3 py-2 rounded-md text-sm font-medium">Home</a>
43
+ <a href="electricians.html" class="text-gray-500 hover:text-gray-900 px-3 py-2 rounded-md text-sm font-medium">Electrician Lessons</a>
44
+ <a href="#" class="text-gray-500 hover:text-gray-900 px-3 py-2 rounded-md text-sm font-medium">Pricing</a>
45
+ <a href="#" class="text-gray-500 hover:text-gray-900 px-3 py-2 rounded-md text-sm font-medium">About</a>
46
+ <a href="#" class="text-gray-500 hover:text-gray-900 px-3 py-2 rounded-md text-sm font-medium">Contact</a>
47
+ </div>
48
+ </div>
49
+ <div class="hidden md:block">
50
+ <button class="bg-indigo-600 text-white px-4 py-2 rounded-md text-sm font-medium hover:bg-indigo-700 transition duration-300">Get Started</button>
51
+ </div>
52
+ <div class="md:hidden">
53
+ <button class="text-gray-500 hover:text-gray-900 focus:outline-none">
54
+ <i data-feather="menu"></i>
55
+ </button>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ </nav>
60
+
61
+ <!-- Hero Section -->
62
+ <section class="hero-section" id="vanta-globe">
63
+ <div class="absolute inset-0 bg-black/20"></div>
64
+ <div class="relative h-full flex items-center justify-center px-4 sm:px-6 lg:px-8">
65
+ <div class="text-center max-w-3xl mx-auto" data-aos="fade-up">
66
+ <h1 class="text-4xl md:text-6xl font-bold text-white mb-6">Build <span class="gradient-text">Stunning</span> Websites</h1>
67
+ <p class="text-lg md:text-xl text-gray-200 mb-8">Create beautiful, responsive websites with our cutting-edge design system and powerful tools.</p>
68
+ <div class="flex justify-center space-x-4">
69
+ <button class="bg-white text-indigo-600 px-6 py-3 rounded-md font-medium hover:bg-gray-100 transition duration-300">Explore Features</button>
70
+ <
71
+ </body>
72
+ </html>
prompts.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ yo
2
+ Can you make a website that helps people learn and to teach them self with lessons about electricians