commit 18f54c24fd30aa888a3301900aff9c123e57f1f0
Author: root <root@hub.scroll.pub>
Date: 2024-12-30 18:23:22 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..5be539c
--- /dev/null
+++ b/body.html
@@ -0,0 +1,79 @@
+<header>
+ <nav>
+ <a href="#home">Home</a>
+ <a href="#how-it-works">How It Works</a>
+ <a href="#rate-drivers">Rate Drivers</a>
+ <a href="#driver-referral">Driver Referral</a>
+ <a href="#contact">Contact</a>
+ </nav>
+ <h1>CabConnect</h1>
+ <p>Your seamless intercity travel solution</p>
+</header>
+
+<section id="home">
+ <h2>Book a Cab</h2>
+ <form id="booking-form">
+ <label for="pickup">Pickup Location:</label>
+ <input type="text" id="pickup" name="pickup" required>
+ <label for="destination">Destination:</label>
+ <input type="text" id="destination" name="destination" required>
+ <label for="date">Date:</label>
+ <input type="date" id="date" name="date" required>
+ <button type="submit">Book Now</button>
+ </form>
+</section>
+
+<section id="how-it-works">
+ <h2>How It Works</h2>
+ <div class="steps">
+ <div class="step">
+ <h3>1. Book</h3>
+ <p>Enter your pickup and destination details.</p>
+ </div>
+ <div class="step">
+ <h3>2. Ride</h3>
+ <p>Your cab arrives, and you enjoy a comfortable ride.</p>
+ </div>
+ <div class="step">
+ <h3>3. Rate</h3>
+ <p>Rate your driver and share your experience.</p>
+ </div>
+ </div>
+</section>
+
+<section id="rate-drivers">
+ <h2>Rate Drivers</h2>
+ <form id="rating-form">
+ <label for="driver-id">Driver ID:</label>
+ <input type="text" id="driver-id" name="driver-id" required>
+ <label for="rating">Rating:</label>
+ <select id="rating" name="rating" required>
+ <option value="5">5 Stars</option>
+ <option value="4">4 Stars</option>
+ <option value="3">3 Stars</option>
+ <option value="2">2 Stars</option>
+ <option value="1">1 Star</option>
+ </select>
+ <label for="feedback">Feedback:</label>
+ <textarea id="feedback" name="feedback" rows="4" required></textarea>
+ <button type="submit">Submit Rating</button>
+ </form>
+</section>
+
+<section id="driver-referral">
+ <h2>Driver Referral</h2>
+ <p>Refer a customer to another driver and earn a commission.</p>
+ <form id="referral-form">
+ <label for="referral-driver-id">Your Driver ID:</label>
+ <input type="text" id="referral-driver-id" name="referral-driver-id" required>
+ <label for="customer-details">Customer Details:</label>
+ <textarea id="customer-details" name="customer-details" rows="4" required></textarea>
+ <button type="submit">Refer Customer</button>
+ </form>
+</section>
+
+<footer id="contact">
+ <h2>Contact Us</h2>
+ <p>Email: support@cabconnect.scroll.pub</p>
+ <p>Phone: +91 123 456 7890</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..8e99125
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://cabconnect.scroll.pub
+metaTags
+editButton /edit.html
+title CabConnect - Intercity Travel Made Easy
+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..d536d60
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "4b1e8530-fc67-4c74-a80c-c9a4dd28d8b6",
+ "object": "chat.completion",
+ "created": 1735582980,
+ "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 - Intercity Travel Made Easy\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav>\n <a href=\"#home\">Home</a>\n <a href=\"#how-it-works\">How It Works</a>\n <a href=\"#rate-drivers\">Rate Drivers</a>\n <a href=\"#driver-referral\">Driver Referral</a>\n <a href=\"#contact\">Contact</a>\n </nav>\n <h1>CabConnect</h1>\n <p>Your seamless intercity travel solution</p>\n</header>\n\n<section id=\"home\">\n <h2>Book a Cab</h2>\n <form id=\"booking-form\">\n <label for=\"pickup\">Pickup Location:</label>\n <input type=\"text\" id=\"pickup\" name=\"pickup\" required>\n <label for=\"destination\">Destination:</label>\n <input type=\"text\" id=\"destination\" name=\"destination\" required>\n <label for=\"date\">Date:</label>\n <input type=\"date\" id=\"date\" name=\"date\" required>\n <button type=\"submit\">Book Now</button>\n </form>\n</section>\n\n<section id=\"how-it-works\">\n <h2>How It Works</h2>\n <div class=\"steps\">\n <div class=\"step\">\n <h3>1. Book</h3>\n <p>Enter your pickup and destination details.</p>\n </div>\n <div class=\"step\">\n <h3>2. Ride</h3>\n <p>Your cab arrives, and you enjoy a comfortable ride.</p>\n </div>\n <div class=\"step\">\n <h3>3. Rate</h3>\n <p>Rate your driver and share your experience.</p>\n </div>\n </div>\n</section>\n\n<section id=\"rate-drivers\">\n <h2>Rate Drivers</h2>\n <form id=\"rating-form\">\n <label for=\"driver-id\">Driver ID:</label>\n <input type=\"text\" id=\"driver-id\" name=\"driver-id\" required>\n <label for=\"rating\">Rating:</label>\n <select id=\"rating\" name=\"rating\" required>\n <option value=\"5\">5 Stars</option>\n <option value=\"4\">4 Stars</option>\n <option value=\"3\">3 Stars</option>\n <option value=\"2\">2 Stars</option>\n <option value=\"1\">1 Star</option>\n </select>\n <label for=\"feedback\">Feedback:</label>\n <textarea id=\"feedback\" name=\"feedback\" rows=\"4\" required></textarea>\n <button type=\"submit\">Submit Rating</button>\n </form>\n</section>\n\n<section id=\"driver-referral\">\n <h2>Driver Referral</h2>\n <p>Refer a customer to another driver and earn a commission.</p>\n <form id=\"referral-form\">\n <label for=\"referral-driver-id\">Your Driver ID:</label>\n <input type=\"text\" id=\"referral-driver-id\" name=\"referral-driver-id\" required>\n <label for=\"customer-details\">Customer Details:</label>\n <textarea id=\"customer-details\" name=\"customer-details\" rows=\"4\" required></textarea>\n <button type=\"submit\">Refer Customer</button>\n </form>\n</section>\n\n<footer id=\"contact\">\n <h2>Contact Us</h2>\n <p>Email: support@cabconnect.scroll.pub</p>\n <p>Phone: +91 123 456 7890</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: #fff;\n}\n\nheader {\n text-align: center;\n padding: 2rem;\n background: rgba(0, 0, 0, 0.7);\n}\n\nnav {\n display: flex;\n justify-content: center;\n margin-bottom: 1rem;\n}\n\nnav a {\n color: #fff;\n margin: 0 1rem;\n text-decoration: none;\n font-weight: bold;\n}\n\nh1 {\n font-size: 3rem;\n margin: 0;\n}\n\np {\n font-size: 1.2rem;\n}\n\nsection {\n padding: 2rem;\n margin: 1rem auto;\n max-width: 800px;\n background: rgba(255, 255, 255, 0.1);\n border-radius: 10px;\n}\n\nh2 {\n font-size: 2rem;\n margin-bottom: 1rem;\n}\n\nform {\n display: flex;\n flex-direction: column;\n}\n\nlabel {\n margin-bottom: 0.5rem;\n}\n\ninput, select, textarea {\n margin-bottom: 1rem;\n padding: 0.5rem;\n border: none;\n border-radius: 5px;\n}\n\nbutton {\n padding: 0.5rem;\n background: #ff6f61;\n color: #fff;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n}\n\nbutton:hover {\n background: #ff3b2f;\n}\n\n.steps {\n display: flex;\n justify-content: space-between;\n margin-top: 2rem;\n}\n\n.step {\n flex: 1;\n text-align: center;\n padding: 1rem;\n background: rgba(255, 255, 255, 0.2);\n border-radius: 10px;\n margin: 0 1rem;\n}\n\nfooter {\n text-align: center;\n padding: 2rem;\n background: rgba(0, 0, 0, 0.7);\n}\n\n@media (max-width: 768px) {\n .steps {\n flex-direction: column;\n }\n\n .step {\n margin: 1rem 0;\n }\n}\n---script.js---\ndocument.getElementById('booking-form').addEventListener('submit', function(event) {\n event.preventDefault();\n alert('Booking request submitted!');\n});\n\ndocument.getElementById('rating-form').addEventListener('submit', function(event) {\n event.preventDefault();\n alert('Thank you for your feedback!');\n});\n\ndocument.getElementById('referral-form').addEventListener('submit', function(event) {\n event.preventDefault();\n alert('Referral submitted!');\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 279,
+ "completion_tokens": 1461,
+ "total_tokens": 1740,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 279
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..4b71fa3
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# cabconnect.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..5f38a72
--- /dev/null
+++ b/script.js
@@ -0,0 +1,14 @@
+document.getElementById('booking-form').addEventListener('submit', function(event) {
+ event.preventDefault();
+ alert('Booking request submitted!');
+});
+
+document.getElementById('rating-form').addEventListener('submit', function(event) {
+ event.preventDefault();
+ alert('Thank you for your feedback!');
+});
+
+document.getElementById('referral-form').addEventListener('submit', function(event) {
+ event.preventDefault();
+ alert('Referral submitted!');
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..9bfe22c
--- /dev/null
+++ b/style.css
@@ -0,0 +1,108 @@
+body {
+ font-family: 'Arial', sans-serif;
+ margin: 0;
+ padding: 0;
+ background: linear-gradient(135deg, #1e3c72, #2a5298);
+ color: #fff;
+}
+
+header {
+ text-align: center;
+ padding: 2rem;
+ background: rgba(0, 0, 0, 0.7);
+}
+
+nav {
+ display: flex;
+ justify-content: center;
+ margin-bottom: 1rem;
+}
+
+nav a {
+ color: #fff;
+ margin: 0 1rem;
+ text-decoration: none;
+ font-weight: bold;
+}
+
+h1 {
+ font-size: 3rem;
+ margin: 0;
+}
+
+p {
+ font-size: 1.2rem;
+}
+
+section {
+ padding: 2rem;
+ margin: 1rem auto;
+ max-width: 800px;
+ background: rgba(255, 255, 255, 0.1);
+ border-radius: 10px;
+}
+
+h2 {
+ font-size: 2rem;
+ margin-bottom: 1rem;
+}
+
+form {
+ display: flex;
+ flex-direction: column;
+}
+
+label {
+ margin-bottom: 0.5rem;
+}
+
+input, select, textarea {
+ margin-bottom: 1rem;
+ padding: 0.5rem;
+ border: none;
+ border-radius: 5px;
+}
+
+button {
+ padding: 0.5rem;
+ background: #ff6f61;
+ color: #fff;
+ border: none;
+ border-radius: 5px;
+ cursor: pointer;
+}
+
+button:hover {
+ background: #ff3b2f;
+}
+
+.steps {
+ display: flex;
+ justify-content: space-between;
+ margin-top: 2rem;
+}
+
+.step {
+ flex: 1;
+ text-align: center;
+ padding: 1rem;
+ background: rgba(255, 255, 255, 0.2);
+ border-radius: 10px;
+ margin: 0 1rem;
+}
+
+footer {
+ text-align: center;
+ padding: 2rem;
+ background: rgba(0, 0, 0, 0.7);
+}
+
+@media (max-width: 768px) {
+ .steps {
+ flex-direction: column;
+ }
+
+ .step {
+ margin: 1rem 0;
+ }
+}
\ No newline at end of file