Repository navigation
Expand file tree
/
Copy pathhackathon.html
More file actions
216 lines (216 loc) · 14.6 KB
/
Copy pathhackathon.html
File metadata and controls
216 lines (216 loc) · 14.6 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
<!DOCTYPE html>
<html class="light" lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>Zero-Hunger App Home</title>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700;800&display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet"/>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
colors: {
"primary": "#FF7043",
"primary-deep": "#E65100",
"background-light": "#FFFFFF",
"background-dark": "#102215",
"text-light": "#111813",
"text-dark": "#f0fdf4",
"subtext-light": "#61896b",
"subtext-dark": "#a3b3a8",
"card-light": "#f6f8f6",
"card-dark": "#1a3822",
"urgent": "#FF7043",
"highlight-green": "#13ec49",
},
fontFamily: {
"display": ["Plus Jakarta Sans", "sans-serif"]
},
borderRadius: {
"DEFAULT": "0.5rem",
"lg": "0.75rem",
"xl": "1rem",
"full": "9999px"
},
},
},
}
</script>
<style>
.material-symbols-outlined {
font-variation-settings:
'FILL' 1,
'wght' 400,
'GRAD' 0,
'opsz' 24
}
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
<style>
body {
min-height: max(884px, 100dvh);
}
</style>
</head>
<body class="bg-background-light dark:bg-background-dark font-display text-text-light dark:text-text-dark">
<div class="relative mx-auto flex h-auto min-h-screen w-full max-w-md flex-col group/design-root overflow-x-hidden pb-24">
<header class="flex items-center bg-background-light dark:bg-background-dark p-4 pb-2 justify-between sticky top-0 z-10">
<div class="flex-1"></div>
<div class="flex flex-col items-center justify-center flex-1">
<div class="flex items-center gap-2">
<span class="material-symbols-outlined text-3xl text-highlight-green">eco</span>
<span class="material-symbols-outlined text-3xl text-primary">restaurant</span>
</div>
<span class="text-sm font-bold text-subtext-light dark:text-subtext-dark">FreshFork</span>
</div>
<div class="flex size-10 shrink-0 items-center justify-center rounded-full bg-card-light dark:bg-card-dark shadow-sm flex-1 justify-end">
<span class="material-symbols-outlined text-subtext-light dark:text-subtext-dark">person</span>
</div>
</header>
<main class="flex flex-col gap-4 px-4 py-3">
<div class="flex flex-col gap-2 pt-2 text-center">
<h2 class="text-2xl font-bold leading-tight tracking-tighter text-text-light dark:text-text-dark">Hello, Alex!</h2>
<p class="text-subtext-light dark:text-subtext-dark">Let's find a recipe for your leftovers.</p>
</div>
<a href="receipes.html">
<button class="flex min-w-[84px] max-w-[480px] cursor-pointer items-center justify-center overflow-hidden rounded-xl h-14 px-5 w-full bg-primary text-white dark:text-text-light gap-2 text-base font-bold leading-normal tracking-[0.015em] shadow-lg shadow-primary/30 transition-colors duration-200 active:bg-orange-800">
<span class="material-symbols-outlined">add_circle</span>
<span class="truncate">Add Leftovers</span>
</button>
</a>
<section class="flex flex-col">
<div class="flex items-center justify-between pb-3 pt-5">
<h2 class="text-text-light dark:text-text-dark text-[22px] font-bold leading-tight tracking-[-0.015em]">Expiring Soon</h2>
<div class="h-2.5 w-2.5 rounded-full bg-highlight-green"></div>
</div>
<div class="flex overflow-y-auto [-ms-scrollbar-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden -mx-4 px-4">
<div class="flex items-stretch gap-3">
<a class="block h-full flex-1 flex-col gap-2 rounded-lg min-w-40 bg-card-light dark:bg-card-dark p-3 shadow-sm transition-all duration-200 ease-in-out hover:scale-105 hover:shadow-lg focus:scale-105 focus:shadow-lg" href="#">
<div class="w-full bg-center bg-no-repeat aspect-square bg-cover rounded-lg flex flex-col" data-alt="A carton of milk" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuAWLGMYx3MdQA_HzhN7HNVL6nfgQmDbAA803fqUeoi0nvj8LMGQdiZeQ2I-3NgTOtZsidDR91nUGvc_UOEFU7TyFb8vA-DyZyEuxnOX4lrTHLEe4s6dZZUDa3duG_MKsBf-HpdaAjuh_xGt77v5qdkg6YxhpKqos4zTXdHpVIfQY2qCtWBjQNl71FUKgkMK7LsdnIBkmlGA8mKf7e4NN-eDljCHZKSRGSod7bDVn1DaDo_Gre3MmpWLYYxKLE-Ysz1wDLktslWH2jQ");'></div>
<div>
<p class="text-text-light dark:text-text-dark text-base font-medium leading-normal">Milk</p>
<p class="text-urgent text-sm font-bold leading-normal">Expires today</p>
</div>
</a>
<a class="block h-full flex-1 flex-col gap-2 rounded-lg min-w-40 bg-card-light dark:bg-card-dark p-3 shadow-sm transition-all duration-200 ease-in-out hover:scale-105 hover:shadow-lg focus:scale-105 focus:shadow-lg" href="#">
<div class="w-full bg-center bg-no-repeat aspect-square bg-cover rounded-lg flex-col" data-alt="A loaf of sliced bread" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuC7GMS1-Xxpihkvdju8GxDjnk186RAmZn2rQL_a6D-3eHgaIwPpfkKvDliMkT7OQhnGBgafWYLNp8OgazqhdMZPQWx8zfiMs_0SBbN7GhFaYfCIOKpbQFJUAV4u_0882ZkTgT8gKfNPityto1CmeMffrxa4r6-rEWi_g35wrpeOvvUvlemwQeyMimX3wA94B3suvIBUdrRxjeiNbFvVSqNy2RpE_LBVsiSDNihliPDrUo8p9hWnxgPCAHZEMBpcUFeKl-uozh1fB0E");'></div>
<div>
<p class="text-text-light dark:text-text-dark text-base font-medium leading-normal">Bread</p>
<p class="text-urgent text-sm font-bold leading-normal">Expires in 1 day</p>
</div>
</a>
<a class="block h-full flex-1 flex-col gap-2 rounded-lg min-w-40 bg-card-light dark:bg-card-dark p-3 shadow-sm transition-all duration-200 ease-in-out hover:scale-105 hover:shadow-lg focus:scale-105 focus:shadow-lg" href="#">
<div class="w-full bg-center bg-no-repeat aspect-square bg-cover rounded-lg flex-col" data-alt="A head of fresh green lettuce" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuCSNvrj8h-4uqJB4Qe84NQKzKOWEQ6KVokp_dukYn5szyTvj52AfnYP2ZK9yLkGe0M_nuDZCgdIXjPR98qYjUzr4OxmxckBWrYBbRQhLcA7KhrDuKYEvIH-1B1aaO3XshqPhWJ2zPBw_6pOQAjQXhpjmkmkS6ecwOqC7tSdjyX5zp7ieHRYXxIOQLiWO5jZq-EbA5FAEFt1c9U6Cv2Lt2TXRCuURUb1eN6M212R3T-UhZEd4c1L2EYvgbH1YRYpBaPVslELkARtOfA");'></div>
<div>
<p class="text-text-light dark:text-text-dark text-base font-medium leading-normal">Lettuce</p>
<p class="text-highlight-green text-sm font-medium leading-normal">Expires in 2 days</p>
</div>
</a>
<a class="block h-full flex-1 flex-col gap-2 rounded-lg min-w-40 bg-card-light dark:bg-card-dark p-3 shadow-sm transition-all duration-200 ease-in-out hover:scale-105 hover:shadow-lg focus:scale-105 focus:shadow-lg" href="#">
<div class="w-full bg-center bg-no-repeat aspect-square bg-cover rounded-lg flex flex-col" data-alt="A bright red tomato with a green stem" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuDEY4kREKEvudupImVbYQUEcj4bfmm6R6HPQG3aPd9OXwG5p_7iZukabGd6jbBd1QxCj-4jfY9ZDySR8zwau2mMczLc_bNKoNc2yBdMGH_Us0-yTHIIvbki1iujerfkJ-Vbl8zCTO50cAtM1dhl7TYjnNkZimANTUYhM3mMOh2Eh05-5IOKtmeDmYXZ3C-LTGqDUWVYqJObLxi5X6w5PtM7yNdKUdRbOTF8FdPED57vetgOdQVSOT7xmpZPulQ7XtuvArBTEc0xn1Y");'></div>
<div>
<p class="text-text-light dark:text-text-dark text-base font-medium leading-normal">Tomatoes</p>
<p class="text-subtext-light dark:text-subtext-dark text-sm font-normal leading-normal">Expires in 3 days</p>
</div>
</a>
<a class="block h-full flex-1 flex-col gap-2 rounded-lg min-w-40 bg-card-light dark:bg-card-dark p-3 shadow-sm transition-all duration-200 ease-in-out hover:scale-105 hover:shadow-lg focus:scale-105 focus:shadow-lg" href="#">
<div class="w-full bg-center bg-no-repeat aspect-square bg-cover rounded-lg flex flex-col" data-alt="A block of cheese on a wooden board" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuD4tnKDGud9-RIxKh2y2ymo1StfLoVtew0panCVTW2-rHqMmyiDrhV4kXzEQZ4CHQe_hGOYsypaD1hgoCRU5Zjbe4G93d0e0u0cE_UAG_Yl1vz_Lwxr2sxA0MRhdimOPYxrWZIq4h6hGnAiTp-uS3-Zl9VJslIcP0qXNWQX_4TkI8ZTT4UGliyB2qR1ChKqvPYPdO4eNlhZ7K9VXCO_ya1Brdm8bVpZklYbK1yDmY3vdwF0lCHhmBRkYP1uWoJF0WZUEkyVRSwzuL8");'></div>
<div>
<p class="text-text-light dark:text-text-dark text-base font-medium leading-normal">Cheese</p>
<p class="text-subtext-light dark:text-subtext-dark text-sm font-normal leading-normal">Expires in 5 days</p>
</div>
</a>
</div>
</div>
</section>
<section class="flex flex-col w-full">
<h2 class="text-text-light dark:text-text-dark text-[22px] font-bold leading-tight tracking-[-0.015em] pb-3 pt-5">My Saved Recipes</h2>
<div class="flex overflow-y-auto [-ms-scrollbar-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden -mx-4 px-4">
<div class="flex items-stretch gap-3">
<a class="block h-full flex-col gap-2 rounded-lg min-w-40 bg-card-light dark:bg-card-dark p-3 shadow-sm transition-all duration-200 ease-in-out hover:scale-105 hover:shadow-lg focus:scale-105 focus:shadow-lg" href="#">
<div class="h-24 w-full bg-center bg-no-repeat bg-cover rounded-lg" data-alt="A colorful salad in a white bowl" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuBjQ-_HDNImlnJOPKvc5RtehCEbsJCK4OvtADrGNBlfqyQZEM1nlYaXjLQ8jyuNttcgNO2RVPgsBHOOYeECd-VU2k6W_OhQRSYcVU2pD8k985zBVCmnz0SLEUoLDsClhKbrdztTeiz6s7L2pCA-abtdHqTp8jpGFDUa_Ak1mENElPpfpQmgliC-avtZpu_tUIsjpAHPn40ILb-7Fj8BFny4p7OZ2Aqm4XVxEq4hkGsKm2a-PBUyLw-EBsXhPPkGnDhtazmBfkk8Tw0")'></div>
<div class="flex-1">
<p class="text-text-light dark:text-text-dark font-semibold leading-tight">Vibrant Veggie Salad</p>
<p class="text-subtext-light dark:text-subtext-dark text-sm">Uses: Tomatoes</p>
</div>
</a>
<a class="block h-full flex-col gap-2 rounded-lg min-w-40 bg-card-light dark:bg-card-dark p-3 shadow-sm transition-all duration-200 ease-in-out hover:scale-105 hover:shadow-lg focus:scale-105 focus:shadow-lg" href="#">
<div class="h-24 w-full bg-center bg-no-repeat bg-cover rounded-lg" data-alt="Pasta with tomato sauce and basil" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuAAu9xgkMk06Fwbqt7BW07UNEX5KauPSEDTJamwbfqocT2cZHV6w2bTvUUcWNIUqu2IbkFp6No7CbKvIuQY2O7Kfl_O6JoKbs2sIEXzotRHhSRxaW8yMwexra--fUCxm9-u82dsKGwwhPN7dJ8rDu9cfeAglVfHWG4J3B1XBO80t6iusu35iwv9o2FCvurXTCl9WUhL04Ifqa_fo__iPLQ5ogyNx08AzKTuauEG2iRcNRsasug_qzP711mbM0rYbvSYWHOpwBgmB3U")'></div>
<div class="flex-1">
<p class="text-text-light dark:text-text-dark font-semibold leading-tight">Classic Tomato Pasta</p>
<p class="text-subtext-light dark:text-subtext-dark text-sm">Uses: Tomatoes</p>
</div>
</a>
<a class="block h-full flex-col gap-2 rounded-lg min-w-40 bg-card-light dark:bg-card-dark p-3 shadow-sm transition-all duration-200 ease-in-out hover:scale-105 hover:shadow-lg focus:scale-105 focus:shadow-lg" href="#">
<div class="h-24 w-full bg-center bg-no-repeat bg-cover rounded-lg" data-alt="Spicy chicken stir-fry in a wok" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuCx_6T5rk97qo_VHHuw5cfxs5re03dKQyJN-q_DhXsDZ7mOItWFdHPsb4PeqD_-7pLvVGllcjmlLym15lE6Q0HscIi-qXtnyYjL8nxhHcnn8LFX7zDClONaWTVsr3J5cXCCAddnQS007hs0VBCt1ALeuDsr6mQOm5JtPAF_YNXiS27hMsF38BWzOADU3nLV32DZGxKbtrWbJvgIDTa84BrwGNHjb4BIXpx2c9q5HBsKTGSmgzZrxFy5uu36tjXLDaAD8XnCy8NAThc")'></div>
<div class="flex-1">
<p class="text-text-light dark:text-text-dark font-semibold leading-tight">Spicy Chicken Stir-Fry</p>
<p class="text-subtext-light dark:text-subtext-dark text-sm">Uses: Chicken, Peppers</p>
</div>
</a>
<a class="block h-full flex-col gap-2 rounded-lg min-w-40 bg-card-light dark:bg-card-dark p-3 shadow-sm transition-all duration-200 ease-in-out hover:scale-105 hover:shadow-lg focus:scale-105 focus:shadow-lg" href="#">
<div class="h-24 w-full bg-center bg-no-repeat bg-cover rounded-lg" data-alt="A hearty beef stew in a bowl" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuA-GYwOAM8ZkbvVcNZp5540nVW0VLWm9gV5NzZBJUy9Nd4wnaxPfDtNpi47Im-eODnmXgbpHjiYRZi1PyVjJ_fKoDrfL8cgCEhZ7bzf5O_4VY59UkrxECNwJWIbEFa6hcnghwBhvducxjb-T0wbYs9UKvvXun3KZZko_hgNyQbNiGug0Yb6-Ex0owzGaum0UaDFB4WvPAJ_KzxyvU5rw55Rih-EBkB3mK9I6gZPtU_U-hEAjJyuJphhRBw72_WInSV0PddOslycJsM")'></div>
<div class="flex-1">
<p class="text-text-light dark:text-text-dark font-semibold leading-tight">Hearty Beef Stew</p>
<p class="text-subtext-light dark:text-subtext-dark text-sm">Uses: Beef, Carrots</p>
</div>
</a>
<a class="block h-full flex-col gap-2 rounded-lg min-w-40 bg-card-light dark:bg-card-dark p-3 shadow-sm transition-all duration-200 ease-in-out hover:scale-105 hover:shadow-lg focus:scale-105 focus:shadow-lg" href="#">
<div class="h-24 w-full bg-center bg-no-repeat bg-cover rounded-lg" data-alt="A stack of fluffy pancakes with syrup" style='background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuCImc1zIRIeU__xcnMacfMgDcCZcuWd9ySi0G1lx2IuFjnX3iMWD-TIGPhOJG3RKjSQ-3tK8_wkv3-zjZGuQXyLEi0b90hdOp3pFVreuoOLhOlD1NO4RtMPVV4qawFZ1IxJcYNB5bO_6fP4ja6UMp6IfvU9g_U0MLJxBoJPhgiLnF-CNLu87sVDInQzwHHe5xRF37gRhQxUu-xbaEFXpR_iEpfZjiW1lYICC-Hb2lroD-UVlELKtQw-si60YE3PyBqUwDpehbEiaQs")'></div>
<div class="flex-1">
<p class="text-text-light dark:text-text-dark font-semibold leading-tight">Fluffy Pancakes</p>
<p class="text-subtext-light dark:text-subtext-dark text-sm">Uses: Milk, Eggs</p>
</div>
</a>
</div>
</div>
</section>
</main>
<nav class="fixed bottom-0 left-0 right-0 z-10 mx-auto max-w-md border-t border-black/10 dark:border-white/10 bg-background-light/80 dark:bg-background-dark/80 backdrop-blur-md">
<div class="flex h-20 items-center justify-around px-4">
<a class="flex flex-col items-center gap-1 text-primary" href="#">
<span class="material-symbols-outlined">home</span>
<span class="text-xs font-bold">Home</span>
</a>
<a class="flex flex-col items-center gap-1 text-subtext-light dark:text-subtext-dark" href="#">
<span class="material-symbols-outlined">menu_book</span>
<span class="text-xs font-medium">Recipes</span>
</a>
<a class="flex flex-col items-center gap-1 text-subtext-light dark:text-subtext-dark" href="#">
<span class="material-symbols-outlined">kitchen</span>
<span class="text-xs font-medium">Pantry</span>
</a>
<a class="flex flex-col items-center gap-1 text-subtext-light dark:text-subtext-dark" href="#">
<span class="material-symbols-outlined">account_circle</span>
<span class="text-xs font-medium">Profile</span>
</a>
</div>
</nav>
</div>
</body></html>