commit 214839ee80a433659d06864aecce98650fc5818e
Author: root <root@hub.scroll.pub> Date: 2024-12-29 15:09:18 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..6c25db6 --- /dev/null +++ b/body.html @@ -0,0 +1,82 @@ +<header> + <div class="container"> + <h1>SportSpots</h1> + <p>Find and book sports in Groningen to workout with friends or meet new people!</p> + <nav> + <ul> + <li><a href="#sports">Sports</a></li> + <li><a href="#how-it-works">How It Works</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> + </div> +</header> + +<main> + <section id="sports" class="section-padding"> + <div class="container"> + <h2>Explore Sports</h2> + <div class="sports-grid"> + <div class="sport-card"> + <h3>Football</h3> + <p>Join a friendly match or train with a team.</p> + <button class="btn">Book Now</button> + </div> + <div class="sport-card"> + <h3>Basketball</h3> + <p>Shoot hoops and improve your skills.</p> + <button class="btn">Book Now</button> + </div> + <div class="sport-card"> + <h3>Tennis</h3> + <p>Play singles or doubles on local courts.</p> + <button class="btn">Book Now</button> + </div> + <div class="sport-card"> + <h3>Yoga</h3> + <p>Relax and stretch with a group session.</p> + <button class="btn">Book Now</button> + </div> + </div> + </div> + </section> + + <section id="how-it-works" class="section-padding bg-light"> + <div class="container"> + <h2>How It Works</h2> + <div class="steps-grid"> + <div class="step"> + <h3>1. Choose a Sport</h3> + <p>Pick from a variety of sports available in Groningen.</p> + </div> + <div class="step"> + <h3>2. Book a Spot</h3> + <p>Reserve your spot for a session or event.</p> + </div> + <div class="step"> + <h3>3. Meet & Play</h3> + <p>Join others and enjoy your workout!</p> + </div> + </div> + </div> + </section> + + <section id="contact" class="section-padding"> + <div class="container"> + <h2>Contact Us</h2> + <p>Have questions? Reach out to us!</p> + <form id="contact-form"> + <input type="text" placeholder="Your Name" required> + <input type="email" placeholder="Your Email" required> + <textarea placeholder="Your Message" required></textarea> + <button type="submit" class="btn">Send Message</button> + </form> + </div> + </section> +</main> + +<footer> + <div class="container"> + <p>SportSpots - Connecting people through sports in Groningen.</p> + </div> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..43c43eb --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://sportspots.scroll.pub +metaTags +editButton /edit.html +title SportSpots - Find and Book Sports in Groningen +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..698df4b --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "1511508e-ae44-4595-a7f8-a09e36a95eda", + "object": "chat.completion", + "created": 1735484932, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nsportspots.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://sportspots.scroll.pub\nmetaTags\neditButton /edit.html\ntitle SportSpots - Find and Book Sports in Groningen\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <div class=\"container\">\n <h1>SportSpots</h1>\n <p>Find and book sports in Groningen to workout with friends or meet new people!</p>\n <nav>\n <ul>\n <li><a href=\"#sports\">Sports</a></li>\n <li><a href=\"#how-it-works\">How It Works</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n </ul>\n </nav>\n </div>\n</header>\n\n<main>\n <section id=\"sports\" class=\"section-padding\">\n <div class=\"container\">\n <h2>Explore Sports</h2>\n <div class=\"sports-grid\">\n <div class=\"sport-card\">\n <h3>Football</h3>\n <p>Join a friendly match or train with a team.</p>\n <button class=\"btn\">Book Now</button>\n </div>\n <div class=\"sport-card\">\n <h3>Basketball</h3>\n <p>Shoot hoops and improve your skills.</p>\n <button class=\"btn\">Book Now</button>\n </div>\n <div class=\"sport-card\">\n <h3>Tennis</h3>\n <p>Play singles or doubles on local courts.</p>\n <button class=\"btn\">Book Now</button>\n </div>\n <div class=\"sport-card\">\n <h3>Yoga</h3>\n <p>Relax and stretch with a group session.</p>\n <button class=\"btn\">Book Now</button>\n </div>\n </div>\n </div>\n </section>\n\n <section id=\"how-it-works\" class=\"section-padding bg-light\">\n <div class=\"container\">\n <h2>How It Works</h2>\n <div class=\"steps-grid\">\n <div class=\"step\">\n <h3>1. Choose a Sport</h3>\n <p>Pick from a variety of sports available in Groningen.</p>\n </div>\n <div class=\"step\">\n <h3>2. Book a Spot</h3>\n <p>Reserve your spot for a session or event.</p>\n </div>\n <div class=\"step\">\n <h3>3. Meet & Play</h3>\n <p>Join others and enjoy your workout!</p>\n </div>\n </div>\n </div>\n </section>\n\n <section id=\"contact\" class=\"section-padding\">\n <div class=\"container\">\n <h2>Contact Us</h2>\n <p>Have questions? Reach out to us!</p>\n <form id=\"contact-form\">\n <input type=\"text\" placeholder=\"Your Name\" required>\n <input type=\"email\" placeholder=\"Your Email\" required>\n <textarea placeholder=\"Your Message\" required></textarea>\n <button type=\"submit\" class=\"btn\">Send Message</button>\n </form>\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"container\">\n <p>SportSpots - Connecting people through sports in Groningen.</p>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #ff6b6b;\n --secondary-color: #4ecdc4;\n --background-light: #f8f9fa;\n --text-color: #333;\n --font-family: 'Arial', sans-serif;\n}\n\nbody {\n font-family: var(--font-family);\n color: var(--text-color);\n margin: 0;\n padding: 0;\n line-height: 1.6;\n}\n\nheader {\n background: var(--primary-color);\n color: white;\n padding: 2rem 0;\n text-align: center;\n}\n\nheader h1 {\n margin: 0;\n font-size: 2.5rem;\n}\n\nheader p {\n font-size: 1.2rem;\n margin: 0.5rem 0 0;\n}\n\nnav ul {\n list-style: none;\n padding: 0;\n margin: 1rem 0 0;\n}\n\nnav ul li {\n display: inline;\n margin: 0 1rem;\n}\n\nnav ul li a {\n color: white;\n text-decoration: none;\n font-weight: bold;\n}\n\n.section-padding {\n padding: 4rem 0;\n}\n\n.bg-light {\n background: var(--background-light);\n}\n\n.container {\n width: 90%;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.sports-grid, .steps-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.sport-card, .step {\n background: white;\n padding: 1.5rem;\n border-radius: 8px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n text-align: center;\n}\n\n.sport-card h3, .step h3 {\n margin: 0 0 1rem;\n font-size: 1.5rem;\n}\n\n.sport-card p, .step p {\n margin: 0 0 1.5rem;\n}\n\n.btn {\n background: var(--secondary-color);\n color: white;\n padding: 0.75rem 1.5rem;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n font-size: 1rem;\n}\n\n.btn:hover {\n background: #3aa89f;\n}\n\n#contact-form {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n max-width: 500px;\n margin: 0 auto;\n}\n\n#contact-form input, #contact-form textarea {\n padding: 0.75rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n\nfooter {\n background: var(--primary-color);\n color: white;\n text-align: center;\n padding: 1rem 0;\n margin-top: 2rem;\n}\n\n@media (max-width: 768px) {\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1rem;\n }\n\n .sports-grid, .steps-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.getElementById('contact-form').addEventListener('submit', function (e) {\n e.preventDefault();\n alert('Thank you for your message! We will get back to you soon.');\n this.reset();\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 266, + "completion_tokens": 1549, + "total_tokens": 1815, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 266 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..bef066a --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# sportspots.scroll.pub +Website generated by DeepSeek from prompt: I want a website named SportSpots where you can find and book all sports in Groningen, to workout with friends or people you haven’t met yet \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..51ef36d --- /dev/null +++ b/script.js @@ -0,0 +1,5 @@ +document.getElementById('contact-form').addEventListener('submit', function (e) { + e.preventDefault(); + alert('Thank you for your message! We will get back to you soon.'); + this.reset(); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..99449b7 --- /dev/null +++ b/style.css @@ -0,0 +1,137 @@ +:root { + --primary-color: #ff6b6b; + --secondary-color: #4ecdc4; + --background-light: #f8f9fa; + --text-color: #333; + --font-family: 'Arial', sans-serif; +} + +body { + font-family: var(--font-family); + color: var(--text-color); + margin: 0; + padding: 0; + line-height: 1.6; +} + +header { + background: var(--primary-color); + color: white; + padding: 2rem 0; + text-align: center; +} + +header h1 { + margin: 0; + font-size: 2.5rem; +} + +header p { + font-size: 1.2rem; + margin: 0.5rem 0 0; +} + +nav ul { + list-style: none; + padding: 0; + margin: 1rem 0 0; +} + +nav ul li { + display: inline; + margin: 0 1rem; +} + +nav ul li a { + color: white; + text-decoration: none; + font-weight: bold; +} + +.section-padding { + padding: 4rem 0; +} + +.bg-light { + background: var(--background-light); +} + +.container { + width: 90%; + max-width: 1200px; + margin: 0 auto; +} + +.sports-grid, .steps-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + margin-top: 2rem; +} + +.sport-card, .step { + background: white; + padding: 1.5rem; + border-radius: 8px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + text-align: center; +} + +.sport-card h3, .step h3 { + margin: 0 0 1rem; + font-size: 1.5rem; +} + +.sport-card p, .step p { + margin: 0 0 1.5rem; +} + +.btn { + background: var(--secondary-color); + color: white; + padding: 0.75rem 1.5rem; + border: none; + border-radius: 4px; + cursor: pointer; + font-size: 1rem; +} + +.btn:hover { + background: #3aa89f; +} + +#contact-form { + display: flex; + flex-direction: column; + gap: 1rem; + max-width: 500px; + margin: 0 auto; +} + +#contact-form input, #contact-form textarea { + padding: 0.75rem; + border: 1px solid #ccc; + border-radius: 4px; +} + +footer { + background: var(--primary-color); + color: white; + text-align: center; + padding: 1rem 0; + margin-top: 2rem; +} + +@media (max-width: 768px) { + header h1 { + font-size: 2rem; + } + + header p { + font-size: 1rem; + } + + .sports-grid, .steps-grid { + grid-template-columns: 1fr; + } +} \ No newline at end of file