commit b512e8ceb0b7b0f77818c37901824a3f379d3f74
Author: root <root@hub.scroll.pub> Date: 2024-12-30 01:41:34 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..b813535 --- /dev/null +++ b/body.html @@ -0,0 +1,104 @@ +<header> + <h1>SparkleScroll Car Wash</h1> + <nav> + <ul> + <li><a href="#services">Services</a></li> + <li><a href="#pricing">Pricing</a></li> + <li><a href="#gallery">Gallery</a></li> + <li><a href="#location">Location</a></li> + </ul> + </nav> +</header> + +<main> + <section id="hero"> + <div class="hero-content"> + <h2>Your Car Deserves the Best</h2> + <p>Professional car care in the heart of Dublin</p> + <a href="#services" class="cta-button">Explore Services</a> + </div> + </section> + + <section id="services"> + <h2>Our Services</h2> + <div class="service-grid"> + <div class="service-card"> + <h3>Basic Wash</h3> + <p>Exterior wash and dry</p> + </div> + <div class="service-card"> + <h3>Deluxe Wash</h3> + <p>Exterior, interior, and wax</p> + </div> + <div class="service-card"> + <h3>Premium Detail</h3> + <p>Full interior and exterior detail</p> + </div> + </div> + </section> + + <section id="pricing"> + <h2>Pricing</h2> + <div class="price-table"> + <div class="price-tier"> + <h3>Basic</h3> + <p class="price">€15</p> + <ul> + <li>Exterior Wash</li> + <li>Hand Dry</li> + <li>Tire Shine</li> + </ul> + </div> + <div class="price-tier"> + <h3>Deluxe</h3> + <p class="price">€30</p> + <ul> + <li>Basic Wash +</li> + <li>Interior Vacuum</li> + <li>Window Clean</li> + </ul> + </div> + <div class="price-tier"> + <h3>Premium</h3> + <p class="price">€50</p> + <ul> + <li>Deluxe Wash +</li> + <li>Wax Finish</li> + <li>Leather Condition</li> + </ul> + </div> + </div> + </section> + + <section id="gallery"> + <h2>Before & After</h2> + <div class="gallery-grid"> + <div class="before-after"> + <img src="before1.jpg" alt="Car before wash"> + <img src="after1.jpg" alt="Car after wash"> + </div> + <div class="before-after"> + <img src="before2.jpg" alt="Car before wash"> + <img src="after2.jpg" alt="Car after wash"> + </div> + </div> + </section> + + <section id="location"> + <h2>Our Location</h2> + <div class="map-container"> + <div class="map"> + <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2381.810525072318!2d-6.260384684159705!3d53.34488837997886!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x48670e80ea27ac2f%3A0xa00c7a9973171a0!2sDublin!5e0!3m2!1sen!2sie!4v1622547661237!5m2!1sen!2sie" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy"></iframe> + </div> + <div class="address"> + <p>123 Sparkle Street</p> + <p>Dublin, Ireland</p> + <p>Phone: +353 1 234 5678</p> + </div> + </div> + </section> +</main> + +<footer> + <p>Open Daily: 8am - 8pm</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..2a25c01 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://sparklescroll.scroll.pub +metaTags +editButton /edit.html +title SparkleScroll Car Wash - Dublin's Finest Car Care +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..a5776b9 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "fb74aaf3-8300-4655-8775-a4ee6b5d0303", + "object": "chat.completion", + "created": 1735522865, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nsparklescroll.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://sparklescroll.scroll.pub\nmetaTags\neditButton /edit.html\ntitle SparkleScroll Car Wash - Dublin's Finest Car Care\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>SparkleScroll Car Wash</h1>\n <nav>\n <ul>\n <li><a href=\"#services\">Services</a></li>\n <li><a href=\"#pricing\">Pricing</a></li>\n <li><a href=\"#gallery\">Gallery</a></li>\n <li><a href=\"#location\">Location</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section id=\"hero\">\n <div class=\"hero-content\">\n <h2>Your Car Deserves the Best</h2>\n <p>Professional car care in the heart of Dublin</p>\n <a href=\"#services\" class=\"cta-button\">Explore Services</a>\n </div>\n </section>\n\n <section id=\"services\">\n <h2>Our Services</h2>\n <div class=\"service-grid\">\n <div class=\"service-card\">\n <h3>Basic Wash</h3>\n <p>Exterior wash and dry</p>\n </div>\n <div class=\"service-card\">\n <h3>Deluxe Wash</h3>\n <p>Exterior, interior, and wax</p>\n </div>\n <div class=\"service-card\">\n <h3>Premium Detail</h3>\n <p>Full interior and exterior detail</p>\n </div>\n </div>\n </section>\n\n <section id=\"pricing\">\n <h2>Pricing</h2>\n <div class=\"price-table\">\n <div class=\"price-tier\">\n <h3>Basic</h3>\n <p class=\"price\">€15</p>\n <ul>\n <li>Exterior Wash</li>\n <li>Hand Dry</li>\n <li>Tire Shine</li>\n </ul>\n </div>\n <div class=\"price-tier\">\n <h3>Deluxe</h3>\n <p class=\"price\">€30</p>\n <ul>\n <li>Basic Wash +</li>\n <li>Interior Vacuum</li>\n <li>Window Clean</li>\n </ul>\n </div>\n <div class=\"price-tier\">\n <h3>Premium</h3>\n <p class=\"price\">€50</p>\n <ul>\n <li>Deluxe Wash +</li>\n <li>Wax Finish</li>\n <li>Leather Condition</li>\n </ul>\n </div>\n </div>\n </section>\n\n <section id=\"gallery\">\n <h2>Before & After</h2>\n <div class=\"gallery-grid\">\n <div class=\"before-after\">\n <img src=\"before1.jpg\" alt=\"Car before wash\">\n <img src=\"after1.jpg\" alt=\"Car after wash\">\n </div>\n <div class=\"before-after\">\n <img src=\"before2.jpg\" alt=\"Car before wash\">\n <img src=\"after2.jpg\" alt=\"Car after wash\">\n </div>\n </div>\n </section>\n\n <section id=\"location\">\n <h2>Our Location</h2>\n <div class=\"map-container\">\n <div class=\"map\">\n <iframe src=\"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2381.810525072318!2d-6.260384684159705!3d53.34488837997886!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x48670e80ea27ac2f%3A0xa00c7a9973171a0!2sDublin!5e0!3m2!1sen!2sie!4v1622547661237!5m2!1sen!2sie\" width=\"600\" height=\"450\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\"></iframe>\n </div>\n <div class=\"address\">\n <p>123 Sparkle Street</p>\n <p>Dublin, Ireland</p>\n <p>Phone: +353 1 234 5678</p>\n </div>\n </div>\n </section>\n</main>\n\n<footer>\n <p>Open Daily: 8am - 8pm</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #0077b6;\n --secondary-color: #00b4d8;\n --accent-color: #90e0ef;\n --text-color: #333;\n --background-color: #f8f9fa;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n}\n\nheader {\n background: var(--primary-color);\n color: white;\n padding: 1rem;\n text-align: center;\n}\n\nnav ul {\n list-style: none;\n display: flex;\n justify-content: center;\n gap: 1rem;\n margin-top: 1rem;\n}\n\nnav a {\n color: white;\n text-decoration: none;\n transition: color 0.3s;\n}\n\nnav a:hover {\n color: var(--accent-color);\n}\n\n#hero {\n background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('car-wash.jpg');\n background-size: cover;\n background-position: center;\n height: 60vh;\n display: flex;\n align-items: center;\n justify-content: center;\n color: white;\n text-align: center;\n}\n\n.hero-content {\n animation: fadeIn 2s ease-in-out;\n}\n\n@keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n\n.cta-button {\n background: var(--secondary-color);\n color: white;\n padding: 0.8rem 2rem;\n border-radius: 25px;\n text-decoration: none;\n transition: background 0.3s;\n}\n\n.cta-button:hover {\n background: var(--accent-color);\n}\n\nsection {\n padding: 2rem;\n}\n\nh2 {\n color: var(--primary-color);\n margin-bottom: 1.5rem;\n text-align: center;\n}\n\n.service-grid, .price-table {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 1.5rem;\n}\n\n.service-card, .price-tier {\n background: white;\n padding: 1.5rem;\n border-radius: 10px;\n box-shadow: 0 2px 5px rgba(0,0,0,0.1);\n transition: transform 0.3s;\n}\n\n.service-card:hover, .price-tier:hover {\n transform: translateY(-5px);\n}\n\n.price {\n color: var(--secondary-color);\n font-size: 2rem;\n font-weight: bold;\n margin: 1rem 0;\n}\n\n.gallery-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 1rem;\n}\n\n.before-after {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 0.5rem;\n}\n\n.before-after img {\n width: 100%;\n border-radius: 5px;\n transition: transform 0.3s;\n}\n\n.before-after img:hover {\n transform: scale(1.05);\n}\n\n.map-container {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 2rem;\n align-items: center;\n}\n\n.map {\n height: 300px;\n border-radius: 10px;\n overflow: hidden;\n}\n\nfooter {\n background: var(--primary-color);\n color: white;\n text-align: center;\n padding: 1rem;\n}\n\n@media (max-width: 768px) {\n .map-container {\n grid-template-columns: 1fr;\n }\n \n .hero-content {\n padding: 0 1rem;\n }\n}\n---script.js---\n// Smooth scrolling for anchor links\ndocument.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n});\n\n// Add animations on scroll\nconst observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('animate');\n }\n });\n});\n\ndocument.querySelectorAll('section').forEach(section => {\n observer.observe(section);\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 268, + "completion_tokens": 2088, + "total_tokens": 2356, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 268 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..3298d85 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# sparklescroll.scroll.pub +Website generated by DeepSeek from prompt: create a website for a car wash in Dublin Ireland, showing the location, price, what kinda service it does and some customers pictures before/after, make the website animated \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..0e5e850 --- /dev/null +++ b/script.js @@ -0,0 +1,22 @@ +// Smooth scrolling for anchor links +document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + document.querySelector(this.getAttribute('href')).scrollIntoView({ + behavior: 'smooth' + }); + }); +}); + +// Add animations on scroll +const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.classList.add('animate'); + } + }); +}); + +document.querySelectorAll('section').forEach(section => { + observer.observe(section); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..57e62c9 --- /dev/null +++ b/style.css @@ -0,0 +1,166 @@ +:root { + --primary-color: #0077b6; + --secondary-color: #00b4d8; + --accent-color: #90e0ef; + --text-color: #333; + --background-color: #f8f9fa; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', sans-serif; + line-height: 1.6; + color: var(--text-color); + background-color: var(--background-color); +} + +header { + background: var(--primary-color); + color: white; + padding: 1rem; + text-align: center; +} + +nav ul { + list-style: none; + display: flex; + justify-content: center; + gap: 1rem; + margin-top: 1rem; +} + +nav a { + color: white; + text-decoration: none; + transition: color 0.3s; +} + +nav a:hover { + color: var(--accent-color); +} + +#hero { + background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('car-wash.jpg'); + background-size: cover; + background-position: center; + height: 60vh; + display: flex; + align-items: center; + justify-content: center; + color: white; + text-align: center; +} + +.hero-content { + animation: fadeIn 2s ease-in-out; +} + +@keyframes fadeIn { + from { opacity: 0; } + to { opacity: 1; } +} + +.cta-button { + background: var(--secondary-color); + color: white; + padding: 0.8rem 2rem; + border-radius: 25px; + text-decoration: none; + transition: background 0.3s; +} + +.cta-button:hover { + background: var(--accent-color); +} + +section { + padding: 2rem; +} + +h2 { + color: var(--primary-color); + margin-bottom: 1.5rem; + text-align: center; +} + +.service-grid, .price-table { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 1.5rem; +} + +.service-card, .price-tier { + background: white; + padding: 1.5rem; + border-radius: 10px; + box-shadow: 0 2px 5px rgba(0,0,0,0.1); + transition: transform 0.3s; +} + +.service-card:hover, .price-tier:hover { + transform: translateY(-5px); +} + +.price { + color: var(--secondary-color); + font-size: 2rem; + font-weight: bold; + margin: 1rem 0; +} + +.gallery-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 1rem; +} + +.before-after { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 0.5rem; +} + +.before-after img { + width: 100%; + border-radius: 5px; + transition: transform 0.3s; +} + +.before-after img:hover { + transform: scale(1.05); +} + +.map-container { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 2rem; + align-items: center; +} + +.map { + height: 300px; + border-radius: 10px; + overflow: hidden; +} + +footer { + background: var(--primary-color); + color: white; + text-align: center; + padding: 1rem; +} + +@media (max-width: 768px) { + .map-container { + grid-template-columns: 1fr; + } + + .hero-content { + padding: 0 1rem; + } +} \ No newline at end of file