commit ceeacc0d1cc7856b917d57e5fc12769d547fb112
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 21:04:20 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..3de0428
--- /dev/null
+++ b/body.html
@@ -0,0 +1,61 @@
+<header>
+ <nav>
+ <a href="/" class="logo">BizHub</a>
+ <ul>
+ <li><a href="/businesses">Businesses</a></li>
+ <li><a href="/signup">Sign Up</a></li>
+ <li><a href="/login">Login</a></li>
+ </ul>
+ </nav>
+ <div class="hero">
+ <h1>Discover Local Businesses Near You</h1>
+ <form class="search-form">
+ <input type="text" placeholder="Search for businesses..." aria-label="Search for businesses">
+ <button type="submit">Search</button>
+ </form>
+ </div>
+</header>
+
+<main>
+ <section class="categories">
+ <h2>Explore by Category</h2>
+ <div class="category-grid">
+ <a href="/restaurants" class="category-card">
+ <img src="/images/restaurant.svg" alt="Restaurants">
+ <h3>Restaurants</h3>
+ </a>
+ <a href="/shops" class="category-card">
+ <img src="/images/shop.svg" alt="Shops">
+ <h3>Shops</h3>
+ </a>
+ <a href="/services" class="category-card">
+ <img src="/images/service.svg" alt="Services">
+ <h3>Services</h3>
+ </a>
+ </div>
+ </section>
+
+ <section class="featured-businesses">
+ <h2>Featured Businesses</h2>
+ <div class="business-grid">
+ <!-- Business cards will be dynamically populated by JavaScript -->
+ </div>
+ </section>
+</main>
+
+<footer>
+ <div class="footer-content">
+ <div class="footer-section">
+ <h3>About BizHub</h3>
+ <p>Connecting communities with local businesses.</p>
+ </div>
+ <div class="footer-section">
+ <h3>Quick Links</h3>
+ <ul>
+ <li><a href="/about">About Us</a></li>
+ <li><a href="/contact">Contact</a></li>
+ <li><a href="/privacy">Privacy Policy</a></li>
+ </ul>
+ </div>
+ </div>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..87a3a32
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://bizhub.scroll.pub
+metaTags
+editButton /edit.html
+title BizHub - 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..9308685
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "945ec9d9-a058-4556-9e40-cca6f8056a02",
+ "object": "chat.completion",
+ "created": 1735333435,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nbizhub.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://bizhub.scroll.pub\nmetaTags\neditButton /edit.html\ntitle BizHub - Your Local Business Directory\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav>\n <a href=\"/\" class=\"logo\">BizHub</a>\n <ul>\n <li><a href=\"/businesses\">Businesses</a></li>\n <li><a href=\"/signup\">Sign Up</a></li>\n <li><a href=\"/login\">Login</a></li>\n </ul>\n </nav>\n <div class=\"hero\">\n <h1>Discover Local Businesses Near You</h1>\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</header>\n\n<main>\n <section class=\"categories\">\n <h2>Explore by Category</h2>\n <div class=\"category-grid\">\n <a href=\"/restaurants\" class=\"category-card\">\n <img src=\"/images/restaurant.svg\" alt=\"Restaurants\">\n <h3>Restaurants</h3>\n </a>\n <a href=\"/shops\" class=\"category-card\">\n <img src=\"/images/shop.svg\" alt=\"Shops\">\n <h3>Shops</h3>\n </a>\n <a href=\"/services\" class=\"category-card\">\n <img src=\"/images/service.svg\" alt=\"Services\">\n <h3>Services</h3>\n </a>\n </div>\n </section>\n\n <section class=\"featured-businesses\">\n <h2>Featured Businesses</h2>\n <div class=\"business-grid\">\n <!-- Business cards will be dynamically populated by JavaScript -->\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-section\">\n <h3>About BizHub</h3>\n <p>Connecting communities with local businesses.</p>\n </div>\n <div class=\"footer-section\">\n <h3>Quick Links</h3>\n <ul>\n <li><a href=\"/about\">About Us</a></li>\n <li><a href=\"/contact\">Contact</a></li>\n <li><a href=\"/privacy\">Privacy Policy</a></li>\n </ul>\n </div>\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\nheader {\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n color: var(--white);\n padding: 1rem 0;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n max-width: 1200px;\n margin: 0 auto;\n padding: 0 1rem;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n text-decoration: none;\n color: var(--white);\n}\n\nnav ul {\n list-style: none;\n display: flex;\n gap: 1rem;\n}\n\nnav a {\n color: var(--white);\n text-decoration: none;\n transition: opacity 0.3s;\n}\n\nnav a:hover {\n opacity: 0.8;\n}\n\n.hero {\n text-align: center;\n padding: 4rem 1rem;\n}\n\n.hero h1 {\n font-size: 2.5rem;\n margin-bottom: 1.5rem;\n}\n\n.search-form {\n max-width: 600px;\n margin: 0 auto;\n display: flex;\n gap: 0.5rem;\n}\n\n.search-form input {\n flex: 1;\n padding: 0.75rem;\n border: none;\n border-radius: 4px;\n}\n\n.search-form button {\n padding: 0.75rem 1.5rem;\n background-color: var(--white);\n color: var(--primary-color);\n border: none;\n border-radius: 4px;\n cursor: pointer;\n transition: background-color 0.3s;\n}\n\n.search-form button:hover {\n background-color: #e2e8f0;\n}\n\nmain {\n max-width: 1200px;\n margin: 2rem auto;\n padding: 0 1rem;\n}\n\n.categories {\n margin-bottom: 3rem;\n}\n\n.categories h2 {\n text-align: center;\n margin-bottom: 2rem;\n}\n\n.category-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1.5rem;\n}\n\n.category-card {\n background-color: var(--white);\n padding: 1.5rem;\n border-radius: 8px;\n text-align: center;\n text-decoration: none;\n color: var(--text-color);\n transition: transform 0.3s, box-shadow 0.3s;\n}\n\n.category-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.category-card img {\n width: 80px;\n height: 80px;\n margin-bottom: 1rem;\n}\n\n.featured-businesses {\n margin-bottom: 3rem;\n}\n\n.featured-businesses h2 {\n text-align: center;\n margin-bottom: 2rem;\n}\n\n.business-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 1.5rem;\n}\n\nfooter {\n background-color: var(--text-color);\n color: var(--white);\n padding: 2rem 1rem;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 2rem;\n}\n\n.footer-section h3 {\n margin-bottom: 1rem;\n}\n\n.footer-section ul {\n list-style: none;\n}\n\n.footer-section a {\n color: var(--white);\n text-decoration: none;\n transition: opacity 0.3s;\n}\n\n.footer-section a:hover {\n opacity: 0.8;\n}\n\n@media (max-width: 768px) {\n .hero h1 {\n font-size: 2rem;\n }\n\n nav {\n flex-direction: column;\n gap: 1rem;\n }\n}\n---script.js---\n// Sample data for featured businesses\nconst featuredBusinesses = [\n {\n name: \"The Green Cafe\",\n category: \"Restaurant\",\n location: \"Downtown\",\n image: \"/images/green-cafe.jpg\",\n description: \"Organic and locally sourced dishes\"\n },\n {\n name: \"Urban Style\",\n category: \"Clothing Store\",\n location: \"Midtown\",\n image: \"/images/urban-style.jpg\",\n description: \"Trendy fashion for urban lifestyles\"\n },\n {\n name: \"Tech Solutions\",\n category: \"IT Services\",\n location: \"Uptown\",\n image: \"/images/tech-solutions.jpg\",\n description: \"Your complete IT support partner\"\n }\n];\n\n// Function to create business cards\nfunction createBusinessCard(business) {\n const card = document.createElement('div');\n card.className = 'business-card';\n card.innerHTML = `\n <img src=\"${business.image}\" alt=\"${business.name}\">\n <div class=\"business-info\">\n <h3>${business.name}</h3>\n <p>${business.category} - ${business.location}</p>\n <p>${business.description}</p>\n </div>\n `;\n return card;\n}\n\n// Populate featured businesses section\nconst businessGrid = document.querySelector('.business-grid');\nfeaturedBusinesses.forEach(business => {\n const card = createBusinessCard(business);\n businessGrid.appendChild(card);\n});\n\n// Search functionality\nconst searchForm = document.querySelector('.search-form');\nsearchForm.addEventListener('submit', function(e) {\n e.preventDefault();\n const searchTerm = this.querySelector('input').value;\n // Implement search functionality here\n console.log(`Searching for: ${searchTerm}`);\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 265,
+ "completion_tokens": 1942,
+ "total_tokens": 2207,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 265
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..646149b
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# bizhub.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
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..7a297c4
--- /dev/null
+++ b/script.js
@@ -0,0 +1,55 @@
+// Sample data for featured businesses
+const featuredBusinesses = [
+ {
+ name: "The Green Cafe",
+ category: "Restaurant",
+ location: "Downtown",
+ image: "/images/green-cafe.jpg",
+ description: "Organic and locally sourced dishes"
+ },
+ {
+ name: "Urban Style",
+ category: "Clothing Store",
+ location: "Midtown",
+ image: "/images/urban-style.jpg",
+ description: "Trendy fashion for urban lifestyles"
+ },
+ {
+ name: "Tech Solutions",
+ category: "IT Services",
+ location: "Uptown",
+ image: "/images/tech-solutions.jpg",
+ description: "Your complete IT support partner"
+ }
+];
+
+// Function to create business cards
+function createBusinessCard(business) {
+ const card = document.createElement('div');
+ card.className = 'business-card';
+ card.innerHTML = `
+ <img src="${business.image}" alt="${business.name}">
+ <div class="business-info">
+ <h3>${business.name}</h3>
+ <p>${business.category} - ${business.location}</p>
+ <p>${business.description}</p>
+ </div>
+ `;
+ return card;
+}
+
+// Populate featured businesses section
+const businessGrid = document.querySelector('.business-grid');
+featuredBusinesses.forEach(business => {
+ const card = createBusinessCard(business);
+ businessGrid.appendChild(card);
+});
+
+// Search functionality
+const searchForm = document.querySelector('.search-form');
+searchForm.addEventListener('submit', function(e) {
+ e.preventDefault();
+ const searchTerm = this.querySelector('input').value;
+ // Implement search functionality here
+ console.log(`Searching for: ${searchTerm}`);
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..fceed87
--- /dev/null
+++ b/style.css
@@ -0,0 +1,196 @@
+: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);
+}
+
+header {
+ background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
+ color: var(--white);
+ padding: 1rem 0;
+}
+
+nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 0 1rem;
+}
+
+.logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ text-decoration: none;
+ color: var(--white);
+}
+
+nav ul {
+ list-style: none;
+ display: flex;
+ gap: 1rem;
+}
+
+nav a {
+ color: var(--white);
+ text-decoration: none;
+ transition: opacity 0.3s;
+}
+
+nav a:hover {
+ opacity: 0.8;
+}
+
+.hero {
+ text-align: center;
+ padding: 4rem 1rem;
+}
+
+.hero h1 {
+ font-size: 2.5rem;
+ margin-bottom: 1.5rem;
+}
+
+.search-form {
+ max-width: 600px;
+ margin: 0 auto;
+ display: flex;
+ gap: 0.5rem;
+}
+
+.search-form input {
+ flex: 1;
+ padding: 0.75rem;
+ border: none;
+ border-radius: 4px;
+}
+
+.search-form button {
+ padding: 0.75rem 1.5rem;
+ background-color: var(--white);
+ color: var(--primary-color);
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+ transition: background-color 0.3s;
+}
+
+.search-form button:hover {
+ background-color: #e2e8f0;
+}
+
+main {
+ max-width: 1200px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+}
+
+.categories {
+ margin-bottom: 3rem;
+}
+
+.categories h2 {
+ text-align: center;
+ margin-bottom: 2rem;
+}
+
+.category-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
+ gap: 1.5rem;
+}
+
+.category-card {
+ background-color: var(--white);
+ padding: 1.5rem;
+ border-radius: 8px;
+ text-align: center;
+ text-decoration: none;
+ color: var(--text-color);
+ transition: transform 0.3s, box-shadow 0.3s;
+}
+
+.category-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+}
+
+.category-card img {
+ width: 80px;
+ height: 80px;
+ margin-bottom: 1rem;
+}
+
+.featured-businesses {
+ margin-bottom: 3rem;
+}
+
+.featured-businesses h2 {
+ text-align: center;
+ margin-bottom: 2rem;
+}
+
+.business-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 1.5rem;
+}
+
+footer {
+ background-color: var(--text-color);
+ color: var(--white);
+ padding: 2rem 1rem;
+}
+
+.footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
+ gap: 2rem;
+}
+
+.footer-section h3 {
+ margin-bottom: 1rem;
+}
+
+.footer-section ul {
+ list-style: none;
+}
+
+.footer-section a {
+ color: var(--white);
+ text-decoration: none;
+ transition: opacity 0.3s;
+}
+
+.footer-section a:hover {
+ opacity: 0.8;
+}
+
+@media (max-width: 768px) {
+ .hero h1 {
+ font-size: 2rem;
+ }
+
+ nav {
+ flex-direction: column;
+ gap: 1rem;
+ }
+}
\ No newline at end of file