35604-vm/index.php
Flatlogic Bot d39bcc532b 1
2025-11-09 21:15:36 +00:00

102 lines
4.6 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO & Meta Tags -->
<title>Christmas Recipe Calculator</title>
<meta name="description" content="Create and calculate holiday recipe shopping lists. Enter a recipe for one, specify your number of guests, and get a shopping list for your Christmas feast. Built with Flatlogic Generator.">
<meta name="keywords" content="recipe calculator, Christmas recipes, holiday cooking, shopping list generator, party food calculator, festive meals, cooking for a crowd, recipe scaler, Built with Flatlogic Generator">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:title" content="Christmas Recipe Calculator">
<meta property="og:description" content="Easily calculate shopping lists for your holiday recipes.">
<meta property="og:image" content="">
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Christmas Recipe Calculator">
<meta name="twitter:description" content="Easily calculate shopping lists for your holiday recipes.">
<meta name="twitter:image" content="">
<!-- Styles -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="assets/css/custom.css?v=<?php echo time(); ?>">
</head>
<body>
<div id="snow-container"></div>
<nav class="navbar navbar-expand-lg navbar-light bg-light shadow-sm">
<div class="container">
<a class="navbar-brand" href="#">Christmas Recipe Calculator</a>
</div>
</nav>
<main class="container my-5">
<div class="text-center mb-5">
<h1 class="display-4">Holiday Recipe Planner</h1>
<p class="lead">Enter a recipe for one person, set your guest count, and we'll make your shopping list!</p>
</div>
<div class="row g-5">
<!-- Left Column: Recipe Input -->
<div class="col-lg-6">
<div class="card p-4">
<h2 class="mb-4">Your Recipe</h2>
<form id="recipe-form">
<div class="mb-3">
<label for="recipeName" class="form-label">Recipe Name</label>
<input type="text" class="form-control" id="recipeName" placeholder="e.g., Gingerbread Cookies">
</div>
<hr>
<h3 class="h5 mb-3">Ingredients (for 1 person)</h3>
<div id="ingredients-container">
<!-- Ingredient rows will be injected here by JS -->
</div>
<button type="button" id="add-ingredient" class="btn btn-secondary btn-sm mt-2">+ Add Ingredient</button>
<hr class="my-4">
<div class="mb-3">
<label for="guestCount" class="form-label">How many guests are coming?</label>
<input type="number" class="form-control" id="guestCount" placeholder="e.g., 8" min="1">
</div>
<div class="d-grid gap-2 d-md-flex mt-4">
<button type="button" id="calculate-btn" class="btn btn-primary btn-lg">Calculate Shopping List</button>
<button type="button" id="new-recipe-btn" class="btn btn-outline-secondary btn-lg">New Recipe</button>
</div>
</form>
</div>
</div>
<!-- Right Column: Shopping List -->
<div class="col-lg-6">
<div class="card">
<div class="card-body" id="shopping-list-container">
<div class="text-center text-muted p-5">
<h3 class="h4">Your Shopping List</h3>
<p>Your calculated list will appear here.</p>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="text-center py-4 mt-5 bg-light">
<p class="mb-0">&copy; <?php echo date("Y"); ?> Christmas Recipe Calculator. Happy Holidays!</p>
</footer>
<!-- Scripts -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>