commit 690fa53fa53355f395905f3a1233a253fb026ebd
Author: root <root@hub.scroll.pub> Date: 2024-12-29 05:04:01 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..cefe946 --- /dev/null +++ b/body.html @@ -0,0 +1,103 @@ +<header> + <nav> + <ul> + <li><a href="#home">Home</a></li> + <li><a href="#blog">Blog</a></li> + <li><a href="#gallery">Travel Gallery</a></li> + </ul> + </nav> +</header> + +<main> + <section id="home"> + <h1>Welcome to WanderWise</h1> + <div class="bio"> + <h2>About Me</h2> + <p>Hi, I'm Alex Johnson, a tech enthusiast, lifestyle blogger, and avid traveler. With a background in software development and a passion for exploring new cultures, I share my experiences and insights through this platform. Connect with me to explore my work and join me on my journey.</p> + <a href="#contact" class="cta">Connect with Me</a> + </div> + </section> + + <section id="blog"> + <h2>Blog</h2> + <div class="blog-posts"> + <article> + <img src="images/tech.jpg" alt="Technology"> + <h3>Tech Trends 2023</h3> + <p>Discover the latest technology trends shaping our future.</p> + <a href="#" class="read-more">Read More</a> + </article> + <article> + <img src="images/lifestyle.jpg" alt="Lifestyle"> + <h3>Healthy Living Tips</h3> + <p>Simple lifestyle changes for a healthier you.</p> + <a href="#" class="read-more">Read More</a> + </article> + <article> + <img src="images/travel.jpg" alt="Travel"> + <h3>Top Travel Destinations</h3> + <p>Explore the best travel destinations for 2023.</p> + <a href="#" class="read-more">Read More</a> + </article> + </div> + <div class="search-filter"> + <input type="text" placeholder="Search blog posts..."> + <select> + <option>Filter by Category</option> + <option>Technology</option> + <option>Lifestyle</option> + <option>Travel</option> + </select> + </div> + </section> + + <section id="gallery"> + <h2>Travel Gallery</h2> + <div class="gallery-grid"> + <figure> + <img src="images/paris.jpg" alt="Paris"> + <figcaption>Paris, France</figcaption> + </figure> + <figure> + <img src="images/tokyo.jpg" alt="Tokyo"> + <figcaption>Tokyo, Japan</figcaption> + </figure> + <figure> + <img src="images/newyork.jpg" alt="New York"> + <figcaption>New York, USA</figcaption> + </figure> + </div> + <div class="travel-stories"> + <h3>Travel Stories & Tips</h3> + <p>Read about my adventures and get tips for your next trip.</p> + <a href="#" class="read-more">Explore More</a> + </div> + </section> + + <section id="contact"> + <h2>Contact Me</h2> + <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> + + <section id="newsletter"> + <h2>Subscribe to My Newsletter</h2> + <form> + <input type="email" placeholder="Enter your email" required> + <button type="submit">Subscribe</button> + </form> + </section> +</main> + +<footer> + <div class="social-media"> + <a href="#"><img src="icons/facebook.svg" alt="Facebook"></a> + <a href="#"><img src="icons/twitter.svg" alt="Twitter"></a> + <a href="#"><img src="icons/instagram.svg" alt="Instagram"></a> + </div> + <p>Contact: alex@wanderwise.scroll.pub</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..c4e4a78 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://wanderwise.scroll.pub +metaTags +editButton /edit.html +title WanderWise - Personal Website +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..eb81c8f --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "efca3b82-1236-427d-851a-a34bc82c42c9", + "object": "chat.completion", + "created": 1735448611, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nwanderwise.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://wanderwise.scroll.pub\nmetaTags\neditButton /edit.html\ntitle WanderWise - Personal Website\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav>\n <ul>\n <li><a href=\"#home\">Home</a></li>\n <li><a href=\"#blog\">Blog</a></li>\n <li><a href=\"#gallery\">Travel Gallery</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section id=\"home\">\n <h1>Welcome to WanderWise</h1>\n <div class=\"bio\">\n <h2>About Me</h2>\n <p>Hi, I'm Alex Johnson, a tech enthusiast, lifestyle blogger, and avid traveler. With a background in software development and a passion for exploring new cultures, I share my experiences and insights through this platform. Connect with me to explore my work and join me on my journey.</p>\n <a href=\"#contact\" class=\"cta\">Connect with Me</a>\n </div>\n </section>\n\n <section id=\"blog\">\n <h2>Blog</h2>\n <div class=\"blog-posts\">\n <article>\n <img src=\"images/tech.jpg\" alt=\"Technology\">\n <h3>Tech Trends 2023</h3>\n <p>Discover the latest technology trends shaping our future.</p>\n <a href=\"#\" class=\"read-more\">Read More</a>\n </article>\n <article>\n <img src=\"images/lifestyle.jpg\" alt=\"Lifestyle\">\n <h3>Healthy Living Tips</h3>\n <p>Simple lifestyle changes for a healthier you.</p>\n <a href=\"#\" class=\"read-more\">Read More</a>\n </article>\n <article>\n <img src=\"images/travel.jpg\" alt=\"Travel\">\n <h3>Top Travel Destinations</h3>\n <p>Explore the best travel destinations for 2023.</p>\n <a href=\"#\" class=\"read-more\">Read More</a>\n </article>\n </div>\n <div class=\"search-filter\">\n <input type=\"text\" placeholder=\"Search blog posts...\">\n <select>\n <option>Filter by Category</option>\n <option>Technology</option>\n <option>Lifestyle</option>\n <option>Travel</option>\n </select>\n </div>\n </section>\n\n <section id=\"gallery\">\n <h2>Travel Gallery</h2>\n <div class=\"gallery-grid\">\n <figure>\n <img src=\"images/paris.jpg\" alt=\"Paris\">\n <figcaption>Paris, France</figcaption>\n </figure>\n <figure>\n <img src=\"images/tokyo.jpg\" alt=\"Tokyo\">\n <figcaption>Tokyo, Japan</figcaption>\n </figure>\n <figure>\n <img src=\"images/newyork.jpg\" alt=\"New York\">\n <figcaption>New York, USA</figcaption>\n </figure>\n </div>\n <div class=\"travel-stories\">\n <h3>Travel Stories & Tips</h3>\n <p>Read about my adventures and get tips for your next trip.</p>\n <a href=\"#\" class=\"read-more\">Explore More</a>\n </div>\n </section>\n\n <section id=\"contact\">\n <h2>Contact Me</h2>\n <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\n <section id=\"newsletter\">\n <h2>Subscribe to My Newsletter</h2>\n <form>\n <input type=\"email\" placeholder=\"Enter your email\" required>\n <button type=\"submit\">Subscribe</button>\n </form>\n </section>\n</main>\n\n<footer>\n <div class=\"social-media\">\n <a href=\"#\"><img src=\"icons/facebook.svg\" alt=\"Facebook\"></a>\n <a href=\"#\"><img src=\"icons/twitter.svg\" alt=\"Twitter\"></a>\n <a href=\"#\"><img src=\"icons/instagram.svg\" alt=\"Instagram\"></a>\n </div>\n <p>Contact: alex@wanderwise.scroll.pub</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n margin: 0;\n padding: 0;\n color: #333;\n background-color: #f4f4f4;\n}\n\nheader {\n background-color: #333;\n color: #fff;\n padding: 1rem;\n text-align: center;\n}\n\nnav ul {\n list-style: none;\n padding: 0;\n}\n\nnav ul li {\n display: inline;\n margin: 0 1rem;\n}\n\nnav ul li a {\n color: #fff;\n text-decoration: none;\n}\n\nmain {\n padding: 2rem;\n}\n\nsection {\n margin-bottom: 2rem;\n}\n\nh1, h2, h3 {\n color: #444;\n}\n\n.bio {\n text-align: center;\n padding: 2rem;\n background-color: #fff;\n border-radius: 8px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n}\n\n.cta {\n display: inline-block;\n margin-top: 1rem;\n padding: 0.5rem 1rem;\n background-color: #333;\n color: #fff;\n text-decoration: none;\n border-radius: 4px;\n}\n\n.blog-posts {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 1rem;\n}\n\n.blog-posts article {\n background-color: #fff;\n border-radius: 8px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n padding: 1rem;\n text-align: center;\n}\n\n.blog-posts img {\n width: 100%;\n border-radius: 8px;\n}\n\n.read-more {\n display: inline-block;\n margin-top: 1rem;\n padding: 0.5rem 1rem;\n background-color: #333;\n color: #fff;\n text-decoration: none;\n border-radius: 4px;\n}\n\n.search-filter {\n margin-top: 2rem;\n display: flex;\n gap: 1rem;\n justify-content: center;\n}\n\n.search-filter input, .search-filter select {\n padding: 0.5rem;\n border-radius: 4px;\n border: 1px solid #ccc;\n}\n\n.gallery-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1rem;\n}\n\n.gallery-grid figure {\n background-color: #fff;\n border-radius: 8px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n padding: 1rem;\n text-align: center;\n}\n\n.gallery-grid img {\n width: 100%;\n border-radius: 8px;\n}\n\n.travel-stories {\n text-align: center;\n padding: 2rem;\n background-color: #fff;\n border-radius: 8px;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);\n}\n\nform {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\nform input, form textarea, form button {\n padding: 0.5rem;\n border-radius: 4px;\n border: 1px solid #ccc;\n}\n\nform button {\n background-color: #333;\n color: #fff;\n cursor: pointer;\n}\n\nfooter {\n background-color: #333;\n color: #fff;\n text-align: center;\n padding: 1rem;\n}\n\n.social-media img {\n width: 24px;\n margin: 0 0.5rem;\n}\n\n@media (max-width: 768px) {\n nav ul li {\n display: block;\n margin: 0.5rem 0;\n }\n\n .blog-posts {\n grid-template-columns: 1fr;\n }\n\n .gallery-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n const images = document.querySelectorAll('.gallery-grid img');\n images.forEach(image => {\n image.addEventListener('click', function() {\n const modal = document.createElement('div');\n modal.style.position = 'fixed';\n modal.style.top = '0';\n modal.style.left = '0';\n modal.style.width = '100%';\n modal.style.height = '100%';\n modal.style.backgroundColor = 'rgba(0, 0, 0, 0.8)';\n modal.style.display = 'flex';\n modal.style.justifyContent = 'center';\n modal.style.alignItems = 'center';\n modal.style.zIndex = '1000';\n\n const modalImg = document.createElement('img');\n modalImg.src = this.src;\n modalImg.style.maxWidth = '90%';\n modalImg.style.maxHeight = '90%';\n modalImg.style.borderRadius = '8px';\n\n modal.appendChild(modalImg);\n document.body.appendChild(modal);\n\n modal.addEventListener('click', function() {\n document.body.removeChild(modal);\n });\n });\n });\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 565, + "completion_tokens": 2161, + "total_tokens": 2726, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 565 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..3046421 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# wanderwise.scroll.pub +Website generated by DeepSeek from prompt: create a personal website on Scroll Hub with a personal bio, blog posts, and a travel gallery: 1. Personal Bio: "Create a concise and engaging personal bio section for my website. Include my name, professional background, key achievements, and personal interests. Keep the tone professional yet approachable, and add a call-to-action (e.g., 'Connect with me' or 'Explore my work')." 2. Blog Posts: "Design a blog section for my website where I can share articles on topics like technology, lifestyle, and travel. Include a clean layout with a featured image for each post, a title, a short excerpt, and a 'Read More' button. Ensure the section is easy to navigate and has a search or filter option." 3. Travel Gallery: "Create a visually appealing travel gallery to showcase my travel photos. Organize the gallery by location or theme, with a grid layout. Each image should have a caption or short description, and clicking on an image should open a larger view or a slideshow. Add a section for travel stories or tips if possible." 4. Overall Website Design: "Design a minimalist and modern website layout with a cohesive color scheme and typography. Ensure the website is responsive and mobile-friendly. Include a navigation menu with links to the Home (Bio), Blog, and Travel Gallery sections. Add a footer with social media icons and contact information." 5. Additional Features: "Add a contact form to the website for visitors to reach out. Include a newsletter sign-up option for updates on new blog posts or travel adventures. Integrate social media links for sharing content." \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..e695998 --- /dev/null +++ b/script.js @@ -0,0 +1,31 @@ +document.addEventListener('DOMContentLoaded', function() { + const images = document.querySelectorAll('.gallery-grid img'); + images.forEach(image => { + image.addEventListener('click', function() { + const modal = document.createElement('div'); + modal.style.position = 'fixed'; + modal.style.top = '0'; + modal.style.left = '0'; + modal.style.width = '100%'; + modal.style.height = '100%'; + modal.style.backgroundColor = 'rgba(0, 0, 0, 0.8)'; + modal.style.display = 'flex'; + modal.style.justifyContent = 'center'; + modal.style.alignItems = 'center'; + modal.style.zIndex = '1000'; + + const modalImg = document.createElement('img'); + modalImg.src = this.src; + modalImg.style.maxWidth = '90%'; + modalImg.style.maxHeight = '90%'; + modalImg.style.borderRadius = '8px'; + + modal.appendChild(modalImg); + document.body.appendChild(modal); + + modal.addEventListener('click', function() { + document.body.removeChild(modal); + }); + }); + }); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..7a014ad --- /dev/null +++ b/style.css @@ -0,0 +1,173 @@ +body { + font-family: 'Arial', sans-serif; + margin: 0; + padding: 0; + color: #333; + background-color: #f4f4f4; +} + +header { + background-color: #333; + color: #fff; + padding: 1rem; + text-align: center; +} + +nav ul { + list-style: none; + padding: 0; +} + +nav ul li { + display: inline; + margin: 0 1rem; +} + +nav ul li a { + color: #fff; + text-decoration: none; +} + +main { + padding: 2rem; +} + +section { + margin-bottom: 2rem; +} + +h1, h2, h3 { + color: #444; +} + +.bio { + text-align: center; + padding: 2rem; + background-color: #fff; + border-radius: 8px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} + +.cta { + display: inline-block; + margin-top: 1rem; + padding: 0.5rem 1rem; + background-color: #333; + color: #fff; + text-decoration: none; + border-radius: 4px; +} + +.blog-posts { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 1rem; +} + +.blog-posts article { + background-color: #fff; + border-radius: 8px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + padding: 1rem; + text-align: center; +} + +.blog-posts img { + width: 100%; + border-radius: 8px; +} + +.read-more { + display: inline-block; + margin-top: 1rem; + padding: 0.5rem 1rem; + background-color: #333; + color: #fff; + text-decoration: none; + border-radius: 4px; +} + +.search-filter { + margin-top: 2rem; + display: flex; + gap: 1rem; + justify-content: center; +} + +.search-filter input, .search-filter select { + padding: 0.5rem; + border-radius: 4px; + border: 1px solid #ccc; +} + +.gallery-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 1rem; +} + +.gallery-grid figure { + background-color: #fff; + border-radius: 8px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + padding: 1rem; + text-align: center; +} + +.gallery-grid img { + width: 100%; + border-radius: 8px; +} + +.travel-stories { + text-align: center; + padding: 2rem; + background-color: #fff; + border-radius: 8px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} + +form { + display: flex; + flex-direction: column; + gap: 1rem; +} + +form input, form textarea, form button { + padding: 0.5rem; + border-radius: 4px; + border: 1px solid #ccc; +} + +form button { + background-color: #333; + color: #fff; + cursor: pointer; +} + +footer { + background-color: #333; + color: #fff; + text-align: center; + padding: 1rem; +} + +.social-media img { + width: 24px; + margin: 0 0.5rem; +} + +@media (max-width: 768px) { + nav ul li { + display: block; + margin: 0.5rem 0; + } + + .blog-posts { + grid-template-columns: 1fr; + } + + .gallery-grid { + grid-template-columns: 1fr; + } +} \ No newline at end of file