commit 01ebfbc2236d865051808823b4df7ab19d474685
Author: root <root@hub.scroll.pub> Date: 2025-01-02 09:22:18 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..a21ac12 --- /dev/null +++ b/body.html @@ -0,0 +1,33 @@ +<header> + <h1>BrawStars</h1> + <p>Your ultimate guide to mastering every star in the game.</p> +</header> +<main> + <section id="stars"> + <h2>Stars Index</h2> + <div class="star-grid"> + <div class="star-card" data-star="1"> + <h3>Star 1</h3> + <p>Description of Star 1.</p> + <button onclick="analyzeStar(1)">Analyze</button> + </div> + <div class="star-card" data-star="2"> + <h3>Star 2</h3> + <p>Description of Star 2.</p> + <button onclick="analyzeStar(2)">Analyze</button> + </div> + <div class="star-card" data-star="3"> + <h3>Star 3</h3> + <p>Description of Star 3.</p> + <button onclick="analyzeStar(3)">Analyze</button> + </div> + </div> + </section> + <section id="analysis"> + <h2>Analysis</h2> + <p id="analysis-text">Select a star to see its analysis.</p> + </section> +</main> +<footer> + <p>Explore, analyze, and master every star in BrawStars.</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..829fe4e --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://brawstars.scroll.pub +metaTags +editButton /edit.html +title BrawStars - Explore, Analyze, and 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..68cd790 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "132d4b4a-016c-41da-ad92-fd075e1fcaf7", + "object": "chat.completion", + "created": 1735809719, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nbrawstars.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://brawstars.scroll.pub\nmetaTags\neditButton /edit.html\ntitle BrawStars - Explore, Analyze, and Master\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>BrawStars</h1>\n <p>Your ultimate guide to mastering every star in the game.</p>\n</header>\n<main>\n <section id=\"stars\">\n <h2>Stars Index</h2>\n <div class=\"star-grid\">\n <div class=\"star-card\" data-star=\"1\">\n <h3>Star 1</h3>\n <p>Description of Star 1.</p>\n <button onclick=\"analyzeStar(1)\">Analyze</button>\n </div>\n <div class=\"star-card\" data-star=\"2\">\n <h3>Star 2</h3>\n <p>Description of Star 2.</p>\n <button onclick=\"analyzeStar(2)\">Analyze</button>\n </div>\n <div class=\"star-card\" data-star=\"3\">\n <h3>Star 3</h3>\n <p>Description of Star 3.</p>\n <button onclick=\"analyzeStar(3)\">Analyze</button>\n </div>\n </div>\n </section>\n <section id=\"analysis\">\n <h2>Analysis</h2>\n <p id=\"analysis-text\">Select a star to see its analysis.</p>\n </section>\n</main>\n<footer>\n <p>Explore, analyze, and master every star in BrawStars.</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n margin: 0;\n padding: 0;\n background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);\n color: #fff;\n}\n\nheader {\n text-align: center;\n padding: 2rem;\n background: rgba(0, 0, 0, 0.5);\n}\n\nh1 {\n font-size: 3rem;\n margin: 0;\n}\n\np {\n font-size: 1.2rem;\n}\n\nmain {\n padding: 2rem;\n}\n\n.star-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1rem;\n}\n\n.star-card {\n background: rgba(255, 255, 255, 0.1);\n padding: 1rem;\n border-radius: 10px;\n text-align: center;\n transition: transform 0.3s ease, background 0.3s ease;\n}\n\n.star-card:hover {\n transform: scale(1.05);\n background: rgba(255, 255, 255, 0.2);\n}\n\nbutton {\n background: #ff6f61;\n border: none;\n padding: 0.5rem 1rem;\n color: #fff;\n border-radius: 5px;\n cursor: pointer;\n transition: background 0.3s ease;\n}\n\nbutton:hover {\n background: #ff3b2f;\n}\n\n#analysis {\n margin-top: 2rem;\n padding: 1rem;\n background: rgba(0, 0, 0, 0.3);\n border-radius: 10px;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background: rgba(0, 0, 0, 0.5);\n margin-top: 2rem;\n}\n\n@media (max-width: 600px) {\n h1 {\n font-size: 2rem;\n }\n\n p {\n font-size: 1rem;\n }\n\n .star-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\nfunction analyzeStar(starId) {\n const analysisText = document.getElementById('analysis-text');\n switch (starId) {\n case 1:\n analysisText.textContent = 'Analysis for Star 1: This star is known for its speed and agility.';\n break;\n case 2:\n analysisText.textContent = 'Analysis for Star 2: This star excels in defense and durability.';\n break;\n case 3:\n analysisText.textContent = 'Analysis for Star 3: This star is a master of stealth and precision.';\n break;\n default:\n analysisText.textContent = 'Select a star to see its analysis.';\n }\n}\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 249, + "completion_tokens": 1013, + "total_tokens": 1262, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 249 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..fbefb18 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# brawstars.scroll.pub +Website generated by DeepSeek from prompt: create a website with brawstar having different stars index and description and analysis \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..2e50eee --- /dev/null +++ b/script.js @@ -0,0 +1,16 @@ +function analyzeStar(starId) { + const analysisText = document.getElementById('analysis-text'); + switch (starId) { + case 1: + analysisText.textContent = 'Analysis for Star 1: This star is known for its speed and agility.'; + break; + case 2: + analysisText.textContent = 'Analysis for Star 2: This star excels in defense and durability.'; + break; + case 3: + analysisText.textContent = 'Analysis for Star 3: This star is a master of stealth and precision.'; + break; + default: + analysisText.textContent = 'Select a star to see its analysis.'; + } +} \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..7bf46ee --- /dev/null +++ b/style.css @@ -0,0 +1,87 @@ +body { + font-family: 'Arial', sans-serif; + margin: 0; + padding: 0; + background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); + color: #fff; +} + +header { + text-align: center; + padding: 2rem; + background: rgba(0, 0, 0, 0.5); +} + +h1 { + font-size: 3rem; + margin: 0; +} + +p { + font-size: 1.2rem; +} + +main { + padding: 2rem; +} + +.star-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 1rem; +} + +.star-card { + background: rgba(255, 255, 255, 0.1); + padding: 1rem; + border-radius: 10px; + text-align: center; + transition: transform 0.3s ease, background 0.3s ease; +} + +.star-card:hover { + transform: scale(1.05); + background: rgba(255, 255, 255, 0.2); +} + +button { + background: #ff6f61; + border: none; + padding: 0.5rem 1rem; + color: #fff; + border-radius: 5px; + cursor: pointer; + transition: background 0.3s ease; +} + +button:hover { + background: #ff3b2f; +} + +#analysis { + margin-top: 2rem; + padding: 1rem; + background: rgba(0, 0, 0, 0.3); + border-radius: 10px; +} + +footer { + text-align: center; + padding: 1rem; + background: rgba(0, 0, 0, 0.5); + margin-top: 2rem; +} + +@media (max-width: 600px) { + h1 { + font-size: 2rem; + } + + p { + font-size: 1rem; + } + + .star-grid { + grid-template-columns: 1fr; + } +} \ No newline at end of file