commit f053114d2e6f5bcb5e752d82ad44fe09dc5ced90
Author: root <root@hub.scroll.pub>
Date: 2024-12-30 18:25:56 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..5701a9e
--- /dev/null
+++ b/body.html
@@ -0,0 +1,46 @@
+<header>
+ <h1>CabConnect</h1>
+ <p>Your seamless inter-city cab experience</p>
+</header>
+
+<main>
+ <section id="hero">
+ <div class="hero-content">
+ <h2>Travel Across Cities with Ease</h2>
+ <p>Book cabs, rate drivers, and earn commissions through referrals.</p>
+ <a href="#book-now" class="cta-button">Book Now</a>
+ </div>
+ </section>
+
+ <section id="features">
+ <div class="feature-card">
+ <h3>Hail a Cab</h3>
+ <p>Quickly book a cab for inter-city travel.</p>
+ </div>
+ <div class="feature-card">
+ <h3>Rate Drivers</h3>
+ <p>Share your experience and help others choose better.</p>
+ </div>
+ <div class="feature-card">
+ <h3>Refer & Earn</h3>
+ <p>Drivers can refer customers and earn commissions.</p>
+ </div>
+ </section>
+
+ <section id="book-now">
+ <h2>Book Your Ride</h2>
+ <form id="booking-form">
+ <label for="from">From:</label>
+ <input type="text" id="from" name="from" required>
+ <label for="to">To:</label>
+ <input type="text" id="to" name="to" required>
+ <label for="date">Date:</label>
+ <input type="date" id="date" name="date" required>
+ <button type="submit">Find Cabs</button>
+ </form>
+ </section>
+</main>
+
+<footer>
+ <p>Connect with us: <a href="mailto:info@cabconnect.scroll.pub">info@cabconnect.scroll.pub</a></p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..50442e2
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://cabconnect.scroll.pub
+metaTags
+editButton /edit.html
+title CabConnect - Hail, Rate, Refer
+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..fc9eaf3
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "9255547a-605b-4134-a8fd-25ebc0686db8",
+ "object": "chat.completion",
+ "created": 1735583136,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\ncabconnect.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://cabconnect.scroll.pub\nmetaTags\neditButton /edit.html\ntitle CabConnect - Hail, Rate, Refer\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>CabConnect</h1>\n <p>Your seamless inter-city cab experience</p>\n</header>\n\n<main>\n <section id=\"hero\">\n <div class=\"hero-content\">\n <h2>Travel Across Cities with Ease</h2>\n <p>Book cabs, rate drivers, and earn commissions through referrals.</p>\n <a href=\"#book-now\" class=\"cta-button\">Book Now</a>\n </div>\n </section>\n\n <section id=\"features\">\n <div class=\"feature-card\">\n <h3>Hail a Cab</h3>\n <p>Quickly book a cab for inter-city travel.</p>\n </div>\n <div class=\"feature-card\">\n <h3>Rate Drivers</h3>\n <p>Share your experience and help others choose better.</p>\n </div>\n <div class=\"feature-card\">\n <h3>Refer & Earn</h3>\n <p>Drivers can refer customers and earn commissions.</p>\n </div>\n </section>\n\n <section id=\"book-now\">\n <h2>Book Your Ride</h2>\n <form id=\"booking-form\">\n <label for=\"from\">From:</label>\n <input type=\"text\" id=\"from\" name=\"from\" required>\n <label for=\"to\">To:</label>\n <input type=\"text\" id=\"to\" name=\"to\" required>\n <label for=\"date\">Date:</label>\n <input type=\"date\" id=\"date\" name=\"date\" required>\n <button type=\"submit\">Find Cabs</button>\n </form>\n </section>\n</main>\n\n<footer>\n <p>Connect with us: <a href=\"mailto:info@cabconnect.scroll.pub\">info@cabconnect.scroll.pub</a></p>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n margin: 0;\n padding: 0;\n background: linear-gradient(135deg, #1e3c72, #2a5298);\n color: white;\n}\n\nheader {\n text-align: center;\n padding: 2rem;\n background: rgba(0, 0, 0, 0.7);\n}\n\nh1 {\n font-size: 3rem;\n margin: 0;\n}\n\np {\n font-size: 1.2rem;\n}\n\n#hero {\n background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48ZyBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMSI+PGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNDUiLz48L2c+PC9zdmc+') no-repeat center center;\n background-size: cover;\n padding: 5rem 1rem;\n text-align: center;\n}\n\n.hero-content {\n max-width: 600px;\n margin: 0 auto;\n}\n\n.cta-button {\n background: #ff6f61;\n color: white;\n padding: 1rem 2rem;\n text-decoration: none;\n border-radius: 5px;\n font-size: 1.2rem;\n transition: background 0.3s ease;\n}\n\n.cta-button:hover {\n background: #ff3b2f;\n}\n\n#features {\n display: flex;\n justify-content: space-around;\n padding: 2rem;\n background: rgba(255, 255, 255, 0.1);\n}\n\n.feature-card {\n background: rgba(0, 0, 0, 0.5);\n padding: 1.5rem;\n border-radius: 10px;\n text-align: center;\n width: 30%;\n}\n\n#book-now {\n padding: 2rem;\n text-align: center;\n}\n\nform {\n max-width: 400px;\n margin: 0 auto;\n display: flex;\n flex-direction: column;\n}\n\nlabel {\n margin-top: 1rem;\n}\n\ninput, button {\n padding: 0.5rem;\n margin-top: 0.5rem;\n border: none;\n border-radius: 5px;\n}\n\nbutton {\n background: #ff6f61;\n color: white;\n cursor: pointer;\n transition: background 0.3s ease;\n}\n\nbutton:hover {\n background: #ff3b2f;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background: rgba(0, 0, 0, 0.7);\n}\n\n@media (max-width: 768px) {\n #features {\n flex-direction: column;\n }\n\n .feature-card {\n width: 100%;\n margin-bottom: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('booking-form').addEventListener('submit', function(event) {\n event.preventDefault();\n const from = document.getElementById('from').value;\n const to = document.getElementById('to').value;\n const date = document.getElementById('date').value;\n alert(`Booking request from ${from} to ${to} on ${date}. We will contact you shortly!`);\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 279,
+ "completion_tokens": 1333,
+ "total_tokens": 1612,
+ "prompt_cache_hit_tokens": 256,
+ "prompt_cache_miss_tokens": 23
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..122162c
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# cabconnect1.scroll.pub
+Website generated by DeepSeek from prompt: Create a fancy shiny website that allows users in India to hail a cab for inter city travel, rate drivers and also let's drivers refer prospective customers to each other for a commission, for situations when these drivers can't go themselves
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..04cc7b0
--- /dev/null
+++ b/script.js
@@ -0,0 +1,7 @@
+document.getElementById('booking-form').addEventListener('submit', function(event) {
+ event.preventDefault();
+ const from = document.getElementById('from').value;
+ const to = document.getElementById('to').value;
+ const date = document.getElementById('date').value;
+ alert(`Booking request from ${from} to ${to} on ${date}. We will contact you shortly!`);
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..c062a58
--- /dev/null
+++ b/style.css
@@ -0,0 +1,114 @@
+body {
+ font-family: 'Arial', sans-serif;
+ margin: 0;
+ padding: 0;
+ background: linear-gradient(135deg, #1e3c72, #2a5298);
+ color: white;
+}
+
+header {
+ text-align: center;
+ padding: 2rem;
+ background: rgba(0, 0, 0, 0.7);
+}
+
+h1 {
+ font-size: 3rem;
+ margin: 0;
+}
+
+p {
+ font-size: 1.2rem;
+}
+
+#hero {
+ background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48ZyBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMSI+PGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNDUiLz48L2c+PC9zdmc+') no-repeat center center;
+ background-size: cover;
+ padding: 5rem 1rem;
+ text-align: center;
+}
+
+.hero-content {
+ max-width: 600px;
+ margin: 0 auto;
+}
+
+.cta-button {
+ background: #ff6f61;
+ color: white;
+ padding: 1rem 2rem;
+ text-decoration: none;
+ border-radius: 5px;
+ font-size: 1.2rem;
+ transition: background 0.3s ease;
+}
+
+.cta-button:hover {
+ background: #ff3b2f;
+}
+
+#features {
+ display: flex;
+ justify-content: space-around;
+ padding: 2rem;
+ background: rgba(255, 255, 255, 0.1);
+}
+
+.feature-card {
+ background: rgba(0, 0, 0, 0.5);
+ padding: 1.5rem;
+ border-radius: 10px;
+ text-align: center;
+ width: 30%;
+}
+
+#book-now {
+ padding: 2rem;
+ text-align: center;
+}
+
+form {
+ max-width: 400px;
+ margin: 0 auto;
+ display: flex;
+ flex-direction: column;
+}
+
+label {
+ margin-top: 1rem;
+}
+
+input, button {
+ padding: 0.5rem;
+ margin-top: 0.5rem;
+ border: none;
+ border-radius: 5px;
+}
+
+button {
+ background: #ff6f61;
+ color: white;
+ cursor: pointer;
+ transition: background 0.3s ease;
+}
+
+button:hover {
+ background: #ff3b2f;
+}
+
+footer {
+ text-align: center;
+ padding: 1rem;
+ background: rgba(0, 0, 0, 0.7);
+}
+
+@media (max-width: 768px) {
+ #features {
+ flex-direction: column;
+ }
+
+ .feature-card {
+ width: 100%;
+ margin-bottom: 1rem;
+ }
+}
\ No newline at end of file