-
Notifications
You must be signed in to change notification settings - Fork 39
/
landingPage.html
59 lines (54 loc) · 2.02 KB
/
landingPage.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>imgIN - AI image Generator</title>
<link rel="stylesheet" href="landingPage.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0">
</head>
<body>
<header>
<nav class="navbar">
<ul class="logo">
<a href="#">
<img src="images/logo.png" alt="imgIN Logo" class="logo-img">
</a>
<p>imgIN</p>
</ul>
<ul class="menu-links">
<li><a href="#">Home</a></li>
<li><a href="#">Features</a></li>
<li><a href="#">About </a></li>
<li><a href="#">Contact Us</a></li>
<span id="close-menu-btn" class="material-symbols-outlined">close</span>
</ul>
<span id="hamburger-btn" class="material-symbols-outlined">menu</span>
</nav>
</header>
<section class="img-generator-sec">
<div class="content">
<h1>Transforming Ideas into Reality: AI Image Generation at Your Fingertips</h1>
<form action="#" class="search-form">
<input type="text" placeholder="Enter text to generate stunning images with AI...">
<button class="generate-btn" type="sumbit">Generate</button>
</form>
</div>
</section>
<footer class="footer">
<ul class="menu-links">
<!-- <li><a href="#">Home</a></li>
<li><a href="#">Features</a></li>
<li><a href="#">About </a></li>
<li><a href="#">Contact Us</a></li> -->
</ul>
</footer>
<script>
const header = document.querySelector("header");
const hamburgerBtn = document.querySelector("#hamburger-btn");
const closeMenuBtn = document.querySelector("#close-menu-btn");
hamburgerBtn.addEventListener("click", () => header.classList.toggle("show-mobile-menu"));
closeMenuBtn.addEventListener("click", () => hamburgerBtn.click());
</script>
</body>
</html>