-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
337 lines (327 loc) · 13.1 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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Open Source Web Components - Reusable UI Building Blocks</title>
<meta name="description" content="Discover and contribute to a collection of open-source web components. Perfect for developers looking for reusable UI building blocks.">
<meta name="keywords" content="web components, open source, UI, frontend development, JavaScript">
<meta name="author" content="Open Source Web Components Community">
<meta property="og:image" content="img/os.jpg">
<link rel="icon" type="image/png" href="img/icon.png">
<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=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Raleway:wght@400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<nav class="nav">
<div class="container nav-container">
<div class="logo">
OSWebComponents
</div>
<div class="menu-icon">
<span></span>
<span></span>
<span></span>
</div>
</div>
</nav>
<div class="nav-overlay">
<ul class="nav-menu">
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#components">Components</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="https://github.com/JohnDev19/Open-Source-Web-Components/">Contribute</a></li>
</ul>
</div>
<header class="hero" id="home">
<div class="container">
<h1 data-aos="fade-down" data-aos-duration="1000">Discover Open Source Web Components</h1>
<p data-aos="fade-down" data-aos-duration="2000">
Explore our collection of reusable UI building blocks for your next project
</p>
<div class="search-bar" data-aos="fade-down" data-aos-duration="3000">
<input type="text" placeholder="Search components...">
<button><li class="fas fa-search"></li></button>
</div>
</div>
</header>
<!--
<section class="marquee-section">
<div class="marquee-container">
<div class="marquee-content">
<span>ELEGANCE IN TIME ✧ CRAFTED WITH PASSION ✧ TIMELESS STYLE ✧ PRECISION ENGINEERING ✧ </span>
<span>ELEGANCE IN TIME ✧ CRAFTED WITH PASSION ✧ TIMELESS STYLE ✧ PRECISION ENGINEERING ✧ </span>
</div>
</div>
</section>
-->
<section class="components" id="components">
<div class="container">
<h2 data-aos="fade-down" data-aos-duration="1000">Web Components</h2>
<div class="component-grid">
<div class="component-card" data-aos="fade-down" data-aos-duration="1000">
<a href="assets/buttons/button1.html">
<img src="assets/buttons/buttons-img/button1.jpg" alt="Gradient Button Component">
</a>
<div class="component-card-content">
<h3>Gradient Button</h3>
<p>
Gradient button with smooth color transitions
</p>
<div class="tags">
<span class="tag">Button</span>
<span class="tag">Gradient</span>
</div>
</div>
</div>
<div class="component-card" data-aos="fade-down" data-aos-duration="1000">
<a href="assets/toggle/toggle1.html">
<img src="assets/toggle/toggle-img/toggle1.jpg" alt="Toggle Component">
</a>
<div class="component-card-content">
<h3>3D Basketball Toggle Switch</h3>
<p>
Switch between basketball-themed modes with this interactive 3D toggle.
</p>
<div class="tags">
<span class="tag">Toggle</span>
<span class="tag">Animation</span>
<span class="tag">Switch</span>
</div>
</div>
</div>
<div class="component-card" data-aos="fade-down" data-aos-duration="1000">
<a href="assets/loader/loader1.html">
<img src="assets/loader/loader-img/loader1.jpg" alt="Orbital Loader">
</a>
<div class="component-card-content">
<h3>Orbital Loader</h3>
<p>
Circles pulse and rotate in a continuous loop, offering a captivating loading animation.
</p>
<div class="tags">
<span class="tag">Loader</span>
<span class="tag">AnimatedLoader</span>
<span class="tag">Loading</span>
</div>
</div>
</div>
<div class="component-card" data-aos="fade-down" data-aos-duration="1000">
<a href="assets/carousel/carousel1.html">
<img src="assets/carousel/carousel-img/carousel1.jpg" alt="Carousel Component">
</a>
<div class="component-card-content">
<h3>Carousel</h3>
<p>
A carousel with smooth transitions and fading effects. Perfect for showcasing your best content with style.
</p>
<div class="tags">
<span class="tag">Gallery</span>
<span class="tag">Slider</span>
<span class="tag">Carousel</span>
</div>
</div>
</div>
<div class="component-card" data-aos="fade-down" data-aos-duration="1000">
<a href="assets/cards/card1.html">
<img src="assets/cards/cards-img/card1.jpg" alt="Futuristic Card">
</a>
<div class="component-card-content">
<h3>Futuristic Card</h3>
<p>
Futuristic card, the cutting-edge interface design for the next generation of digital experiences.
</p>
<div class="tags">
<span class="tag">Card</span>
<span class="tag">Futuristic</span>
<span class="tag">UI</span>
</div>
</div>
</div>
<div class="component-card" data-aos="fade-down" data-aos-duration="1000">
<a href="assets/inputs/search_input.html">
<img src="assets/inputs/inputs-img/search_input1.jpg" alt="Input Form Component">
</a>
<div class="component-card-content">
<h3>Input Search Bar</h3>
<p>
Stylish search bar with gradient effects and clear, user-friendly interface
</p>
<div class="tags">
<span class="tag">InputField</span>
<span class="tag">SearchBar</span>
</div>
</div>
</div>
</div>
<div id="no-results" style="display: none;" data-aos="fade-down">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="11" cy="11" r="8"></circle>
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
<line x1="11" y1="8" x2="11" y2="14"></line>
<line x1="8" y1="11" x2="14" y2="11"></line>
</svg>
<p>
No results found
</p>
</div>
</div>
</section>
<section class="about" id="about">
<div class="container">
<div class="about-content">
<div class="about-text">
<h2 data-aos="fade-down" data-aos-duration="1000">About Our Project</h2>
<p data-aos="fade-down" data-aos-duration="2000">
Open Source Web Components is a community-driven initiative providing a comprehensive library of reusable, customizable UI elements. Our mission is to empower developers of all skill levels by offering a valuable resource for creating modern, efficient web applications.
</p>
</div>
<div class="about-image" data-aos="fade-down" data-aos-duration="1000">
<img src="img/about.png">
</div>
</div>
</div>
</section>
<section class="installation" id="installation">
<div class="container">
<h2 data-aos="fade-down" data-aos-duration="1000">Installation Guide</h2>
<div class="installation-grid">
<div class="installation-card" data-aos="fade-up" data-aos-duration="1000">
<div class="card-content">
<div class="card-icon">
<i class="bi bi-download"></i>
</div>
<h3>Download</h3>
<p>
Clone or download the repository from GitHub to your local machine.
</p>
</div>
<div class="card-number">
01
</div>
</div>
<div class="installation-card" data-aos="fade-up" data-aos-duration="1200">
<div class="card-content">
<div class="card-icon">
<i class="bi bi-folder2-open"></i>
</div>
<h3>Navigate</h3>
<p>
Open your terminal and navigate to the project directory.
</p>
</div>
<div class="card-number">
02
</div>
</div>
<div class="installation-card" data-aos="fade-up" data-aos-duration="1400">
<div class="card-content">
<div class="card-icon">
<i class="bi bi-gear"></i>
</div>
<h3>Dependencies</h3>
<p>
Install necessary dependencies using npm or yarn.
</p>
</div>
<div class="card-number">
03
</div>
</div>
<div class="installation-card" data-aos="fade-up" data-aos-duration="1600">
<div class="card-content">
<div class="card-icon">
<i class="bi bi-play-circle"></i>
</div>
<h3>Run</h3>
<p>
Start the development server and open the project in your browser.
</p>
</div>
<div class="card-number">
04
</div>
</div>
</div>
</div>
</section>
<footer class="footer" id="contact">
<div class="container">
<div class="footer-content" data-aos="fade-down" data-aos-duration="1000">
<div class="footer-section">
<h3>Open Source Web Components</h3>
<p>
Empowering developers with reusable UI building blocks.
</p>
</div>
<div class="footer-section">
<h3>Quick Links</h3>
<ul class="footer-links">
<li><a href="#home">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#components">Components</a></li>
<li><a href="https://github.com/your-username/open-source-web-components" target="_blank">GitHub</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Authors</h3>
<p>
OSWebComponents
</p>
<p>
JohnDev19
</p>
</div>
<div class="footer-section">
<h3>Follow Us</h3>
<div class="social-icons">
<a href="https://github.com/JohnDev19/Open-Source-Web-Components" target="_blank" aria-label="GitHub"><i class="bi bi-github"></i></a>
<a href="#" target="_blank" aria-label="Twitter"><i class="bi bi-twitter"></i></a>
<a href="#" target="_blank" aria-label="LinkedIn"><i class="bi bi-linkedin"></i></a>
</div>
</div>
</div>
<div class="footer-bottom">
<p>
© 2024 Open Source Web Components. All rights reserved.
</p>
</div>
</div>
</footer>
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script src="https://kit.fontawesome.com/your-font-awesome-kit.js" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/your-font-awesome-kit.js" crossorigin="anonymous"></script>
<script src="script.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
const navbar = document.querySelector('.nav');
const navbarHeight = navbar ? navbar.offsetHeight: 0;
window.scrollTo({
top: target.offsetTop - navbarHeight,
behavior: 'smooth'
});
const navOverlay = document.querySelector('.nav-overlay');
const menuIcon = document.querySelector('.menu-icon');
if (navOverlay && navOverlay.classList.contains('active')) {
navOverlay.classList.remove('active');
menuIcon.classList.remove('active');
}
}
});
});
});
</script>
</body>
</html>