commit 6bcbabdc519056fcc85f80ada9ad5236d1db6823
Author: root <root@hub.scroll.pub> Date: 2024-12-27 18:56:27 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..29c0007 --- /dev/null +++ b/body.html @@ -0,0 +1,61 @@ +<header class="header"> + <div class="logo">Style Haven</div> + <nav class="nav"> + <a href="#shop">Shop</a> + <a href="#about">About</a> + <a href="#contact">Contact</a> + </nav> +</header> + +<main> + <section class="hero"> + <div class="hero-content"> + <h1>Discover Your Style</h1> + <p>Elevate your wardrobe with our modern and chic collection.</p> + <a href="#shop" class="cta-button">Shop Now</a> + </div> + </section> + + <section id="shop" class="shop"> + <h2>Our Collection</h2> + <div class="product-grid"> + <div class="product-card"> + <img src="images/dress1.jpg" alt="Elegant Evening Dress"> + <h3>Elegant Evening Dress</h3> + <p>$120.00</p> + <button class="add-to-cart">Add to Cart</button> + </div> + <div class="product-card"> + <img src="images/blouse1.jpg" alt="Casual Blouse"> + <h3>Casual Blouse</h3> + <p>$45.00</p> + <button class="add-to-cart">Add to Cart</button> + </div> + <div class="product-card"> + <img src="images/pants1.jpg" alt="Tailored Pants"> + <h3>Tailored Pants</h3> + <p>$85.00</p> + <button class="add-to-cart">Add to Cart</button> + </div> + </div> + </section> + + <section id="about" class="about"> + <h2>About Us</h2> + <p>At Style Haven, we believe in empowering women through fashion. Our collections are designed to inspire confidence and elegance in every woman.</p> + </section> + + <section id="contact" class="contact"> + <h2>Contact Us</h2> + <form class="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">Send Message</button> + </form> + </section> +</main> + +<footer class="footer"> + <p>Style Haven - Where Fashion Meets Elegance</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..b69e37b --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://stylehaven.scroll.pub +metaTags +editButton /edit.html +title Style Haven | Modern Women's Fashion +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..da7af59 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "03c3aed2-2071-4102-bfa6-5982acb18c68", + "object": "chat.completion", + "created": 1735325767, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nstylehaven.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://stylehaven.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Style Haven | Modern Women's Fashion\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"header\">\n <div class=\"logo\">Style Haven</div>\n <nav class=\"nav\">\n <a href=\"#shop\">Shop</a>\n <a href=\"#about\">About</a>\n <a href=\"#contact\">Contact</a>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <div class=\"hero-content\">\n <h1>Discover Your Style</h1>\n <p>Elevate your wardrobe with our modern and chic collection.</p>\n <a href=\"#shop\" class=\"cta-button\">Shop Now</a>\n </div>\n </section>\n\n <section id=\"shop\" class=\"shop\">\n <h2>Our Collection</h2>\n <div class=\"product-grid\">\n <div class=\"product-card\">\n <img src=\"images/dress1.jpg\" alt=\"Elegant Evening Dress\">\n <h3>Elegant Evening Dress</h3>\n <p>$120.00</p>\n <button class=\"add-to-cart\">Add to Cart</button>\n </div>\n <div class=\"product-card\">\n <img src=\"images/blouse1.jpg\" alt=\"Casual Blouse\">\n <h3>Casual Blouse</h3>\n <p>$45.00</p>\n <button class=\"add-to-cart\">Add to Cart</button>\n </div>\n <div class=\"product-card\">\n <img src=\"images/pants1.jpg\" alt=\"Tailored Pants\">\n <h3>Tailored Pants</h3>\n <p>$85.00</p>\n <button class=\"add-to-cart\">Add to Cart</button>\n </div>\n </div>\n </section>\n\n <section id=\"about\" class=\"about\">\n <h2>About Us</h2>\n <p>At Style Haven, we believe in empowering women through fashion. Our collections are designed to inspire confidence and elegance in every woman.</p>\n </section>\n\n <section id=\"contact\" class=\"contact\">\n <h2>Contact Us</h2>\n <form class=\"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\">Send Message</button>\n </form>\n </section>\n</main>\n\n<footer class=\"footer\">\n <p>Style Haven - Where Fashion Meets Elegance</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #ff6f61;\n --secondary-color: #333;\n --background-color: #f9f9f9;\n --text-color: #333;\n --light-text-color: #fff;\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 background-color: var(--background-color);\n}\n\n.header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 20px;\n background-color: var(--secondary-color);\n color: var(--light-text-color);\n}\n\n.logo {\n font-size: 24px;\n font-weight: bold;\n}\n\n.nav a {\n color: var(--light-text-color);\n text-decoration: none;\n margin: 0 15px;\n font-size: 16px;\n}\n\n.hero {\n background: url('images/hero.jpg') no-repeat center center/cover;\n height: 60vh;\n display: flex;\n justify-content: center;\n align-items: center;\n color: var(--light-text-color);\n text-align: center;\n}\n\n.hero-content h1 {\n font-size: 48px;\n margin-bottom: 20px;\n}\n\n.hero-content p {\n font-size: 24px;\n margin-bottom: 30px;\n}\n\n.cta-button {\n background-color: var(--primary-color);\n color: var(--light-text-color);\n padding: 10px 20px;\n text-decoration: none;\n font-size: 18px;\n border-radius: 5px;\n}\n\n.shop {\n padding: 50px 20px;\n text-align: center;\n}\n\n.product-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 20px;\n margin-top: 30px;\n}\n\n.product-card {\n background-color: var(--light-text-color);\n padding: 20px;\n border-radius: 10px;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\n text-align: center;\n}\n\n.product-card img {\n max-width: 100%;\n border-radius: 10px;\n}\n\n.product-card h3 {\n font-size: 20px;\n margin: 15px 0;\n}\n\n.product-card p {\n font-size: 18px;\n color: var(--primary-color);\n}\n\n.add-to-cart {\n background-color: var(--primary-color);\n color: var(--light-text-color);\n padding: 10px 20px;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n}\n\n.about, .contact {\n padding: 50px 20px;\n text-align: center;\n}\n\n.contact-form {\n display: flex;\n flex-direction: column;\n max-width: 400px;\n margin: 0 auto;\n}\n\n.contact-form input, .contact-form textarea {\n margin-bottom: 15px;\n padding: 10px;\n border: 1px solid #ccc;\n border-radius: 5px;\n}\n\n.contact-form button {\n background-color: var(--primary-color);\n color: var(--light-text-color);\n padding: 10px 20px;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n}\n\n.footer {\n background-color: var(--secondary-color);\n color: var(--light-text-color);\n text-align: center;\n padding: 20px;\n}\n\n@media (max-width: 768px) {\n .hero-content h1 {\n font-size: 36px;\n }\n\n .hero-content p {\n font-size: 18px;\n }\n\n .product-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n const addToCartButtons = document.querySelectorAll('.add-to-cart');\n \n addToCartButtons.forEach(button => {\n button.addEventListener('click', function() {\n alert('Item added to cart!');\n });\n });\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 249, + "completion_tokens": 1548, + "total_tokens": 1797, + "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..abd9246 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# stylehaven.scroll.pub +Website generated by DeepSeek from prompt: Create a website to sell womenswear’s. Be modern and creative \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..e00b789 --- /dev/null +++ b/script.js @@ -0,0 +1,9 @@ +document.addEventListener('DOMContentLoaded', function() { + const addToCartButtons = document.querySelectorAll('.add-to-cart'); + + addToCartButtons.forEach(button => { + button.addEventListener('click', function() { + alert('Item added to cart!'); + }); + }); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..6f4fc4b --- /dev/null +++ b/style.css @@ -0,0 +1,159 @@ +:root { + --primary-color: #ff6f61; + --secondary-color: #333; + --background-color: #f9f9f9; + --text-color: #333; + --light-text-color: #fff; + --font-family: 'Arial', sans-serif; +} + +body { + font-family: var(--font-family); + color: var(--text-color); + margin: 0; + padding: 0; + background-color: var(--background-color); +} + +.header { + display: flex; + justify-content: space-between; + align-items: center; + padding: 20px; + background-color: var(--secondary-color); + color: var(--light-text-color); +} + +.logo { + font-size: 24px; + font-weight: bold; +} + +.nav a { + color: var(--light-text-color); + text-decoration: none; + margin: 0 15px; + font-size: 16px; +} + +.hero { + background: url('images/hero.jpg') no-repeat center center/cover; + height: 60vh; + display: flex; + justify-content: center; + align-items: center; + color: var(--light-text-color); + text-align: center; +} + +.hero-content h1 { + font-size: 48px; + margin-bottom: 20px; +} + +.hero-content p { + font-size: 24px; + margin-bottom: 30px; +} + +.cta-button { + background-color: var(--primary-color); + color: var(--light-text-color); + padding: 10px 20px; + text-decoration: none; + font-size: 18px; + border-radius: 5px; +} + +.shop { + padding: 50px 20px; + text-align: center; +} + +.product-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 20px; + margin-top: 30px; +} + +.product-card { + background-color: var(--light-text-color); + padding: 20px; + border-radius: 10px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + text-align: center; +} + +.product-card img { + max-width: 100%; + border-radius: 10px; +} + +.product-card h3 { + font-size: 20px; + margin: 15px 0; +} + +.product-card p { + font-size: 18px; + color: var(--primary-color); +} + +.add-to-cart { + background-color: var(--primary-color); + color: var(--light-text-color); + padding: 10px 20px; + border: none; + border-radius: 5px; + cursor: pointer; +} + +.about, .contact { + padding: 50px 20px; + text-align: center; +} + +.contact-form { + display: flex; + flex-direction: column; + max-width: 400px; + margin: 0 auto; +} + +.contact-form input, .contact-form textarea { + margin-bottom: 15px; + padding: 10px; + border: 1px solid #ccc; + border-radius: 5px; +} + +.contact-form button { + background-color: var(--primary-color); + color: var(--light-text-color); + padding: 10px 20px; + border: none; + border-radius: 5px; + cursor: pointer; +} + +.footer { + background-color: var(--secondary-color); + color: var(--light-text-color); + text-align: center; + padding: 20px; +} + +@media (max-width: 768px) { + .hero-content h1 { + font-size: 36px; + } + + .hero-content p { + font-size: 18px; + } + + .product-grid { + grid-template-columns: 1fr; + } +} \ No newline at end of file