commit 9a678dcab66f97f883976f9cf7ad60c75acf23d3
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 19:19:41 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..8aea332
--- /dev/null
+++ b/body.html
@@ -0,0 +1,61 @@
+<header>
+ <nav>
+ <a href="/">Home</a>
+ <a href="/appointments">Appointments</a>
+ <a href="/services">Services</a>
+ <a href="/contact">Contact</a>
+ </nav>
+ <h1>Welcome to Doctorly</h1>
+ <p>Your health, our priority. Book appointments with ease.</p>
+</header>
+
+<main>
+ <section id="hero">
+ <h2>Find the Best Doctors Near You</h2>
+ <form id="search-form">
+ <input type="text" id="search-input" placeholder="Search for doctors or specialties..." aria-label="Search for doctors or specialties">
+ <button type="submit">Search</button>
+ </form>
+ </section>
+
+ <section id="services">
+ <h2>Our Services</h2>
+ <div class="service-cards">
+ <div class="card">
+ <h3>General Checkup</h3>
+ <p>Comprehensive health assessment.</p>
+ </div>
+ <div class="card">
+ <h3>Specialist Consultation</h3>
+ <p>Expert care for specific needs.</p>
+ </div>
+ <div class="card">
+ <h3>Emergency Care</h3>
+ <p>Immediate attention when you need it most.</p>
+ </div>
+ </div>
+ </section>
+
+ <section id="appointments">
+ <h2>Book an Appointment</h2>
+ <form id="appointment-form">
+ <label for="name">Full Name:</label>
+ <input type="text" id="name" required aria-label="Full Name">
+
+ <label for="email">Email:</label>
+ <input type="email" id="email" required aria-label="Email">
+
+ <label for="date">Preferred Date:</label>
+ <input type="date" id="date" required aria-label="Preferred Date">
+
+ <label for="time">Preferred Time:</label>
+ <input type="time" id="time" required aria-label="Preferred Time">
+
+ <button type="submit">Book Now</button>
+ </form>
+ </section>
+</main>
+
+<footer>
+ <p>Doctorly - Making healthcare accessible for everyone.</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..35b7310
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://doctorly.scroll.pub
+metaTags
+editButton /edit.html
+title Doctorly - Modern Doctor's Appointment 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..4eb15c9
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "e304b914-445c-498d-9212-18cbafde4871",
+ "object": "chat.completion",
+ "created": 1735327163,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\ndoctorly.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://doctorly.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Doctorly - Modern Doctor's Appointment Website\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav>\n <a href=\"/\">Home</a>\n <a href=\"/appointments\">Appointments</a>\n <a href=\"/services\">Services</a>\n <a href=\"/contact\">Contact</a>\n </nav>\n <h1>Welcome to Doctorly</h1>\n <p>Your health, our priority. Book appointments with ease.</p>\n</header>\n\n<main>\n <section id=\"hero\">\n <h2>Find the Best Doctors Near You</h2>\n <form id=\"search-form\">\n <input type=\"text\" id=\"search-input\" placeholder=\"Search for doctors or specialties...\" aria-label=\"Search for doctors or specialties\">\n <button type=\"submit\">Search</button>\n </form>\n </section>\n\n <section id=\"services\">\n <h2>Our Services</h2>\n <div class=\"service-cards\">\n <div class=\"card\">\n <h3>General Checkup</h3>\n <p>Comprehensive health assessment.</p>\n </div>\n <div class=\"card\">\n <h3>Specialist Consultation</h3>\n <p>Expert care for specific needs.</p>\n </div>\n <div class=\"card\">\n <h3>Emergency Care</h3>\n <p>Immediate attention when you need it most.</p>\n </div>\n </div>\n </section>\n\n <section id=\"appointments\">\n <h2>Book an Appointment</h2>\n <form id=\"appointment-form\">\n <label for=\"name\">Full Name:</label>\n <input type=\"text\" id=\"name\" required aria-label=\"Full Name\">\n \n <label for=\"email\">Email:</label>\n <input type=\"email\" id=\"email\" required aria-label=\"Email\">\n \n <label for=\"date\">Preferred Date:</label>\n <input type=\"date\" id=\"date\" required aria-label=\"Preferred Date\">\n \n <label for=\"time\">Preferred Time:</label>\n <input type=\"time\" id=\"time\" required aria-label=\"Preferred Time\">\n \n <button type=\"submit\">Book Now</button>\n </form>\n </section>\n</main>\n\n<footer>\n <p>Doctorly - Making healthcare accessible for everyone.</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #0077b6;\n --secondary-color: #00b4d8;\n --background-color: #f0f8ff;\n --text-color: #333;\n --white: #fff;\n}\n\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n margin: 0;\n padding: 0;\n background-color: var(--background-color);\n color: var(--text-color);\n line-height: 1.6;\n}\n\nheader {\n background-color: var(--primary-color);\n color: var(--white);\n padding: 2rem;\n text-align: center;\n}\n\nnav {\n display: flex;\n justify-content: center;\n gap: 1rem;\n margin-bottom: 1rem;\n}\n\nnav a {\n color: var(--white);\n text-decoration: none;\n font-weight: bold;\n}\n\nh1, h2, h3 {\n margin: 0;\n}\n\nmain {\n padding: 2rem;\n}\n\n#hero {\n text-align: center;\n margin-bottom: 2rem;\n}\n\n#search-form {\n display: flex;\n justify-content: center;\n gap: 0.5rem;\n margin-top: 1rem;\n}\n\n#search-input {\n padding: 0.5rem;\n width: 300px;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n\nbutton {\n padding: 0.5rem 1rem;\n background-color: var(--secondary-color);\n color: var(--white);\n border: none;\n border-radius: 4px;\n cursor: pointer;\n}\n\nbutton:hover {\n background-color: #0096c7;\n}\n\n#services {\n margin-bottom: 2rem;\n}\n\n.service-cards {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 1rem;\n}\n\n.card {\n background-color: var(--white);\n padding: 1rem;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n text-align: center;\n}\n\n#appointments {\n max-width: 600px;\n margin: 0 auto;\n}\n\n#appointment-form {\n display: grid;\n gap: 1rem;\n}\n\nlabel {\n font-weight: bold;\n}\n\ninput {\n padding: 0.5rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n\nfooter {\n background-color: var(--primary-color);\n color: var(--white);\n text-align: center;\n padding: 1rem;\n margin-top: 2rem;\n}\n\n@media (max-width: 768px) {\n nav {\n flex-direction: column;\n align-items: center;\n }\n\n #search-input {\n width: 100%;\n }\n\n .service-cards {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.getElementById('search-form').addEventListener('submit', function(event) {\n event.preventDefault();\n const searchTerm = document.getElementById('search-input').value;\n alert(`Searching for: ${searchTerm}`);\n});\n\ndocument.getElementById('appointment-form').addEventListener('submit', function(event) {\n event.preventDefault();\n const name = document.getElementById('name').value;\n const email = document.getElementById('email').value;\n const date = document.getElementById('date').value;\n const time = document.getElementById('time').value;\n alert(`Appointment booked for ${name} on ${date} at ${time}. Confirmation sent to ${email}.`);\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 274,
+ "completion_tokens": 1375,
+ "total_tokens": 1649,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 274
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..8fa4e79
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# doctorly.scroll.pub
+Website generated by DeepSeek from prompt: Generate a full-stack MERN (MongoDB, Express, React, Node.js) application for a modern Doctor's Appointment website with the following features, using Vite for the frontend:
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..cfad323
--- /dev/null
+++ b/script.js
@@ -0,0 +1,14 @@
+document.getElementById('search-form').addEventListener('submit', function(event) {
+ event.preventDefault();
+ const searchTerm = document.getElementById('search-input').value;
+ alert(`Searching for: ${searchTerm}`);
+});
+
+document.getElementById('appointment-form').addEventListener('submit', function(event) {
+ event.preventDefault();
+ const name = document.getElementById('name').value;
+ const email = document.getElementById('email').value;
+ const date = document.getElementById('date').value;
+ const time = document.getElementById('time').value;
+ alert(`Appointment booked for ${name} on ${date} at ${time}. Confirmation sent to ${email}.`);
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..68ae699
--- /dev/null
+++ b/style.css
@@ -0,0 +1,137 @@
+:root {
+ --primary-color: #0077b6;
+ --secondary-color: #00b4d8;
+ --background-color: #f0f8ff;
+ --text-color: #333;
+ --white: #fff;
+}
+
+body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ margin: 0;
+ padding: 0;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+}
+
+header {
+ background-color: var(--primary-color);
+ color: var(--white);
+ padding: 2rem;
+ text-align: center;
+}
+
+nav {
+ display: flex;
+ justify-content: center;
+ gap: 1rem;
+ margin-bottom: 1rem;
+}
+
+nav a {
+ color: var(--white);
+ text-decoration: none;
+ font-weight: bold;
+}
+
+h1, h2, h3 {
+ margin: 0;
+}
+
+main {
+ padding: 2rem;
+}
+
+#hero {
+ text-align: center;
+ margin-bottom: 2rem;
+}
+
+#search-form {
+ display: flex;
+ justify-content: center;
+ gap: 0.5rem;
+ margin-top: 1rem;
+}
+
+#search-input {
+ padding: 0.5rem;
+ width: 300px;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+button {
+ padding: 0.5rem 1rem;
+ background-color: var(--secondary-color);
+ color: var(--white);
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+}
+
+button:hover {
+ background-color: #0096c7;
+}
+
+#services {
+ margin-bottom: 2rem;
+}
+
+.service-cards {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 1rem;
+}
+
+.card {
+ background-color: var(--white);
+ padding: 1rem;
+ border-radius: 8px;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
+ text-align: center;
+}
+
+#appointments {
+ max-width: 600px;
+ margin: 0 auto;
+}
+
+#appointment-form {
+ display: grid;
+ gap: 1rem;
+}
+
+label {
+ font-weight: bold;
+}
+
+input {
+ padding: 0.5rem;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+footer {
+ background-color: var(--primary-color);
+ color: var(--white);
+ text-align: center;
+ padding: 1rem;
+ margin-top: 2rem;
+}
+
+@media (max-width: 768px) {
+ nav {
+ flex-direction: column;
+ align-items: center;
+ }
+
+ #search-input {
+ width: 100%;
+ }
+
+ .service-cards {
+ grid-template-columns: 1fr;
+ }
+}
\ No newline at end of file