-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
198 lines (174 loc) · 8.92 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Sham Shots Media | Hesham Nimri</title>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta name="description" content="Sham Shots Media is a visual storytelling platform founded by photojournalist Hesham Nimri. Through the lens of documentary photography and film, we capture compelling narratives that bridge cultural understanding and shed light on underreported stories from around the world">
<meta name="keywords" content="Hesham Nimri, Hisham nimri, sham shots media, Photojournalism, media">
<meta name="author" content="Hesham Nimri">
<!-- Meta tags for Googlebot -->
<meta name="googlebot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
<meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
<meta property="og:title" content="Sham Shots Media - Photojournalism and Film">
<meta property="og:description" content="Sham Shots Media is a visual storytelling platform founded by photojournalist Hesham Nimri. Through the lens of documentary photography and film, we capture compelling narratives that bridge cultural understanding and shed light on underreported stories from around the world.">
<meta property="og:url" content="https://hishamnimri.com">
<meta property="og:type" content="website">
<!-- Favicons -->
<link href="assets/img/favicon.png" rel="icon">
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
<link rel="canonical" href="https://hishamnimri.com/">
<!-- Google tag (gtag.js) -->
<meta name="google-site-verification" content="Yzhu8uf-0vBttTGJvU2xM8l25yM7748foZ9kYCD1FWU" />
<script async src="https://www.googletagmanager.com/gtag/js?id=G-29DF4H2TN6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-29DF4H2TN6');
</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
<!-- <link rel="preload" href="https://cdn.shareaholic.net/assets/pub/shareaholic.js" as="script" />
<meta name="shareaholic:site_id" content="3f15d1ec01e3499e00e7593b99411a70" />
<script data-cfasync="false" async src="https://cdn.shareaholic.net/assets/pub/shareaholic.js"></script> -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script>
function myFunction() {
var x = document.getElementById("myLinks");
var icon = document.querySelector(".icon i");
if (x.style.display === "block") {
x.style.display = "none";
icon.className = "fa fa-bars";
} else {
x.style.display = "block";
icon.className = "fa fa-times";
}
}
// Close menu when clicking outside
document.addEventListener('click', function(event) {
var menu = document.getElementById("myLinks");
var hamburger = document.querySelector(".icon");
if (!menu.contains(event.target) && !hamburger.contains(event.target) && menu.style.display === "block") {
myFunction();
}
});
</script>
<link href="assets/css/styles.css" rel="stylesheet">
</head>
<body>
<div class="container">
<aside class="sidebar">
<h1 class="logo">
<a href="about.html">
SHAM<br>
SHOTS<br>
MEDIA
</a>
<a class="hidden">
Hesham Nimri Photojournalism and Media
</a>
</h1>
<div class="view-toggle">
<button onclick="toggleView('grid')" class="active" id="gridBtn">Grid</button>
<button onclick="toggleView('list')" id="listBtn">List</button>
</div>
<nav class="nav">
<a href="about.html">About</a>
<a href="index.html" class="active">Collection</a>
<a href="us-2024-elections.html">US 2024 Elections</a>
<a href="https://sham-shots.darkroom.com/collections/lencois-maranhenses">Store</a>
</nav>
<div class="social">
<a href="https://x.com/shamshots">Twitter</a>
<a href="https://www.instagram.com/sham_gram_/">Instagram</a>
<a href="mailto:[email protected]">Email</a>
</div>
</aside>
<main class="main-content">
<div class="topnav">
<h1 class="logo-mobile">
SHAM SHOTS MEDIA
</h1>
<!-- Navigation links (hidden by default) -->
<div id="myLinks">
<a href="about.html">About</a>
<a href="index.html" class="nav-active">Collection</a>
<a href="us-2024-elections.html">US 2024 Elections</a>
<a href="https://sham-shots.darkroom.com/collections/lencois-maranhenses">Store</a>
<div class="mobile-social">
<a href="https://x.com/shamshots">Twitter</a>
<a href="https://www.instagram.com/sham_gram_/">Instagram</a>
<a href="mailto:[email protected]">Email</a>
</div>
</div>
<!-- Hamburger menu button -->
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
<div class="grid-view" id="imageContainer">
<div class="image-container">
<img src="assets/img/photos/lencois-tree.jpg" alt="Isolated tree in Lencois Maranhenses">
<div class="image-caption">
Isolated tree in Lencois Maranhenses
</div>
</div>
<div class="image-container">
<img src="assets/img/photos/brazil.jpg" alt="Two people in casual wear standing in a tropical garden setting">
<div class="image-caption">
Man fishing in Salvador Bahia
</div>
</div>
<div class="image-container">
<img src="assets/img/photos/bolivia.jpg" alt="Teal vehicle with surfboards on beach">
<div class="image-caption">
Driving through Salar De Uyuni
</div>
</div>
<div class="image-container">
<img src="assets/img/photos/CR-coffee-tour.jpg" alt="Coffee Tour in Costa Rica Alajuela Provience">
<div class="image-caption">
Coffee Tour in Costa Rica Alajuela Provience
</div>
</div>
<div class="image-container">
<img src="assets/img/photos/morocco.jpg" alt="Atacama Dessert">
<div class="image-caption">
Atacama Dessert
</div>
</div>
</div>
</main>
</div>
<script>
function toggleView(view) {
const container = document.getElementById('imageContainer');
const gridBtn = document.getElementById('gridBtn');
const listBtn = document.getElementById('listBtn');
if (view === 'grid') {
container.className = 'grid-view';
gridBtn.classList.add('active');
listBtn.classList.remove('active');
} else {
container.className = 'list-view';
listBtn.classList.add('active');
gridBtn.classList.remove('active');
}
}
// Optional: Add click handler to expand images
document.querySelectorAll('.image-container').forEach(container => {
container.addEventListener('click', function() {
const imageContainer = document.getElementById('imageContainer');
if (imageContainer.classList.contains('grid-view')) {
imageContainer.classList.remove('grid-view');
imageContainer.classList.add('list-view');
document.getElementById('listBtn').classList.add('active');
document.getElementById('gridBtn').classList.remove('active');
}
});
});
</script>
</body>
</html>