-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
140 lines (138 loc) · 5.98 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>
<head>
<title>Primer</title>
<link rel="stylesheet" href="styles.css"/>
<link
href="https://fonts.googleapis.com/css?family=Lora:400,400i|Open+Sans:400,700"
rel="stylesheet"
/>
<meta name="viewport"
content="width=device-width, initial-scale=1">
</head>
<body>
<header>
<div id="header-overlay"></div>
<nav>
<div id="logo">WEB</div>
<div id="nav-menu-icon" onclick="handle_menu_click()">
<div></div>
<div></div>
<div></div>
</div>
<div id="nav-links">
<a href="#">Home</a>
<a href="#services">Services</a>
<a href="#about">About</a>
<a href="#">Gallery</a>
<button class="round-button">Take Action</button>
</div>
</nav>
<h2>Sustainability</h2>
<h1>STARTS WITH YOU</h1>
<button class="round-button">Learn More</button>
</header>
<section>
<div id="section-header">
<h2>We conserve land through outreach, restoration, and research.</h2>
<p>Some of the Earth's greatest landscapes are threatened by increased road construction, oil and gas exploration, and mining. We aim to protect these areas from inappropriate development, but we cannot achieve our goals alone. Find out how you can help.</p>
</div>
<div class="gallery-container">
<div class="gallery-images">
<img id="image1" class="gallery-img" src="./images/img1.jpg">
<img id="image2" class="gallery-img" src="./images/img2.jpg">
<img id="image3" class="gallery-img" src="./images/img3.jpg">
<img id="image4" class="gallery-img" src="./images/img4.jpg">
<img id="image5" class="gallery-img" src="./images/img5.jpg">
</div>
<nav class="gallery-nav">
<a href="#image1">
<img class="gallery-nav-img" src="./images/img1.jpg">
</a>
<a href="#image2">
<img class="gallery-nav-img" src="./images/img2.jpg">
</a>
<a href="#image3">
<img class="gallery-nav-img" src="./images/img3.jpg">
</a>
<a href="#image4">
<img class="gallery-nav-img" src="./images/img4.jpg">
</a>
<a href="#image5">
<img class="gallery-nav-img" src="./images/img5.jpg">
</a>
</nav>
</div>
<div class="posts-container" id="services">
<div class="post img-container">
<img src="./images/gear.jpg">
<div class="img-overlay overlay-fade">
<div class="img-text"> Service 1</div>
</div>
</div>
<div class="post img-container">
<img src="./images/gear.jpg">
<div class="img-overlay overlay-slide-top">
<div class="img-text"> Service 2</div>
</div>
</div>
<div class="post img-container">
<img src="./images/gear.jpg">
<div class="img-overlay overlay-slide-bottom">
<div class="img-text"> Service 3</div>
</div>
</div>
<div class="post img-container">
<img src="./images/gear.jpg">
<div class="img-overlay overlay-slide-left">
<div class="img-text"> Service 4</div>
</div>
</div>
</div>
<div class="posts-container" id="about">
<div class="post">
<img src="./images/body-image-1.jpg"/>
<h1>ABOUT US</h1>
<p>Find out about our organization, mission, our methods, and the results of our decades of advocacy.</p>
<a href="#">Learn More</a>
</div>
<div class="post">
<img src="./images/body-image-1.jpg"/>
<h1>ABOUT US</h1>
<p>Find out about our organization, mission, our methods, and the results of our decades of advocacy.</p>
<a href="#">Learn More</a>
</div>
<div class="post">
<img src="./images/body-image-1.jpg"/>
<h1>ABOUT US</h1>
<p>Find out about our organization, mission, our methods, and the results of our decades of advocacy.</p>
<a href="#">Learn More</a>
</div>
<div class="post">
<img src="./images/body-image-1.jpg"/>
<h1>ABOUT US</h1>
<p>Find out about our organization, mission, our methods, and the results of our decades of advocacy.</p>
<a href="#">Learn More</a>
</div>
</div>
</section>
<footer>
<div>
<input type="text"/>
<button class="round-button">Subscribe</button>
</div>
<p>© 2024 ELFAK. All Rights Reserved.</p>
</footer>
<script>
function handle_menu_click(){
const navLinks=document.getElementById("nav-links");
if (navLinks.style.display=='flex'){
navLinks.style.display='none';
}
else{
navLinks.style.display='flex';
}
}
</script>
</body>
</html>