commit 0438b91094e286264831f7aaa9a00f3910b2e8a7
Author: root <root@hub.scroll.pub> Date: 2024-12-29 16:58:06 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..347afae --- /dev/null +++ b/body.html @@ -0,0 +1,49 @@ +<header class="hero"> + <h1>Master the Art of Chinese Dumplings</h1> + <p>Step-by-step guide to making perfect dumplings at home</p> +</header> + +<section class="intro"> + <div class="container"> + <h2>Welcome to Dumpling Master</h2> + <p>Discover the secrets to making authentic Chinese dumplings with our interactive guide. Whether you're a beginner or looking to perfect your technique, we've got you covered.</p> + <div class="timer"> + <h3>Prep Time Calculator</h3> + <label for="dumplingCount">Number of Dumplings:</label> + <input type="number" id="dumplingCount" min="1" max="100" value="10"> + <p>Estimated Prep Time: <span id="prepTime">30 minutes</span></p> + </div> + </div> +</section> + +<section class="steps"> + <div class="container"> + <h2>Step-by-Step Guide</h2> + <div class="step" data-step="1"> + <h3>1. Prepare the Dough</h3> + <p>Mix flour and water to create the perfect dumpling wrapper.</p> + <button class="next-step">Next</button> + </div> + <div class="step" data-step="2" style="display:none;"> + <h3>2. Make the Filling</h3> + <p>Combine your choice of meat and vegetables with seasonings.</p> + <button class="next-step">Next</button> + </div> + <div class="step" data-step="3" style="display:none;"> + <h3>3. Assemble the Dumplings</h3> + <p>Learn the proper folding techniques for perfect dumplings.</p> + <button class="next-step">Next</button> + </div> + <div class="step" data-step="4" style="display:none;"> + <h3>4. Cook to Perfection</h3> + <p>Choose between steaming, boiling, or pan-frying your dumplings.</p> + <button class="restart">Start Over</button> + </div> + </div> +</section> + +<footer> + <div class="container"> + <p>Dumpling Master - Your guide to perfect Chinese dumplings</p> + </div> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..449dc99 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://dumplingmaster.scroll.pub +metaTags +editButton /edit.html +title Learn to Make Chinese Dumplings - Dumpling Master +style.css +body.html +script.js \ No newline at end of file diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..0254918 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "cb9f34f5-e137-4902-8d4d-7aa82c181c08", + "object": "chat.completion", + "created": 1735491466, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\ndumplingmaster.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://dumplingmaster.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Learn to Make Chinese Dumplings - Dumpling Master\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"hero\">\n <h1>Master the Art of Chinese Dumplings</h1>\n <p>Step-by-step guide to making perfect dumplings at home</p>\n</header>\n\n<section class=\"intro\">\n <div class=\"container\">\n <h2>Welcome to Dumpling Master</h2>\n <p>Discover the secrets to making authentic Chinese dumplings with our interactive guide. Whether you're a beginner or looking to perfect your technique, we've got you covered.</p>\n <div class=\"timer\">\n <h3>Prep Time Calculator</h3>\n <label for=\"dumplingCount\">Number of Dumplings:</label>\n <input type=\"number\" id=\"dumplingCount\" min=\"1\" max=\"100\" value=\"10\">\n <p>Estimated Prep Time: <span id=\"prepTime\">30 minutes</span></p>\n </div>\n </div>\n</section>\n\n<section class=\"steps\">\n <div class=\"container\">\n <h2>Step-by-Step Guide</h2>\n <div class=\"step\" data-step=\"1\">\n <h3>1. Prepare the Dough</h3>\n <p>Mix flour and water to create the perfect dumpling wrapper.</p>\n <button class=\"next-step\">Next</button>\n </div>\n <div class=\"step\" data-step=\"2\" style=\"display:none;\">\n <h3>2. Make the Filling</h3>\n <p>Combine your choice of meat and vegetables with seasonings.</p>\n <button class=\"next-step\">Next</button>\n </div>\n <div class=\"step\" data-step=\"3\" style=\"display:none;\">\n <h3>3. Assemble the Dumplings</h3>\n <p>Learn the proper folding techniques for perfect dumplings.</p>\n <button class=\"next-step\">Next</button>\n </div>\n <div class=\"step\" data-step=\"4\" style=\"display:none;\">\n <h3>4. Cook to Perfection</h3>\n <p>Choose between steaming, boiling, or pan-frying your dumplings.</p>\n <button class=\"restart\">Start Over</button>\n </div>\n </div>\n</section>\n\n<footer>\n <div class=\"container\">\n <p>Dumpling Master - Your guide to perfect Chinese dumplings</p>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #d32f2f;\n --secondary-color: #ffcdd2;\n --accent-color: #f44336;\n --text-color: #333;\n --bg-color: #f5f5f5;\n}\n\nbody {\n font-family: 'Helvetica Neue', sans-serif;\n color: var(--text-color);\n background-color: var(--bg-color);\n line-height: 1.6;\n margin: 0;\n padding: 0;\n}\n\n.hero {\n background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('dumpling-bg.jpg');\n background-size: cover;\n background-position: center;\n color: white;\n text-align: center;\n padding: 4rem 1rem;\n}\n\n.container {\n max-width: 800px;\n margin: 0 auto;\n padding: 2rem;\n}\n\nh1, h2, h3 {\n color: var(--primary-color);\n}\n\n.timer {\n background: white;\n padding: 1.5rem;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n margin: 2rem 0;\n}\n\n.steps {\n background: white;\n padding: 2rem;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n\n.step {\n display: none;\n}\n\n.step.active {\n display: block;\n}\n\nbutton {\n background-color: var(--primary-color);\n color: white;\n border: none;\n padding: 0.8rem 1.5rem;\n border-radius: 4px;\n cursor: pointer;\n transition: background-color 0.3s ease;\n}\n\nbutton:hover {\n background-color: var(--accent-color);\n}\n\nfooter {\n background-color: var(--primary-color);\n color: white;\n text-align: center;\n padding: 1rem;\n margin-top: 2rem;\n}\n\n@media (max-width: 768px) {\n .hero {\n padding: 2rem 1rem;\n }\n \n .container {\n padding: 1rem;\n }\n}\n---script.js---\n// Timer functionality\nconst dumplingCount = document.getElementById('dumplingCount');\nconst prepTime = document.getElementById('prepTime');\n\ndumplingCount.addEventListener('input', () => {\n const count = parseInt(dumplingCount.value);\n const time = Math.max(30, Math.round(count * 1.5));\n prepTime.textContent = `${time} minutes`;\n});\n\n// Step navigation\nconst steps = document.querySelectorAll('.step');\nconst nextButtons = document.querySelectorAll('.next-step');\nconst restartButton = document.querySelector('.restart');\n\nlet currentStep = 0;\n\nfunction showStep(stepIndex) {\n steps.forEach((step, index) => {\n step.style.display = index === stepIndex ? 'block' : 'none';\n });\n}\n\nnextButtons.forEach(button => {\n button.addEventListener('click', () => {\n currentStep++;\n if (currentStep >= steps.length) currentStep = 0;\n showStep(currentStep);\n });\n});\n\nif (restartButton) {\n restartButton.addEventListener('click', () => {\n currentStep = 0;\n showStep(currentStep);\n });\n}\n\n// Initialize first step\nshowStep(0);\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 259, + "completion_tokens": 1382, + "total_tokens": 1641, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 259 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..337bfd6 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# dumplingmaster.scroll.pub +Website generated by DeepSeek from prompt: I want a website teaches people how to make Chinese domplings. It should have numerical tools and interactivitiy. Be creative. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..54776de --- /dev/null +++ b/script.js @@ -0,0 +1,40 @@ +// Timer functionality +const dumplingCount = document.getElementById('dumplingCount'); +const prepTime = document.getElementById('prepTime'); + +dumplingCount.addEventListener('input', () => { + const count = parseInt(dumplingCount.value); + const time = Math.max(30, Math.round(count * 1.5)); + prepTime.textContent = `${time} minutes`; +}); + +// Step navigation +const steps = document.querySelectorAll('.step'); +const nextButtons = document.querySelectorAll('.next-step'); +const restartButton = document.querySelector('.restart'); + +let currentStep = 0; + +function showStep(stepIndex) { + steps.forEach((step, index) => { + step.style.display = index === stepIndex ? 'block' : 'none'; + }); +} + +nextButtons.forEach(button => { + button.addEventListener('click', () => { + currentStep++; + if (currentStep >= steps.length) currentStep = 0; + showStep(currentStep); + }); +}); + +if (restartButton) { + restartButton.addEventListener('click', () => { + currentStep = 0; + showStep(currentStep); + }); +} + +// Initialize first step +showStep(0); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..6d5aa90 --- /dev/null +++ b/style.css @@ -0,0 +1,90 @@ +:root { + --primary-color: #d32f2f; + --secondary-color: #ffcdd2; + --accent-color: #f44336; + --text-color: #333; + --bg-color: #f5f5f5; +} + +body { + font-family: 'Helvetica Neue', sans-serif; + color: var(--text-color); + background-color: var(--bg-color); + line-height: 1.6; + margin: 0; + padding: 0; +} + +.hero { + background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('dumpling-bg.jpg'); + background-size: cover; + background-position: center; + color: white; + text-align: center; + padding: 4rem 1rem; +} + +.container { + max-width: 800px; + margin: 0 auto; + padding: 2rem; +} + +h1, h2, h3 { + color: var(--primary-color); +} + +.timer { + background: white; + padding: 1.5rem; + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + margin: 2rem 0; +} + +.steps { + background: white; + padding: 2rem; + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); +} + +.step { + display: none; +} + +.step.active { + display: block; +} + +button { + background-color: var(--primary-color); + color: white; + border: none; + padding: 0.8rem 1.5rem; + border-radius: 4px; + cursor: pointer; + transition: background-color 0.3s ease; +} + +button:hover { + background-color: var(--accent-color); +} + +footer { + background-color: var(--primary-color); + color: white; + text-align: center; + padding: 1rem; + margin-top: 2rem; +} + +@media (max-width: 768px) { + .hero { + padding: 2rem 1rem; + } + + .container { + padding: 1rem; + } +} \ No newline at end of file