-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdetail.html
More file actions
230 lines (137 loc) · 6.22 KB
/
detail.html
File metadata and controls
230 lines (137 loc) · 6.22 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cook.io</title>
<link rel="shortcut icon" href="./favicon.svg" type="image/x-icon">
<!-- Google fonts -->
<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=DM+Sans:wght@400;500&family=DM+Serif+Display&display=swap"
rel="stylesheet">
<!-- Material Icon -->
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0..1,0" />
<!-- Custom Style Sheet -->
<link rel="stylesheet" href="./assets/css/style.css">
</head>
<body>
<!-- Header -->
<header class="header" data-header>
<a href="/" class="logo">
<img src="./assets/images/logo-light.svg" alt="cook.io" width="156px" height="32" class="logo-light">
<img src="./assets/images/logo-dark.svg" alt="cook.io" width="156px" height="32" class="logo-dark">
</a>
<nav class="navbar">
<ul class="navbar-list">
<li>
<a href="index.html" class="navbar-link title-small has-state ">
Home
</a>
<li>
<a href="./recipes.html" class="navbar-link title-small has-state ">
Recipes
</a>
</li>
</ul>
</nav>
<button class="icon-btn theme-switch has-state" aria-pressed="false" aria-label="Toggle light and dark theme" data-theme-btn>
<span class="material-symbols-outlined light-icon" aria-hidden="true">light_mode</span>
<span class="material-symbols-outlined dark-icon" aria-hidden="false">dark_mode</span>
</button>
<a href="./saved-recipes.html" class="btn btn-primary has-icon">
<span class="material-symbols-outlined" aria-hidden="true">book</span>
<span class="span">Saved Recipes</span>
</a>
</header>
<!-- Mobile nav -->
<nav class="mobile-nav" aria-label="=primary">
<ul class="nav-list">
<li class="nav-item">
<a href="./recipes.html" class="nav-link" >
<span class="item-icon">
<span class="material-symbols-outlined" aria-hidden="true">lunch_dining</span>
</span>
<span class="label-medium">Recipes </span>
</a>
</li>
<li class="nav-item">
<a href="index.html" class="nav-link" >
<span class="item-icon">
<span class="material-symbols-outlined" >home</span>
</span>
<span class="label-medium">Home</span>
</a>
</li>
<li class="nav-item">
<a href="./saved-recipes.html" class="nav-link">
<span class="item-icon">
<span class="material-symbols-outlined" aria-hidden="true">book</span>
</span>
<span class="label-medium">Saved</span>
</a>
</li>
</ul>
</nav>
<!-- main -->
<main class="detail-page-main">
<article class="article container detail-page" data-detail-container >
<div class="detail-banner detail-banner-skeleton skeleton"></div>
<div class="detail-content detail-content-skeleton">
<div class="title-wrapper">
<div class="title-skeleton skeleton">
</div>
</div>
<div class="detail-author text-skeleton skeleton"></div>
<div class="detail-stats">
<div class="stats-item">
<span class="skeleton title-skeleton"></span>
<span class="skeleton text-skeleton"></span>
</div>
<div class="stats-item">
<span class="skeleton title-skeleton"></span>
<span class="skeleton text-skeleton"></span>
</div>
<div class="stats-item">
<span class="skeleton title-skeleton"></span>
<span class="skeleton text-skeleton"></span>
</div>
</div>
<div class="tag-list">
<div class="filter-chip skeleton filter-chip-skeleton"></div>
<div class="filter-chip skeleton filter-chip-skeleton"></div>
<div class="filter-chip skeleton filter-chip-skeleton"></div>
</div>
<div class="ingr-title skeleton title-skeleton"></div>
<div class="ingr-list">
<div class="ingr-item skeleton text-skeleton"></div>
<div class="ingr-item skeleton text-skeleton"></div>
<div class="ingr-item skeleton text-skeleton"></div>
<div class="ingr-item skeleton text-skeleton"></div>
</div>
</div>
</article>
</main>
<!-- Footer -->
<footer class="footer">
<p class="copyright body-medium">Copyright © cook.io-recipehub</p>
<a href="/" class="logo">
<img src="./assets/images/logo-light.svg" alt="cook.io" class="logo-light" width="156px" height="32">
<img src="./assets/images/logo-dark.svg" alt="cook.io" class="logo-dark" width="156px" height="32">
</a>
<a href="https://www.edaman.com/" target="_blank" class="edaman">
<img src="./assets/images/edamam.svg" alt="free recipe api" width="200" height="40" loading="lazy">
</a>
</footer>
<!-- <div class="snackbar-container">
<div class="snackbar">
</div>
</div> -->
<!-- theme -->
<script src="./assets/js/theme.js"></script>
<!-- Custom Js -->
<script src="./assets/js/global.js" type="module"></script>
<script src="./assets/js/detail.js" type="module"></script>
</body>
</html>