-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
427 lines (369 loc) · 12.5 KB
/
index.html
File metadata and controls
427 lines (369 loc) · 12.5 KB
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
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Botman's GitHub Pages - Web Components & Resources</title>
<meta name="description"
content="Discover EZComponents, a collection of easy-to-use Discord-style UI components, projects, and programming tutorials by Botman64.">
<meta name="keywords"
content="web components, discord ui, UI components, JavaScript, HTML, CSS, programming tutorials">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://botman64.github.io/">
<meta property="og:title" content="Botman's GitHub Pages - Web Components & Resources">
<meta property="og:description"
content="Discover EZComponents, a collection of easy-to-use Discord-style UI components, projects, and programming tutorials.">
<meta property="og:image" content="https://botman64.github.io/images/default-preview.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://botman64.github.io/">
<meta property="twitter:title" content="Botman's GitHub Pages - Web Components & Resources">
<meta property="twitter:description"
content="Discover EZComponents, a collection of easy-to-use Discord-style UI components, projects, and programming tutorials.">
<meta property="twitter:image" content="https://botman64.github.io/images/default-preview.png">
<style>
body {
font-family: 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #2c2f33;
color: #ffffff;
display: flex;
flex-direction: column;
min-height: 100vh;
}
header {
background-color: #23272a;
padding: 20px;
text-align: center;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
h1 {
margin: 0;
color: #ffffff;
font-size: 2.5rem;
}
.subtitle {
color: #b9bbbe;
margin-top: 10px;
font-size: 1.2rem;
}
/* Navigation Tabs */
.nav-tabs {
display: flex;
justify-content: center;
background-color: #23272a;
padding: 0 20px;
overflow-x: auto;
border-bottom: 1px solid #36393f;
}
.nav-tab {
padding: 15px 25px;
color: #b9bbbe;
font-weight: bold;
cursor: pointer;
transition: all 0.2s;
border-bottom: 3px solid transparent;
white-space: nowrap;
}
.nav-tab:hover {
color: #ffffff;
background-color: #2c2f33;
}
.nav-tab.active {
color: #ffffff;
border-bottom: 3px solid #5865F2;
}
main {
flex: 1;
padding: 40px 20px;
max-width: 1200px;
margin: 0 auto;
width: 100%;
box-sizing: border-box;
}
/* Welcome Section */
.welcome-section {
text-align: center;
padding: 60px 20px;
max-width: 800px;
margin: 0 auto;
}
.welcome-title {
font-size: 3rem;
margin-bottom: 20px;
color: #ffffff;
}
.welcome-subtitle {
font-size: 1.5rem;
color: #b9bbbe;
margin-bottom: 40px;
}
.welcome-description {
font-size: 1.1rem;
line-height: 1.6;
color: #dcddde;
margin-bottom: 40px;
}
/* Content Section */
.content-section {
display: none;
}
.content-section.active {
display: block;
}
.section-title {
margin-bottom: 30px;
color: #ffffff;
font-size: 2rem;
}
.section-description {
margin-bottom: 30px;
color: #dcddde;
line-height: 1.5;
}
/* Component Grid */
.component-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 30px;
margin-top: 30px;
}
.component-card {
background-color: #36393f;
border-radius: 8px;
overflow: hidden;
transition: transform 0.2s, box-shadow 0.2s;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.component-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.card-header {
background-color: #5865F2;
color: white;
padding: 15px;
font-size: 1.5rem;
font-weight: bold;
}
.card-header.embed {
background-color: #ED4245;
}
.card-header.projects {
background-color: #57F287;
}
.card-header.tutorials {
background-color: #FEE75C;
color: #23272a;
}
.card-body {
padding: 20px;
color: #dcddde;
}
.card-description {
margin-bottom: 20px;
line-height: 1.5;
}
.view-button {
display: inline-block;
background-color: #5865F2;
color: white;
padding: 10px 20px;
border-radius: 4px;
text-decoration: none;
font-weight: bold;
transition: background-color 0.2s;
}
.view-button:hover {
background-color: #4752c4;
}
footer {
background-color: #23272a;
padding: 20px;
text-align: center;
font-size: 0.9rem;
color: #b9bbbe;
margin-top: auto;
}
.footer-link {
color: #5865F2;
text-decoration: none;
}
.footer-link:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<header>
<h1>Botman's GitHub Pages</h1>
<div class="subtitle">Projects, Components, Tutorials & More</div>
</header>
<div class="nav-tabs">
<div class="nav-tab" data-tab="welcome">Home</div>
<div class="nav-tab" data-tab="ezcomponents">EZ Components</div>
<div class="nav-tab" data-tab="projects">Projects</div>
<div class="nav-tab" data-tab="tutorials">Tutorials</div>
</div>
<main>
<!-- Welcome Section (Default) -->
<section id="welcome" class="content-section active">
<div class="welcome-section">
<h1 class="welcome-title">Welcome to Botman's <br> GitHub Pages</h1>
<p class="welcome-subtitle">Explore my projects, tutorials, and resources</p>
<p class="welcome-description">
This site showcases my work in web development, programming projects,
and educational content. Feel free to browse through the different
sections using the navigation tabs above.
</p>
<div class="component-grid">
</div>
</div>
</section>
<!-- EZ Components Section -->
<section id="ezcomponents" class="content-section">
<h2 class="section-title">EZ Components</h2>
<p class="section-description">
Simple, customizable web components for your Discord-inspired UIs.
These components are designed to be easy to use and customize.
</p>
<div class="component-grid">
<div class="component-card">
<div class="card-header">Button Components</div>
<div class="card-body">
<div class="card-description">
Create interactive buttons with various styles, emoji support,
and event handling. Includes a visual button creator tool.
</div>
<a href="./EZComponents/button" class="view-button">View Demo</a>
</div>
</div>
<div class="component-card">
<div class="card-header embed">Embed Components</div>
<div class="card-body">
<div class="card-description">
Create rich embed cards with customizable content, fields,
colors, and more. Includes an interactive embed creator.
</div>
<a href="./EZComponents/embed" class="view-button">View Demo</a>
</div>
</div>
<div class="component-card">
<div class="card-header" style="background-color: #FEE75C; color: #23272a;">Select Menu</div>
<div class="card-body">
<div class="card-description">
Create dropdown select menus with support for icons, descriptions, and
complex options. Perfect for user selections and filters.
</div>
<a href="./EZComponents/select-menu" class="view-button">View Demo</a>
</div>
</div>
<div class="component-card">
<div class="card-header" style="background-color: #57F287;">Select Creator</div>
<div class="card-body">
<div class="card-description">
Interactive tool to create and customize select menus. Export your creation
as JSON to use directly in your applications.
</div>
<a href="./EZComponents/select-creator" class="view-button">View Demo</a>
</div>
</div>
<div class="component-card">
<div class="card-header" style="background-color: #EB459E;">Form Components</div>
<div class="card-body">
<div class="card-description">
Build responsive forms with validation, conditional fields, and various
field types. Perfect for user input and data collection.
</div>
<a href="./EZComponents/form" class="view-button">View Demo</a>
</div>
</div>
<div class="component-card">
<div class="card-header" style="background-color: #7289DA;">Style Editor</div>
<div class="card-body">
<div class="card-description">
Experiment with styling your components in real-time. Test different CSS properties
and see the code needed to implement them.
</div>
<a href="./EZComponents/style-editor" class="view-button">View Demo</a>
</div>
</div>
<!-- New Navbar Component Card -->
<div class="component-card">
<div class="card-header" style="background-color: #FF73FA;">Navigation Bars</div>
<div class="card-body">
<div class="card-description">
Create horizontal and vertical navigation bars with customizable styles,
icons, and event handling. Perfect for modern web applications.
</div>
<a href="./EZComponents/navbar" class="view-button">View Demo</a>
</div>
</div>
</div>
</section>
<!-- Projects Section -->
<section id="projects" class="content-section">
<h2 class="section-title">Projects</h2>
<p class="section-description">
Explore my personal and professional programming projects.
</p>
<div class="component-grid">
<div class="component-card">
<div class="card-header" style="background-color: #7289DA;">GPT Image Gen</div>
<div class="card-body">
<div class="card-description">
A simple web application that generates images using OpenAI's GPT Image API.
Create stunning visuals with just a few clicks.
</div>
<a href="./projects/gpt-image-gen" class="view-button">View Demo</a>
</div>
</div>
</section>
<!-- Tutorials Section -->
<section id="tutorials" class="content-section">
<h2 class="section-title">Tutorials</h2>
<p class="section-description">
Helpful guides and tutorials on various programming topics.
</p>
<div class="component-grid">
</div>
</section>
</main>
<footer>
<p>Created by <a href="https://github.com/Botman64" class="footer-link">Botman64</a> |
<a href="https://github.com/Botman64" class="footer-link">View on GitHub</a>
</p>
</footer>
<script>
// Tab navigation functionality
const tabs = document.querySelectorAll('.nav-tab');
const contentSections = document.querySelectorAll('.content-section');
function activateTab(tabId) {
// Deactivate all tabs and sections
tabs.forEach(tab => tab.classList.remove('active'));
contentSections.forEach(section => section.classList.remove('active'));
// Activate the selected tab and section
const selectedTab = document.querySelector(`.nav-tab[data-tab="${tabId}"]`);
if (selectedTab) selectedTab.classList.add('active');
const selectedSection = document.getElementById(tabId);
if (selectedSection) selectedSection.classList.add('active');
}
// Add click event listeners to tabs
tabs.forEach(tab => {
tab.addEventListener('click', () => {
const tabId = tab.getAttribute('data-tab');
activateTab(tabId);
});
});
// Check for URL hash and activate corresponding tab
window.addEventListener('load', () => {
const hash = window.location.hash.substring(1);
if (hash && document.getElementById(hash)) {
activateTab(hash);
}
});
</script>
</body>
</html>