-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (52 loc) · 2.28 KB
/
index.html
File metadata and controls
61 lines (52 loc) · 2.28 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Recipe Finder</title>
<link rel="stylesheet" href="css/styles.css" />
<!-- small favicon so browser won't 404 -->
<link rel="icon" href='data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" rx="20" fill="%237073f0"/><text x="50" y="62" font-size="48" text-anchor="middle" font-family="Arial" fill="white">🍽</text></svg>'>
</head>
<body>
<div class="page-shell">
<header class="hero">
<div class="hero-inner">
<div class="logo">🍽 <span class="logo-text">Recipe Finder</span></div>
<div class="subtitle">Search for delicious recipes from around the world</div>
<div class="search-block">
<input id="q" class="search-input" type="search" placeholder="Enter a meal name (e.g., Chicken, Pasta, Arrabiata)" />
<button id="searchBtn" class="btn primary">Search</button>
</div>
</div>
</header>
<main class="container">
<h2 class="results-title">Search Results</h2>
<p id="status" class="status-text">Search for a meal above</p>
<section id="results" class="results-grid" aria-live="polite"></section>
<!-- detail section (non-modal, full page style like your screenshot) -->
<section id="detail-section" class="detail-section hidden" aria-live="polite">
<button id="backBtn" class="btn outline">← Back to Results</button>
<div class="detail-grid">
<div class="detail-image">
<img id="detailImage" src="" alt="">
</div>
<div class="detail-content">
<h1 id="detailTitle"></h1>
<div id="detailTags" class="tags"></div>
<h3>Ingredients</h3>
<div id="ingredientList" class="ingredient-grid"></div>
<h3>Instructions</h3>
<div id="detailInstructions" class="instructions"></div>
<div id="detailButtons" class="detail-buttons"></div>
</div>
</div>
</section>
</main>
<footer class="site-footer">
<small>Made for CSCI571 • Deployed on Cloud Run</small>
</footer>
</div>
<script src="js/app.js"></script>
</body>
</html>