-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathmain.html
227 lines (213 loc) · 10.2 KB
/
main.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dev-Mint</title>
<script src="https://unpkg.com/@tailwindcss/browser@4"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet" />
<link rel="icon" href="./assets/logo.png" type="image/x-icon">
</head>
<body>
<header>
<div class="flex justify-between items-center w-full">
<div class="flex justify-center items-center lg:w-[200px] ">
<div class="flex-item-left "><img src="./assets/logo.png" width="50px" height="50px"></div>
<div class="flex-item-right logo hidden lg:block ">
<h3>Dev-Mint</h3>
</div>
</div>
<!-- Search bar -->
<div id="search-bar">
<input type="text" placeholder="What are you looking for?">
<div>
<i class="ri-search-line "></i>
</div>
</div>
<!-- Desktop navbar -->
<nav class="nav hidden lg:flex justify-center items-center gap-10">
<a href="#home">Home</a>
<a href="#games">Games</a>
<a href="#tools">Tools</a>
<a href="#about">About</a>
<a href="https://github.com/prathimacode-hub/Dev-Mint">GitHub</a>
</nav>
<!-- Mobile navbar -->
<i class="ri-menu-line menu-icon text-3xl lg:hidden" onclick="showMobileNav()"></i>
<nav id="mobile-nav"
class="lg:hidden hidden absolute top-[98%] left-0 bg-white w-full h-[196px] flex justify-center items-center">
<div class="w-1/2 mx-auto flex justify-center items-center flex-col gap-3">
<a href="#home">Home</a>
<a href="#games">Games</a>
<a href="#tools">Tools</a>
<a href="#about">About</a>
<a href="https://github.com/prathimacode-hub/Dev-Mint">GitHub</a>
</div>
</nav>
</div>
</header>
<section class="hero" id="home">
<div class="hero-content">
<h1>Welcome to Dev-Mint</h1>
<p>Your One-Stop Hub for Fun & Utility!</p>
<button class="cta-button" onclick="scrollToGames()">Explore Now</button>
</div>
</section>
<section id="games">
<h2 class="section-title">🎮 Fun & Engaging Games</h2>
<div class="grid">
<div class="card">
<div class="img-container">
<img src="assets/numberguess.jpg" alt="Number Guessing Game">
</div>
<h3>Number Guessing Game</h3>
<p>Try your luck and guess the number!</p>
<a href="HTML+CSS+JS Apps/Number Guessing Game/Index.html" class="card-button">Play Now</a>
</div>
<div class="card">
<div class="img-container">
<img src="assets/snakegamebg.jpg" alt="Snake Game">
</div>
<h3>Snake Game</h3>
<p>Classic snake, modern twist.</p>
<a href="HTML+CSS+JS Apps/Snake Game/index.html" class="card-button">Play Now</a>
</div>
<div class="card">
<div class="img-container">
<img src="assets/comsoon.jpg" alt="Future Games">
</div>
<h3>More Games Coming Soon</h3>
<p>Stay tuned for exciting new additions!</p>
<a href="#" class="card-button">Coming Soon</a>
</div>
</div>
</section>
<section id="tools">
<h2 class="section-title">🛠 Powerful Tools for Everyone</h2>
<div class="grid">
<div class="card">
<div class="img-container">
<img src="assets/background_remover.jpg" alt="AI Image Generator">
</div>
<h3>AI Image Generator</h3>
<p>Generate Image Easily.</p>
<a href="HTML+CSS+JS Apps/AI Image Generator/index.html" class="card-button">Try Now</a>
</div>
<div class="card">
<div class="img-container">
<img src="assets/dicbg.jpg" alt="Word Meaning App">
</div>
<h3>Word Meaning App</h3>
<p>Get instant meanings of words.</p>
<a href="HTML+CSS+JS Apps/Word Meaning App/index.html" class="card-button">Try Now</a>
</div>
<div class="card">
<div class="img-container">
<img src="assets/BMI_Calcu.png" alt="Calculator">
</div>
<h3>BMI Calculator</h3>
<p>Tool for quick calculations.</p>
<a href="#" class="card-button">Try Now</a>
</div>
</div>
</section>
<section id="about" class="about">
<h2 class="section-title">Why Choose Dev-Mint?</h2>
<div class="grid">
<div class="feature">
<h3>Fast & Lightweight</h3>
<p>Runs smoothly on any device</p>
</div>
<div class="feature">
<h3>Completely Open Source</h3>
<p>Contribute and improve!</p>
</div>
<div class="feature">
<h3>More Features Coming Soon</h3>
<p>Community-driven improvements</p>
</div>
</div>
</section>
<footer>
<div class="footer-container">
<div class="company-info">
<h1 class="company-name heading flex justify-center items-center gap-4 "><img
src="./assets/logo.png">Dev-Mint</h1>
<p>
Dev Mint has an exclusive collection of layouts, animations, effects, code snippets, extensions,
projects, resources etc. to fulfill and satiate your developer needs.
</p>
</div>
<div class="quick-links">
<h1 class="heading">Quick Links</h1>
<ul class="footer-ul" id="footer-links">
<li><i class="fa-solid fa-house"></i><a href="#home"> Home</a></li>
<li><i class="fa-solid fa-circle-info"></i><a href="#about"> About</a></li>
<li><i class="fa-solid fa-gamepad"></i><a href="#games">Games</a></li>
<li><i class="fa-solid fa-icons"></i><a href="#tools"> Tools</a></li>
</ul>
</div>
<div class="send-message">
<h1 class="heading">Keep In Touch</h1>
<form id="contact-form" name="Beautiify Contact" autocomplete="off" netlify>
<div class="form-group group1">
<input type="text" id="name" name="name" placeholder="Enter your name" autocomplete="name"
required oninput="validateName('name')">
<input type="email" id="email" name="email" placeholder="Enter your email" autocomplete="email"
required oninput="validateEmail('email')">
</div>
<div class="form-group group1">
<textarea id="message" name="message" placeholder="Leave your message" required></textarea>
<button type="submit">SEND</button>
</div>
</form>
<div class="social">
<a class="message" href="https://mail.google.com/" target="_blank"><i
class="fa-solid fa-envelope"></i></a>
<a class="linkedin" href=" https://www.linkedin.com/" target="_blank"><i
class="fab fa-linkedin"></i></a>
<a class="github" href="https://github.com/prathimacode-hub/Dev-Mint " target="_blank"><i
class="fa-brands fa-square-github"></i></a>
<a class="instagram" href="https://www.instagram.com/" target="_blank"><i
class="fa-brands fa-instagram"></i></a>
<a class="twitter" href="https://twitter.com/" target="_blank"><i
class="fa-brands fa-square-x-twitter"></i></a>
<a class="discord" href="https://discord.com/" target="_blank"><i
class="fa-brands fa-discord"></i></a>
</div>
</div>
</div>
<p>© <span id="copyright-year"></span> All Rights Reserved || Built with ❤️ by Dev-Mint Team</p>
<button id="goto-top-btn" onclick="goTop()"><svg xmlns="http://www.w3.org/2000/svg" width="25" height="25"
fill="green" class="bi bi-arrow-up" viewBox="0 0 16 16">
<path fill-rule="evenodd"
d="M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5" />
</svg>
</button>
</footer>
<script>
// Function to scroll to games section
function scrollToGames() {
document.getElementById('games').scrollIntoView({ behavior: 'smooth' });
}
// Add smooth scrolling to all navigation links
document.querySelectorAll('nav a').forEach(anchor => {
anchor.addEventListener('click', function (e) {
if (this.getAttribute('href').startsWith('#')) {
e.preventDefault();
const targetId = this.getAttribute('href');
document.querySelector(targetId).scrollIntoView({ behavior: 'smooth' });
}
});
});
function showMobileNav() {
document.getElementById("mobile-nav").classList.toggle("hidden");
}
</script>
<script src="./copyrightYear.js"></script>
<script src="./scrollTop.js"></script>
</body>
</html>