mirror of
https://github.com/Andre-Bzk/Rezept0r.git
synced 2026-11-15 15:43:04 +01:00
Prototyp
This commit is contained in:
@@ -0,0 +1,141 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Rezept0r</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=Instrument+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/static/style.css?v=1">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav class="nav">
|
||||
<div class="nav-inner">
|
||||
<span class="nav-logo">Rezept0r</span>
|
||||
<span class="nav-badge">v2</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main class="page-shell">
|
||||
|
||||
<section class="hero">
|
||||
<h1 class="hero-headline">Rezepte aus Social,<br>Video und Web.</h1>
|
||||
<p class="hero-sub">URL einfügen — analysieren, extrahieren, direkt nach Tandoor importieren.</p>
|
||||
|
||||
<div class="url-form">
|
||||
<input
|
||||
type="url"
|
||||
id="url-input"
|
||||
placeholder="Rezept-URL oder YouTube / TikTok / Instagram…"
|
||||
autocomplete="off"
|
||||
/>
|
||||
<button id="extract-btn" type="button">
|
||||
<span class="btn-label">Extrahieren</span>
|
||||
<span class="btn-arrow" aria-hidden="true">→</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="platform-strip" aria-label="Unterstützte Plattformen">
|
||||
<span class="platform-label">Unterstützt:</span>
|
||||
<div class="platform-pill">
|
||||
<svg class="platform-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="#FF0000" d="M23.5 6.19a3.02 3.02 0 0 0-2.12-2.14C19.5 3.55 12 3.55 12 3.55s-7.51 0-9.38.5A3.02 3.02 0 0 0 .5 6.19C0 8.07 0 12 0 12s0 3.93.5 5.81a3.02 3.02 0 0 0 2.12 2.14c1.87.5 9.38.5 9.38.5s7.51 0 9.38-.5a3.02 3.02 0 0 0 2.12-2.14C24 15.93 24 12 24 12s0-3.93-.5-5.81zM9.54 15.57V8.43L15.82 12l-6.28 3.57z"/></svg>
|
||||
YouTube
|
||||
</div>
|
||||
<div class="platform-pill">
|
||||
<svg class="platform-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="#010101" d="M12.53.02C13.84 0 15.14.01 16.44 0c.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z"/></svg>
|
||||
TikTok
|
||||
</div>
|
||||
<div class="platform-pill">
|
||||
<svg class="platform-icon" viewBox="0 0 24 24" aria-hidden="true"><defs><radialGradient id="ig-grad" cx="30%" cy="107%" r="150%"><stop offset="0%" stop-color="#fdf497"/><stop offset="5%" stop-color="#fdf497"/><stop offset="45%" stop-color="#fd5949"/><stop offset="60%" stop-color="#d6249f"/><stop offset="90%" stop-color="#285AEB"/></radialGradient></defs><path fill="url(#ig-grad)" d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z"/></svg>
|
||||
Instagram
|
||||
</div>
|
||||
<div class="platform-pill">
|
||||
<svg class="platform-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="#E60023" d="M12 0C5.373 0 0 5.373 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738a.36.36 0 0 1 .083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.632-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0z"/></svg>
|
||||
Pinterest
|
||||
</div>
|
||||
<div class="platform-pill">
|
||||
<img class="platform-icon" src="/static/picnic-logo.svg" alt="Picnic" aria-hidden="true">
|
||||
Picnic
|
||||
</div>
|
||||
<div class="platform-pill">
|
||||
<svg class="platform-icon" viewBox="0 0 24 24" aria-hidden="true"><path fill="#0071e3" d="M12 2a10 10 0 1 0 0 20A10 10 0 0 0 12 2zm0 1.5c1.07 0 2.1.6 2.97 1.67-.37.13-.75.25-1.14.35A9.7 9.7 0 0 0 12 5.1a9.7 9.7 0 0 0-1.83.42c-.39-.1-.77-.22-1.14-.35C9.9 4.1 10.93 3.5 12 3.5zm-3.7 1.04c.46.2.93.37 1.41.51a9.5 9.5 0 0 0-.52 1.7 12.7 12.7 0 0 1-2.25-.96 8.5 8.5 0 0 1 1.36-1.25zm7.4 0c.5.37.96.79 1.36 1.25a12.7 12.7 0 0 1-2.25.96 9.5 9.5 0 0 0-.52-1.7c.48-.14.95-.31 1.41-.51zM12 6.6c.43 0 .86.03 1.27.09.2.67.32 1.38.35 2.1H10.38c.03-.72.15-1.43.35-2.1.41-.06.84-.09 1.27-.09zm-3.14.27a10.9 10.9 0 0 0-.29 1.92H5.64a8.5 8.5 0 0 1 3.22-1.92zm6.28 0a8.5 8.5 0 0 1 3.22 1.92h-2.93a10.9 10.9 0 0 0-.29-1.92zM5.17 10.3h3.2c-.04.55-.07 1.1-.07 1.65 0 .57.03 1.12.08 1.65H5.17a8.5 8.5 0 0 1 0-3.3zm4.7 0h4.26c.05.54.07 1.09.07 1.65 0 .56-.02 1.11-.07 1.65H9.87a19.3 19.3 0 0 1-.07-1.65c0-.56.02-1.11.07-1.65zm5.76 0h3.2a8.5 8.5 0 0 1 0 3.3h-3.21c.05-.53.08-1.08.08-1.65 0-.55-.03-1.1-.07-1.65zm-9.99 4.8h2.93c.08.68.18 1.33.29 1.93a8.5 8.5 0 0 1-3.22-1.92zm4.38 0h4.04a9.5 9.5 0 0 1-.35 2.1A9.5 9.5 0 0 0 12 17.4a9.5 9.5 0 0 0-1.27-.09 9.5 9.5 0 0 1-.35-2.1h-.36zm5.54 0h2.93a8.5 8.5 0 0 1-3.22 1.92c.11-.6.21-1.25.29-1.93zM8.7 16.37c.37.13.75.25 1.14.35.26.76.54 1.41.83 1.91-.94-.47-1.77-1.17-1.97-2.26zm6.6 0c-.2 1.09-1.03 1.79-1.97 2.26.29-.5.57-1.15.83-1.91.39-.1.77-.22 1.14-.35z"/></svg>
|
||||
Webseiten
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="progress-section" class="hidden">
|
||||
<div class="progress-wrap">
|
||||
<div class="progress-bar-container">
|
||||
<div class="progress-bar" id="progress-bar"></div>
|
||||
</div>
|
||||
<p id="progress-message" class="progress-message"></p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="result-section" class="hidden">
|
||||
<div id="recipe-card" class="recipe-card">
|
||||
|
||||
<img id="recipe-image" class="recipe-image hidden" src="" alt="Rezeptbild" />
|
||||
|
||||
<div class="recipe-content">
|
||||
<div class="recipe-meta-top">
|
||||
<h2 id="recipe-title"></h2>
|
||||
<p id="recipe-description" class="recipe-description"></p>
|
||||
</div>
|
||||
|
||||
<div class="meta-tags">
|
||||
<span id="recipe-servings" class="meta-tag hidden"><span id="servings-value"></span></span>
|
||||
<span id="recipe-prep" class="meta-tag hidden">⏱ <span id="prep-value"></span> Min. Vorbereitung</span>
|
||||
<span id="recipe-cook" class="meta-tag hidden">🔥 <span id="cook-value"></span> Min. Kochen</span>
|
||||
<span id="recipe-kcal" class="meta-tag hidden">⚡ <span id="kcal-value"></span> kcal<span id="kcal-source" class="kcal-source"></span></span>
|
||||
</div>
|
||||
|
||||
<div id="recipe-tags" class="tag-list"></div>
|
||||
|
||||
<div class="recipe-body">
|
||||
<div class="ingredients-section">
|
||||
<h3>Zutaten</h3>
|
||||
<ul id="ingredients-list" class="ingredients-list"></ul>
|
||||
</div>
|
||||
<div class="steps-section">
|
||||
<h3>Zubereitung</h3>
|
||||
<ol id="steps-list" class="steps-list"></ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="recipe-actions">
|
||||
<a id="source-link" href="#" target="_blank" class="btn btn-secondary">Originalrezept</a>
|
||||
<button id="import-btn" class="btn btn-primary">In Tandoor importieren</button>
|
||||
<span id="import-status" class="import-status"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="tandoor-fallback" class="hidden fallback-card">
|
||||
<h3>Tandoor JSON</h3>
|
||||
<p class="fallback-note">Kopiere dieses JSON in Tandoor unter Einstellungen → Import.</p>
|
||||
<textarea id="tandoor-json" class="json-textarea" readonly></textarea>
|
||||
<button id="copy-json-btn" class="btn btn-secondary">JSON kopieren</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="error-section" class="hidden">
|
||||
<div class="error-box">
|
||||
<div class="error-icon" aria-hidden="true">!</div>
|
||||
<p id="error-message"></p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="history-section" class="hidden">
|
||||
<h2 class="section-heading">Verlauf</h2>
|
||||
<div id="history-list"></div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<script src="/static/app.js?v=4"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user