Add pricing page and update meal card interactions

- Introduced a new pricing page with mode-specific pricing options.
- Updated meal card data attributes and descriptions for clarity.
- Enhanced meal card interactions to navigate to the pricing page.
- Removed toast notifications for a cleaner user experience.
- Added pricing styles for better layout and responsiveness.
This commit is contained in:
Anurag Jangid 2026-10-08 03:41:40 +05:30
parent 3f6d7bd638
commit 6c756ac7ba
6 changed files with 130 additions and 20 deletions

41
pricing.html Normal file
View file

@ -0,0 +1,41 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#090b12" />
<title>Choose your rhythm — The Tiffin Food</title>
<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+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="pricing.css" />
</head>
<body>
<div class="noise"></div>
<header class="site-header">
<a class="brand" href="index.html" aria-label="The Tiffin Food home">
<span class="brand-mark"><i></i><i></i><i></i></span>
<span>THE TIFFIN<br /><b>FOOD</b></span>
</a>
<a class="header-cta" href="index.html#menu">Change your goal <span>↗</span></a>
</header>
<main class="pricing-page">
<a class="back-link" href="index.html#menu">← Back to directions</a>
<section class="pricing-intro">
<p class="eyebrow">05 / Set your frequency</p>
<h1><span id="mode-title">Your</span><br /><em>rhythm.</em></h1>
<p id="mode-description">Fresh meals, prepared around the way you want to show up.</p>
</section>
<section class="pricing-grid" aria-labelledby="pricing-heading">
<h2 id="pricing-heading">Choose your box</h2>
<div id="pricing-options" class="pricing-options"></div>
</section>
</main>
<footer><a class="brand" href="index.html"><span class="brand-mark"><i></i><i></i><i></i></span><span>THE TIFFIN<br /><b>FOOD</b></span></a><p>© 2024 The Tiffin Food / Made for your next.</p></footer>
<script src="pricing.js"></script>
</body>
</html>