-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
275 lines (275 loc) · 10.4 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en" class="scroll-smooth">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DailyPractice -elearning App</title>
<!-- font -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet"
/>
<!-- Tailwindcss -->
<link rel="stylesheet" href="assets/css/main.css" />
</head>
<body>
<header class="bg-darkBlue py-5 select-none px-10 flex justify-between items-center">
<div class="text-white poppins-bold text-xl">DailyTechPractice</div>
<div class="text-white flex items-center space-x-5 poppins-medium">
<a href="#" class="hover:text-yellow cursor-pointer">Home</a>
<a href="#course-section" class="hover:text-yellow cursor-pointer"
>Courses</a
>
<a href="https://github.com/san1234100/elearning-website" target="_blank" class="hover:text-yellow cursor-pointer">
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 16 16" class="fill-white hover:fill-yellow"><path d="M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38c0-.27.01-1.13.01-2.2c0-.75-.25-1.23-.54-1.48c1.78-.2 3.65-.88 3.65-3.95c0-.88-.31-1.59-.82-2.15c.08-.2.36-1.02-.08-2.12c0 0-.67-.22-2.2.82c-.64-.18-1.32-.27-2-.27c-.68 0-1.36.09-2 .27c-1.53-1.03-2.2-.82-2.2-.82c-.44 1.1-.16 1.92-.08 2.12c-.51.56-.82 1.28-.82 2.15c0 3.06 1.86 3.75 3.64 3.95c-.23.2-.44.55-.51 1.07c-.46.21-1.61.55-2.33-.66c-.15-.24-.6-.83-1.23-.82c-.67.01-.27.38.01.53c.34.19.73.9.82 1.13c.16.45.68 1.31 2.69.94c0 .67.01 1.3.01 1.49c0 .21-.15.45-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8"/></svg>
</a>
</div>
</header>
<!-- hero page -->
<section class="bg-darkBlue select-none h-screen px-10">
<div class="pt-20 flex items-center space-x-10">
<div>
<div class="poppins-semibold text-4xl text-white">
Welcome to our
<span class="text-yellow">DailyTech family!</span>
</div>
<h1 class="text-4xl text-white mt-4 poppins-light mb-10" >
Experience the joy of learning <br />
anytime,anywhere.
</h1>
<a href="#course-section"
class="px-4 py-2 bg-yellow hover:bg-[#f19c25] text-white poppins-medium rounded"
>
View all courses
</a>
</div>
<div class="">
<img
src="./assets/images/bg-hero.png"
width="650"
height="700"
alt=""
/>
</div>
</div>
</section>
<!-- details -->
<section class="bg-[#201658] select-none h-36 p-5 flex justify-around">
<div
class="bg-white w-72 rounded-lg text-[#201658] p-10 flex items-center space-x-6"
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="55"
height="55"
viewBox="0 0 48 48"
class="fill-current"
>
<path
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
d="M8.843 43.5h30.314"
/>
<rect
width="7.052"
height="26.896"
x="13.422"
y="13.573"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
rx="1.655"
/>
<path
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
d="M13.422 18.616h7.052"
/>
<rect
width="7.052"
height="26.896"
x="20.474"
y="13.573"
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
rx="1.655"
/>
<path
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
d="M20.474 18.616h7.052"
/>
<rect
width="7.052"
height="26.896"
x="27.526"
y="13.573"
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
rx="1.655"
/>
<path
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
d="M27.526 18.616h7.052m2.934-1.614C37.512 8.982 32.021 4.5 24 4.5S10.488 8.981 10.488 17.002m-.984 0h.984v9.513h0h-.984a3.263 3.263 0 0 1-3.262-3.262v-2.988a3.263 3.263 0 0 1 3.262-3.263m28.991 9.514h-.984h0v-9.513h.984a3.263 3.263 0 0 1 3.263 3.262v2.988a3.263 3.263 0 0 1-3.263 3.263"
/>
</svg>
<div class="font-bold text-3xl">500+ courses</div>
</div>
<div
class="bg-white w-72 rounded-lg text-[#201658] p-10 flex items-center space-x-6"
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="60"
height="55"
viewBox="0 0 640 512"
class="fill-current"
>
<path
d="M96 128a128 128 0 1 1 256 0a128 128 0 1 1-256 0M0 482.3C0 383.8 79.8 304 178.3 304h91.4c98.5 0 178.3 79.8 178.3 178.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3M609.3 512H471.4c5.4-9.4 8.6-20.3 8.6-32v-8c0-60.7-27.1-115.2-69.8-151.8c2.4-.1 4.7-.2 7.1-.2h61.4c89.1 0 161.3 72.2 161.3 161.3c0 17-13.8 30.7-30.7 30.7M432 256c-31 0-59-12.6-79.3-32.9c19.7-26.6 31.3-59.5 31.3-95.1c0-26.8-6.6-52.1-18.3-74.3C384.3 40.1 407.2 32 432 32c61.9 0 112 50.1 112 112s-50.1 112-112 112"
/>
</svg>
<div class="font-bold text-3xl">500+ applicants</div>
</div>
<div
class="bg-white w-72 rounded-lg text-[#201658] p-10 flex items-center space-x-6"
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="55"
height="55"
viewBox="0 0 256 256"
class="fill-current"
>
<path
d="M216 40H40a16 16 0 0 0-16 16v144a16 16 0 0 0 16 16h13.39a8 8 0 0 0 7.23-4.57a48 48 0 0 1 86.76 0a8 8 0 0 0 7.23 4.57H216a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16M104 168a32 32 0 1 1 32-32a32 32 0 0 1-32 32m112 32h-56.57a63.93 63.93 0 0 0-13.16-16H192a8 8 0 0 0 8-8V80a8 8 0 0 0-8-8H64a8 8 0 0 0-8 8v96a8 8 0 0 0 6 7.75A63.72 63.72 0 0 0 48.57 200H40V56h176Z"
/>
</svg>
<div class="font-bold text-3xl">100+ authors</div>
</div>
</section>
<!-- course page -->
<section class="bg-darkBlue select-none h-fit p-10" id="course-section">
<div class="flex items-center">
<ul
class="bg-midBlue flex-1 flex justify-around text-white mx-auto max-w-xl rounded p-3 text-lg poppins-semibold"
id="options">
<li class="cursor-pointer hover:text-yellow isactive">Videos</li>
<li class="cursor-pointer hover:text-yellow isactive">Pdf</li>
<li class="cursor-pointer hover:text-yellow isactive">Book</li>
</ul>
<button
class="px-4 py-2 rounded text-white bg-yellow hover:bg-[#f19c25]"
id="addcourse"
>
Add courses
</button>
</div>
<form
class="bg-white space-y-3 shadow-md max-w-3xl mx-auto rounded p-5 my-10 hidden"
>
<!-- Course title -->
<div class="flex flex-col space-y-1">
<label for="courseTitle" class="poppins-semibold"
>Course title <span class="text-red-600">*</span></label
>
<input
type="text"
id="courseTitle"
name="courseTitle"
class="form-input"
placeholder="Enter the course title"
required
/>
</div>
<!-- Course type -->
<div class="flex flex-col space-y-1">
<label for="courseType" class="poppins-semibold"
>Course type <span class="text-red-600">*</span></label
>
<select
name="courseType"
id="courseType"
class="form-input poppins-regular"
>
<option value="">-- Content type --</option>
<option value="video">Video</option>
<option value="pdf">Pdf</option>
<option value="book">Book</option>
</select>
</div>
<!-- Author -->
<div class="flex flex-col space-y-1">
<label for="author" class="poppins-semibold"
>Author <span class="text-red-600">*</span></label
>
<input
type="text"
id="author"
name="author"
class="form-input"
placeholder="Enter the author name"
required
/>
</div>
<!-- URL -->
<div class="flex flex-col space-y-1 hidden" id="urlInput">
<label for="URL" class="poppins-semibold"
>URL <span class="text-red-600">*</span></label
>
<input
type="url"
id="url"
name="url"
class="form-input"
placeholder="Enter the URL"
/>
</div>
<!-- Upload file -->
<div class="flex flex-col space-y-1 hidden" id="pdfInput">
<label for="URL" class="poppins-semibold"
>Upload file <span class="text-red-600">*</span></label
>
<input
type="file"
class="form-input"
accept="application/pdf"
id="pdfInput"
name="pdfInput"
/>
</div>
<!-- button -->
<button
class="px-4 p-2 w-full rounded bg-midBlue hover:bg-[#1c6ce5] poppins-medium text-white"
>
Add course
</button>
</form>
<div>
<!-- videoList -->
<div class="courseList" id="videoList"></div>
<div id="pdfList" class="courseList hidden"></div>
<div id="bookList" class="courseList hidden"></div>
</div>
</section>
<footer class="text-center bg-darkBlue text-white p-2">
<div>CopyRights © | Sanjeev | 2024</div>
</footer>
<script type="module" src="/assets/js/main.js"></script>
</body>
</html>