-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
261 lines (238 loc) · 14.1 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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DietWeb</title>
<!-- bootstrap stylesheet -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
<style>
ul.navbar-nav{
width: 300px;
display: flex;
justify-content: space-around;
}
</style>
<!-- my stylesheet -->
<link rel="stylesheet" href="./style.css">
<!-- gfont -->
<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=Noto+Serif+Display:ital,wght@1,300;1,400&family=Raleway:wght@200&display=swap" rel="stylesheet">
</head>
<body data-bs-theme="light">
<header >
<nav style="background-color: hsl(205, 43%, 67%);" class="navbar navbar-expand-lg fixed-top color" >
<div class="container-fluid">
<div class="navbar-brand anibox" href="#"><img src="./assets/food.png" alt="Logo" width="43" height="43" >
<span>
DietWeb
</span>
</div>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarNav" >
<ul class="navbar-nav">
<li class="nav-item">
<a class="btn btn-outline-light active" aria-current="page" role="button" href="./index.html">Home</a>
</li>
<li class="nav-item">
<a class="btn btn-outline-light" role="button" href="./aboutMe.html">About</a>
</li>
</li class="nav-item">
<span>
<button type="button" class="btn justify-content-start btn-outline-light" onclick="myFunction()" >Dark Mode</button>
</span>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main class="gradient-background flex2" style="padding-top: 90px;padding-bottom: 70px;">
<div class="flex" id="elis" data-bs-touch="true" data-bs-keyboard ="true">
<div class="flexItem" >
<div class="card" style="width: 18rem;">
<div id="carouselExampleDark" class="carousel carousel-dark slide" data-bs-ride="carousel" data-bs-touch="true" data-bs-keyboard ="true">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="1" aria-label="Slide 2"></button>
<button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="2" aria-label="Slide 3"></button>
</div>
<div class="carousel-inner">
<div class="carousel-item imagewrap active" data-bs-interval="30000">
<img src="./assets/appe1.png" class="d-block w-100" alt="Soya-bean kawab">
<div class="carousel-caption ">
<h5>Vegetable Kawabs</h5>
<p>Get Fit The Right Way</p>
</div>
</div>
<div class="carousel-item imagewrap" data-bs-interval="30000">
<img src="./assets/appe2.png" class="d-block w-100" alt="Soya Chaat pic">
<div class="carousel-caption">
<h5>Soya Bean Chaat</h5>
<p>Who said diet can't be fun?</p>
</div>
</div>
<div class="carousel-item imagewrap" data-bs-interval="30000">
<img src="./assets/appe3.jpg" class="d-block w-100" alt="Paneer Bites Pic">
<div class="carousel-caption">
<h5>Air Fryed Paneer</h5>
<p>Yes, NO OIL!</p>
</div>
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleDark" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleDark" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
<div class="card-body" id="1" >
<h5 class="card-title" id="1" ><a href="./single-recipe.html" id="1" class=" btn btn-primary">APPETIZERS</a></h5>
</div>
</div>
</div>
<div class="flexItem" >
<div class="card" style="width: 18rem;">
<div id="carouselExampleDark1" class="carousel carousel-dark slide"data-bs-touch="true" data-bs-ride="carousel" data-bs-keyboard ="true">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleDark1" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleDark1" data-bs-slide-to="1" aria-label="Slide 2"></button>
<button type="button" data-bs-target="#carouselExampleDark1" data-bs-slide-to="2" aria-label="Slide 3"></button>
</div>
<div class="carousel-inner">
<div class="carousel-item imagewrap active" data-bs-interval="30000">
<img src="./assets/drinks1.jpg" class="d-block w-100" alt="Cucumber Detok Water Pic">
<div class="carousel-caption">
<h5>Let's Detox</h5>
<p>Build A Healthy Gut.</p>
</div>
</div>
<div class="carousel-item imagewrap" data-bs-interval="30000">
<img src="./assets/drinks2.jpg" class="d-block w-100" alt="Chia seed drink Pic">
<div class="carousel-caption">
<h5>Chia Seed Drink</h5>
<p>Lose weight with Calcium</p>
</div>
</div>
<div class="carousel-item imagewrap" data-bs-interval="30000">
<img src="./assets/drinks3.jpg" class="d-block w-100" alt="Chocolate smoothie Pic">
<div class="carousel-caption">
<h5>Choc = Superfood</h5>
<p>How can one forget</p>
</div>
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleDark1" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleDark1" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
<div class="card-body" id="4">
<h5 class="card-title " id="4"><a href="./single-recipe.html" id="4" class="btn btn-primary">DRINKS</a></h5>
</div>
</div>
</div>
<div class="flexItem" >
<div class="card" style="width: 18rem;">
<div id="carouselExampleDark2" class="carousel carousel-dark slide"data-bs-touch="true" data-bs-ride="carousel" data-bs-keyboard ="true">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleDark2" data-bs-slide-to="0" class="active" aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleDark2" data-bs-slide-to="1" aria-label="Slide 2"></button>
<button type="button" data-bs-target="#carouselExampleDark2" data-bs-slide-to="2" aria-label="Slide 3"></button>
</div>
<div class="carousel-inner">
<div class="carousel-item imagewrap active" data-bs-interval="30000">
<img src="./assets/snack1.jpg" class="d-block w-100" alt="Corn Chaat Pic">
<div class="carousel-caption">
<h5>Sweer Corns</h5>
<p>Some Complex Carbs are Must</p>
</div>
</div>
<div class="carousel-item imagewrap" data-bs-interval="30000">
<img src="./assets/snack2.jpg" class="d-block w-100" alt="Masala Fox-nuts Pic">
<div class="carousel-caption ">
<h5>Roasted Fox-nuts</h5>
<p>Dry Fruits too!</p>
</div>
</div>
<div class="carousel-item imagewrap" data-bs-interval="30000">
<img src="./assets/snack3.jpg" class="d-block w-100" alt="Cookies Pic">
<div class="carousel-caption">
<h5>Dark Chocolate Cookies</h5>
<p>No one says No to cookies!</p>
</div>
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleDark2" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleDark2" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
<div class="card-body" id="7">
<h5 class="card-title" id="7"><a href="./single-recipe.html" id="7" class="btn btn-primary">SNACKS</a></h5>
</div>
</div>
</div>
</div>
</main>
<footer >
<nav class=" fixed-bottom navbar navbar-expand-lg" style="background-color: hsl(205, 43%, 67%);" >
<ul class="nav container-fluid">
<li style="padding-left: 10px;">
<img src="./assets/food.png" alt="Logo" width="26" height="26" >
</li>
<li class="nav-item ">
<span class="hideOnSm">Have a Question? </span> <button onclick=myFunc2() class="btn btn-outline-light">Contact Me</button>
</li>
</ul>
</nav>
<div class="contactMe hidden flex" >
<div class="card">
<h2>Contact Me</h2>
<p>
<ul style="padding-left: 0%;">
<li><span>LinkedIn: </span> <a href="https://www.linkedin.com/in/areeba3110/" target="_blank">areeba3110</a></li>
<li><span>Email: </span> <a href="mailto: areebanafis065@gmailcom" target="_blank">areebanafis065@gmail.com</a></li>
<li><span>Github: </span><a href="https://github.com/AreebaNafis" target="_blank"> AreebaNafis</a> </li>
<li><span>Instagram: </span> areebanafis</li>
</ul>
</p>
</div>
</div>
</footer>
<script>
const contactMe =document.querySelector(".contactMe");
const elis =document.querySelector("#elis")
function myFunction(){
var element =document.body;
element.dataset.bsTheme = element.dataset.bsTheme == "light" ? "dark" : "light";
}
function myFunc2(){
contactMe.classList.toggle('hidden');
}
elis.addEventListener('click',(event)=>{
if(event.target.id){
localStorage.setItem("recipeId",event.target.id);
}
})
</script>
<!-- <script type="module" src="./script.js"> </script> -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm" crossorigin="anonymous"></script>
</body>
</html>