-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
140 lines (121 loc) · 3.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Datadads</title>
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
}
header {
background-color: #333;
color: white;
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.menu {
display: none;
flex-direction: column;
gap: 1rem;
position: absolute;
top: 4rem;
right: 1rem;
background-color: #444;
padding: 1rem;
border-radius: 0.5rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.menu a {
color: white;
text-decoration: none;
font-size: 1rem;
transition: color 0.3s;
}
.menu a:hover {
color: #00bcd4;
}
.hamburger {
cursor: pointer;
display: flex;
flex-direction: column;
gap: 0.3rem;
}
.hamburger div {
width: 25px;
height: 3px;
background-color: white;
transition: transform 0.3s;
}
.hamburger.active .line1 {
transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .line2 {
opacity: 0;
}
.hamburger.active .line3 {
transform: rotate(-45deg) translate(5px, -5px);
}
.menu.active {
display: flex;
}
main {
padding: 2rem;
text-align: center;
}
section {
margin-bottom: 2rem;
}
footer {
background-color: #333;
color: white;
text-align: center;
padding: 1rem;
position: fixed;
bottom: 0;
width: 100%;
}
</style>
<script>
document.addEventListener('DOMContentLoaded', () => {
const hamburger = document.querySelector('.hamburger');
const menu = document.querySelector('.menu');
hamburger.addEventListener('click', () => {
hamburger.classList.toggle('active');
menu.classList.toggle('active');
});
});
</script>
</head>
<body>
<header>
<h1><a href="index.html" style="color: white; text-decoration: none;">Datadads</a></h1>
<div class="hamburger">
<div class="line1"></div>
<div class="line2"></div>
<div class="line3"></div>
</div>
<nav class="menu">
<a href="about.html">About Us</a>
<a href="projects.html">Projects</a>
<a href="contact.html">Contact</a>
</nav>
</header>
<main>
<section>
<h2>Welcome to Datadads</h2>
<p>Datadads specializes in data-driven solutions to empower your business. We bring clarity and strategy to your data management needs, ensuring your projects succeed from start to finish.</p>
</section>
<section>
<h2>Our Approach</h2>
<p>Using a stage-gating process, we tackle projects step by step, providing insights and actionable outcomes tailored to your goals.</p>
</section>
</main>
<footer>
<p>© 2025 Datadads. All rights reserved.</p>
</footer>
</body>
</html>