-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage.html
206 lines (191 loc) · 8.1 KB
/
page.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>maalin coffe</title>
<link rel="stylesheet" href="Page.css">
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
/>
</head>
<body>
</head>
<body>
<header>
<div class="top-bar">
<div class="contact-info">
<span><i class="fas fa-phone"></i> (061) 866- 9200</span>
<span><i class="fas fa-envelope"></i> maalincoffee@gmail.com</span>
</div>
<div class="social-icons">
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-facebook"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-github"></i></a>
</div>
</div>
<nav class="navbar">
<div class="logo">
<img src="images/logoc.png" alt="Maalin Coffee logo" />
<span>Maalin Coffee</span>
</div>
<div class="hamburger" id="hamburger">
<i class="fas fa-bars"></i>
</div>
<ul class="nav-links" id="nav-links">
<li><a href="Home.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="page.html">page</a></li>
<li><a href="contact.html"></a></li>
<li><a href="menu.html">Menu</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
<div class="book-table">
<a href="#" class="book-btn">Book A Table</a>
</div>
</nav>
</header>
<section class="blog-section">
<h2>Our Blog & Articles</h2>
<p>We consider all the drivers of change gives you the components you need to change to create a truly happens.</p>
<div class="blog-grid">
<!-- Blog Cards -->
<!-- Each blog card represents a single article -->
<div class="blog-card">
<!-- HTML -->
<img src="images/12.png" alt="Delicious gluten free sushi" onclick="scrollToTop()">
<p>January 3, 2023</p>
<h3>How to prepare a delicious gluten free sushi</h3>
</div>
<div class="blog-card">
<!-- HTML -->
<img src="images/16.png" alt="Delicious gluten free sushi" onclick="scrollToTop()">
<p>January 3, 2023</p>
<h3>Exclusive baking lessons from the pastry king</h3>
</div>
<div class="blog-card">
<!-- HTML -->
<img src="images/image.png" alt="Delicious gluten free sushi" onclick="scrollToTop()">
<p>January 3, 2023</p>
<h3>How to prepare the perfect fries in an air fryer</h3>
</div>
<div class="blog-card">
<!-- HTML -->
<img src="images/1i.png" alt="Delicious gluten free sushi" onclick="scrollToTop()">
<p>January 3, 2023</p>
<h3>How to prepare delicious chicken tenders</h3>
</div>
<div class="blog-card">
<!-- HTML -->
<img src="images/basto.jpg" alt="Delicious gluten free sushi" onclick="scrollToTop()">
<p>January 3, 2023</p>
<h3>5 great cooking gadgets you can buy to save time</h3>
</div>
<div class="blog-card">
<img src="images/images.jpg" alt="Burger tips onclick="scrollToTop>
<p>January 3, 2023</p>
<h3>The secret tips & tricks to prepare a perfect burger</h3>
</div>
<div class="blog-card">
<img src="images/14.png" alt="Delicious gluten free sushi" onclick="scrollToTop()">
<p>January 3, 2023</p>
<h3>7 delicious cheesecake recipes you can prepare</h3>
</div>
<div class="blog-card">
<img src="images/download.jpg" alt="Delicious gluten free sushi" onclick="scrollToTop()">
<p>January 3, 2023</p>
<h3>5 great pizza restaurants you should visit this city</h3>
</div>
<div class="blog-card">
<img src="images/raashin.jpg" alt="Delicious gluten free sushi" onclick="scrollToTop()">
<p>January 3, 2023</p>
<h3>5 great cooking gadgets you can buy to save time</h3>
</div>
<div class="blog-card">
<img src="images/15.png" alt="Delicious gluten free sushi" onclick="scrollToTop()">
<p>January 3, 2023</p>
<h3>How to prepare a delicious gluten free sushi</h3>
</div>
<div class="blog-card">
<img src="images/cuno.jpg" alt="Delicious gluten free sushi" onclick="scrollToTop()">
<p>January 3, 2023</p>
<h3>Top 20 simple and quick desserts for kids</h3>
</div>
<div class="blog-card">
<img src="images/13.png" alt="Delicious gluten free sushi" onclick="scrollToTop()">
<p>January 3, 2023</p>
<h3>Top 20 simple and quick desserts for kids</h3>
</div>
</div>
</section>
<!-- Footer Section -->
<footer>
<div class="footer-container">
<div class="footer-section logo-section">
<h2>Malin Coffee</h2>
<p>
In the new era of technology we look in the future with certainty
and pride for our company and.
</p>
<div class="social-icons">
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-facebook"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-github"></i></a>
</div>
</div>
<div class="footer-section pages-section">
<h3>Pages</h3>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Menu</a></li>
<li><a href="#">Pricing</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Delivery</a></li>
</ul>
</div>
<div class="footer-section utility-section">
<h3>Utility Pages</h3>
<ul>
<li><a href="#">Start Here</a></li>
<li><a href="#">Styleguide</a></li>
<li><a href="#">Password Protected</a></li>
<li><a href="#">404 Not Found</a></li>
<li><a href="#">Licenses</a></li>
<li><a href="#">Changelog</a></li>
<li><a href="#">View More</a></li>
</ul>
</div>
<div class="footer-section instagram-section">
<h3>Follow Us On Instagram</h3>
<div class="instagram-gallery">
<img src="images/12.png" alt="Food 1" />
<img src="images/13.png" alt="Food 2" />
<img src="images/14.png" alt="Food 3" />
<img src="images/15.png" alt="Food 4" />
</div>
</div>
</div>
<div class="footer-bottom">
<p>© 2024 Maalin Coffee. All Rights Reserved.</p>
</div>
</footer>
<script>
document.querySelectorAll('.blog-card img').forEach(img => {
img.addEventListener('click', () => {
// Toggle class to change image style
img.classList.toggle('image-active');
// Scroll to the header when the image is clicked
const header = document.querySelector('header'); // change this selector if your header has a specific class or id
if (header) {
header.scrollIntoView({ behavior: 'smooth' });
}
});
});
</script>
</body>
</html>