commit a9943fc1903e9824eb3d5ca438abe4c1b7b7a27c
Author: root <root@hub.scroll.pub> Date: 2024-12-27 21:07:33 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..9c42e39 --- /dev/null +++ b/body.html @@ -0,0 +1,72 @@ +<header> + <div class="container"> + <h1>BizList</h1> + <nav> + <ul> + <li><a href="#home">Home</a></li> + <li><a href="#categories">Categories</a></li> + <li><a href="#signup">Sign Up</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> + </div> +</header> + +<main> + <section id="home" class="hero"> + <div class="container"> + <h2>Discover Local Businesses</h2> + <p>Find the best services in your area</p> + <form class="search-form"> + <input type="text" placeholder="Search for businesses..." aria-label="Search for businesses"> + <button type="submit">Search</button> + </form> + </div> + </section> + + <section id="categories" class="categories"> + <div class="container"> + <h2>Business Categories</h2> + <div class="category-grid"> + <div class="category-card"> + <h3>Restaurants</h3> + <p>Discover local dining options</p> + </div> + <div class="category-card"> + <h3>Retail</h3> + <p>Find shops and boutiques</p> + </div> + <div class="category-card"> + <h3>Services</h3> + <p>Professional services near you</p> + </div> + </div> + </div> + </section> + + <section id="signup" class="signup"> + <div class="container"> + <h2>List Your Business</h2> + <form class="signup-form"> + <input type="text" placeholder="Business Name" aria-label="Business Name" required> + <input type="email" placeholder="Email" aria-label="Email" required> + <input type="tel" placeholder="Phone Number" aria-label="Phone Number"> + <select aria-label="Business Category"> + <option value="">Select Category</option> + <option value="restaurant">Restaurant</option> + <option value="retail">Retail</option> + <option value="service">Service</option> + </select> + <button type="submit">Sign Up</button> + </form> + </div> + </section> +</main> + +<footer id="contact"> + <div class="container"> + <h2>Contact Us</h2> + <p>Email: info@bizlist.scroll.pub</p> + <p>Phone: 123-456-7890</p> + </div> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..34dc2fe --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://bizlist.scroll.pub +metaTags +editButton /edit.html +title BizList - Your Local Business Directory +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..65ddde8 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "78426329-10aa-457f-b360-31a3c1af2936", + "object": "chat.completion", + "created": 1735333633, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nbizlist.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://bizlist.scroll.pub\nmetaTags\neditButton /edit.html\ntitle BizList - Your Local Business Directory\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <div class=\"container\">\n <h1>BizList</h1>\n <nav>\n <ul>\n <li><a href=\"#home\">Home</a></li>\n <li><a href=\"#categories\">Categories</a></li>\n <li><a href=\"#signup\">Sign Up</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n </ul>\n </nav>\n </div>\n</header>\n\n<main>\n <section id=\"home\" class=\"hero\">\n <div class=\"container\">\n <h2>Discover Local Businesses</h2>\n <p>Find the best services in your area</p>\n <form class=\"search-form\">\n <input type=\"text\" placeholder=\"Search for businesses...\" aria-label=\"Search for businesses\">\n <button type=\"submit\">Search</button>\n </form>\n </div>\n </section>\n\n <section id=\"categories\" class=\"categories\">\n <div class=\"container\">\n <h2>Business Categories</h2>\n <div class=\"category-grid\">\n <div class=\"category-card\">\n <h3>Restaurants</h3>\n <p>Discover local dining options</p>\n </div>\n <div class=\"category-card\">\n <h3>Retail</h3>\n <p>Find shops and boutiques</p>\n </div>\n <div class=\"category-card\">\n <h3>Services</h3>\n <p>Professional services near you</p>\n </div>\n </div>\n </div>\n </section>\n\n <section id=\"signup\" class=\"signup\">\n <div class=\"container\">\n <h2>List Your Business</h2>\n <form class=\"signup-form\">\n <input type=\"text\" placeholder=\"Business Name\" aria-label=\"Business Name\" required>\n <input type=\"email\" placeholder=\"Email\" aria-label=\"Email\" required>\n <input type=\"tel\" placeholder=\"Phone Number\" aria-label=\"Phone Number\">\n <select aria-label=\"Business Category\">\n <option value=\"\">Select Category</option>\n <option value=\"restaurant\">Restaurant</option>\n <option value=\"retail\">Retail</option>\n <option value=\"service\">Service</option>\n </select>\n <button type=\"submit\">Sign Up</button>\n </form>\n </div>\n </section>\n</main>\n\n<footer id=\"contact\">\n <div class=\"container\">\n <h2>Contact Us</h2>\n <p>Email: info@bizlist.scroll.pub</p>\n <p>Phone: 123-456-7890</p>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #2563eb;\n --secondary-color: #1e40af;\n --background-color: #f8fafc;\n --text-color: #1e293b;\n --white: #ffffff;\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\n.container {\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 20px;\n}\n\nheader {\n background-color: var(--white);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n padding: 1rem 0;\n}\n\nheader h1 {\n color: var(--primary-color);\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 text-decoration: none;\n color: var(--text-color);\n font-weight: 500;\n}\n\n.hero {\n background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-bg.jpg');\n background-size: cover;\n background-position: center;\n color: var(--white);\n padding: 4rem 0;\n text-align: center;\n}\n\n.search-form {\n margin-top: 2rem;\n display: flex;\n justify-content: center;\n gap: 0.5rem;\n}\n\n.search-form input {\n padding: 0.75rem;\n border: none;\n border-radius: 4px;\n width: 300px;\n}\n\n.search-form button {\n background-color: var(--primary-color);\n color: var(--white);\n border: none;\n padding: 0.75rem 1.5rem;\n border-radius: 4px;\n cursor: pointer;\n}\n\n.categories {\n padding: 4rem 0;\n}\n\n.category-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.category-card {\n background-color: var(--white);\n padding: 2rem;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n text-align: center;\n}\n\n.signup {\n background-color: var(--primary-color);\n color: var(--white);\n padding: 4rem 0;\n}\n\n.signup-form {\n max-width: 600px;\n margin: 2rem auto 0;\n display: grid;\n gap: 1rem;\n}\n\n.signup-form input,\n.signup-form select {\n padding: 0.75rem;\n border: none;\n border-radius: 4px;\n}\n\n.signup-form button {\n background-color: var(--secondary-color);\n color: var(--white);\n border: none;\n padding: 0.75rem;\n border-radius: 4px;\n cursor: pointer;\n}\n\nfooter {\n background-color: var(--white);\n padding: 2rem 0;\n text-align: center;\n}\n\n@media (max-width: 768px) {\n .search-form {\n flex-direction: column;\n align-items: center;\n }\n\n .search-form input {\n width: 100%;\n }\n}\n---script.js---\n// Add any necessary JavaScript functionality here\ndocument.querySelector('.search-form').addEventListener('submit', function(e) {\n e.preventDefault();\n const query = this.querySelector('input').value;\n alert(`Searching for: ${query}`);\n});\n\ndocument.querySelector('.signup-form').addEventListener('submit', function(e) {\n e.preventDefault();\n alert('Thank you for signing up! We will contact you soon.');\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 284, + "completion_tokens": 1569, + "total_tokens": 1853, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 284 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..7981735 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# bizlist.scroll.pub +Website generated by DeepSeek from prompt: A website like a business directory, when businesses can sign up and list their business and it has landingpages for each kin of business in a place located page, make it mobile first and great design layout, think about all is needed on such a page \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..e6b5610 --- /dev/null +++ b/script.js @@ -0,0 +1,11 @@ +// Add any necessary JavaScript functionality here +document.querySelector('.search-form').addEventListener('submit', function(e) { + e.preventDefault(); + const query = this.querySelector('input').value; + alert(`Searching for: ${query}`); +}); + +document.querySelector('.signup-form').addEventListener('submit', function(e) { + e.preventDefault(); + alert('Thank you for signing up! We will contact you soon.'); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..14ca688 --- /dev/null +++ b/style.css @@ -0,0 +1,148 @@ +:root { + --primary-color: #2563eb; + --secondary-color: #1e40af; + --background-color: #f8fafc; + --text-color: #1e293b; + --white: #ffffff; +} + +* { + 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); +} + +.container { + max-width: 1200px; + margin: 0 auto; + padding: 0 20px; +} + +header { + background-color: var(--white); + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + padding: 1rem 0; +} + +header h1 { + color: var(--primary-color); + text-align: center; +} + +nav ul { + list-style: none; + display: flex; + justify-content: center; + gap: 1rem; + margin-top: 1rem; +} + +nav a { + text-decoration: none; + color: var(--text-color); + font-weight: 500; +} + +.hero { + background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-bg.jpg'); + background-size: cover; + background-position: center; + color: var(--white); + padding: 4rem 0; + text-align: center; +} + +.search-form { + margin-top: 2rem; + display: flex; + justify-content: center; + gap: 0.5rem; +} + +.search-form input { + padding: 0.75rem; + border: none; + border-radius: 4px; + width: 300px; +} + +.search-form button { + background-color: var(--primary-color); + color: var(--white); + border: none; + padding: 0.75rem 1.5rem; + border-radius: 4px; + cursor: pointer; +} + +.categories { + padding: 4rem 0; +} + +.category-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + margin-top: 2rem; +} + +.category-card { + background-color: var(--white); + padding: 2rem; + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + text-align: center; +} + +.signup { + background-color: var(--primary-color); + color: var(--white); + padding: 4rem 0; +} + +.signup-form { + max-width: 600px; + margin: 2rem auto 0; + display: grid; + gap: 1rem; +} + +.signup-form input, +.signup-form select { + padding: 0.75rem; + border: none; + border-radius: 4px; +} + +.signup-form button { + background-color: var(--secondary-color); + color: var(--white); + border: none; + padding: 0.75rem; + border-radius: 4px; + cursor: pointer; +} + +footer { + background-color: var(--white); + padding: 2rem 0; + text-align: center; +} + +@media (max-width: 768px) { + .search-form { + flex-direction: column; + align-items: center; + } + + .search-form input { + width: 100%; + } +} \ No newline at end of file