commit 3f9ec677e2d62ff4b8a8249a98af318d39d77927
Author: root <root@hub.scroll.pub>
Date: 2025-01-05 03:11:07 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..385ec0d
--- /dev/null
+++ b/body.html
@@ -0,0 +1,72 @@
+<header>
+ <nav>
+ <div class="logo">AutoCruise</div>
+ <button class="mobile-menu" aria-label="Toggle menu">
+ <span></span><span></span><span></span>
+ </button>
+ <ul class="nav-links">
+ <li><a href="#featured">Featured</a></li>
+ <li><a href="#luxury">Luxury</a></li>
+ <li><a href="#performance">Performance</a></li>
+ <li><a href="#contact">Contact</a></li>
+ </ul>
+ </nav>
+</header>
+
+<main>
+ <section class="hero">
+ <h1>Experience Automotive Excellence</h1>
+ <p>Discover the finest selection of luxury and performance vehicles</p>
+ </section>
+
+ <section id="featured" class="featured">
+ <h2>Featured Models</h2>
+ <div class="car-grid">
+ <article class="car-card">
+ <div class="car-image car1"></div>
+ <h3>Sport GT</h3>
+ <p>480 HP | 0-60 in 3.2s</p>
+ <button class="details-btn">View Details</button>
+ </article>
+ <article class="car-card">
+ <div class="car-image car2"></div>
+ <h3>Luxury Sedan</h3>
+ <p>365 HP | Ultimate Comfort</p>
+ <button class="details-btn">View Details</button>
+ </article>
+ <article class="car-card">
+ <div class="car-image car3"></div>
+ <h3>Electric SUV</h3>
+ <p>402 HP | 300mi Range</p>
+ <button class="details-btn">View Details</button>
+ </article>
+ </div>
+ </section>
+
+ <section id="contact" class="contact">
+ <h2>Contact Us</h2>
+ <form id="contact-form">
+ <input type="text" placeholder="Name" required>
+ <input type="email" placeholder="Email" required>
+ <textarea placeholder="Message" required></textarea>
+ <button type="submit">Send Message</button>
+ </form>
+ </section>
+</main>
+
+<footer>
+ <div class="footer-content">
+ <div class="footer-section">
+ <h4>AutoCruise</h4>
+ <p>Your premier destination for luxury and performance vehicles.</p>
+ </div>
+ <div class="footer-section">
+ <h4>Quick Links</h4>
+ <ul>
+ <li><a href="#featured">Featured</a></li>
+ <li><a href="#luxury">Luxury</a></li>
+ <li><a href="#performance">Performance</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..3c93cdd
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://autocruise.scroll.pub
+metaTags
+editButton /edit.html
+title AutoCruise - Luxury & Performance Cars
+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..10942d4
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,20 @@
+{
+ "id": "msg_01Hun8mkxs9ZN4QDHTZ15QmE",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "I'll create a modern car showcase website. For the domain, I suggest:\n\n---domain---\nautocruise.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://autocruise.scroll.pub\nmetaTags\neditButton /edit.html\ntitle AutoCruise - Luxury & Performance Cars\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">AutoCruise</div>\n <button class=\"mobile-menu\" aria-label=\"Toggle menu\">\n <span></span><span></span><span></span>\n </button>\n <ul class=\"nav-links\">\n <li><a href=\"#featured\">Featured</a></li>\n <li><a href=\"#luxury\">Luxury</a></li>\n <li><a href=\"#performance\">Performance</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <h1>Experience Automotive Excellence</h1>\n <p>Discover the finest selection of luxury and performance vehicles</p>\n </section>\n\n <section id=\"featured\" class=\"featured\">\n <h2>Featured Models</h2>\n <div class=\"car-grid\">\n <article class=\"car-card\">\n <div class=\"car-image car1\"></div>\n <h3>Sport GT</h3>\n <p>480 HP | 0-60 in 3.2s</p>\n <button class=\"details-btn\">View Details</button>\n </article>\n <article class=\"car-card\">\n <div class=\"car-image car2\"></div>\n <h3>Luxury Sedan</h3>\n <p>365 HP | Ultimate Comfort</p>\n <button class=\"details-btn\">View Details</button>\n </article>\n <article class=\"car-card\">\n <div class=\"car-image car3\"></div>\n <h3>Electric SUV</h3>\n <p>402 HP | 300mi Range</p>\n <button class=\"details-btn\">View Details</button>\n </article>\n </div>\n </section>\n\n <section id=\"contact\" class=\"contact\">\n <h2>Contact Us</h2>\n <form id=\"contact-form\">\n <input type=\"text\" placeholder=\"Name\" required>\n <input type=\"email\" placeholder=\"Email\" required>\n <textarea placeholder=\"Message\" required></textarea>\n <button type=\"submit\">Send Message</button>\n </form>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-section\">\n <h4>AutoCruise</h4>\n <p>Your premier destination for luxury and performance vehicles.</p>\n </div>\n <div class=\"footer-section\">\n <h4>Quick Links</h4>\n <ul>\n <li><a href=\"#featured\">Featured</a></li>\n <li><a href=\"#luxury\">Luxury</a></li>\n <li><a href=\"#performance\">Performance</a></li>\n </ul>\n </div>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #2c3e50;\n --accent-color: #e74c3c;\n --text-color: #333;\n --light-bg: #f5f6fa;\n --transition: all 0.3s ease;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n}\n\n/* Header & Navigation */\nheader {\n position: fixed;\n width: 100%;\n z-index: 1000;\n background: rgba(255, 255, 255, 0.95);\n backdrop-filter: blur(10px);\n box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n}\n\nnav {\n max-width: 1200px;\n margin: 0 auto;\n padding: 1rem;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n color: var(--primary-color);\n}\n\n.nav-links {\n display: flex;\n gap: 2rem;\n list-style: none;\n}\n\n.nav-links a {\n text-decoration: none;\n color: var(--text-color);\n font-weight: 500;\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--accent-color);\n}\n\n/* Hero Section */\n.hero {\n height: 100vh;\n background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),\n url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1 1\"><rect width=\"1\" height=\"1\" fill=\"%232c3e50\"/></svg>');\n background-size: cover;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n color: white;\n padding: 1rem;\n}\n\n.hero h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n animation: fadeIn 1s ease-out;\n}\n\n.hero p {\n font-size: 1.5rem;\n animation: fadeIn 1s ease-out 0.5s backwards;\n}\n\n/* Car Grid */\n.car-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n padding: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.car-card {\n background: white;\n border-radius: 10px;\n overflow: hidden;\n box-shadow: 0 5px 15px rgba(0,0,0,0.1);\n transition: var(--transition);\n}\n\n.car-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 8px 25px rgba(0,0,0,0.2);\n}\n\n.car-image {\n height: 200px;\n background-color: var(--primary-color);\n background-size: cover;\n background-position: center;\n}\n\n.car1 { background-color: #e74c3c; }\n.car2 { background-color: #2c3e50; }\n.car3 { background-color: #3498db; }\n\n/* Contact Form */\n.contact {\n background: var(--light-bg);\n padding: 4rem 1rem;\n}\n\n#contact-form {\n max-width: 600px;\n margin: 0 auto;\n display: grid;\n gap: 1rem;\n}\n\ninput, textarea, button {\n padding: 1rem;\n border: 2px solid transparent;\n border-radius: 5px;\n font-size: 1rem;\n}\n\nbutton {\n background: var(--accent-color);\n color: white;\n cursor: pointer;\n transition: var(--transition);\n}\n\nbutton:hover {\n background: darken(var(--accent-color), 10%);\n transform: translateY(-2px);\n}\n\n/* Footer */\nfooter {\n background: var(--primary-color);\n color: white;\n padding: 3rem 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(250px, 1fr));\n gap: 2rem;\n}\n\n/* Animations */\n@keyframes fadeIn {\n from { opacity: 0; transform: translateY(20px); }\n to { opacity: 1; transform: translateY(0); }\n}\n\n/* Mobile Responsiveness */\n.mobile-menu {\n display: none;\n background: none;\n border: none;\n cursor: pointer;\n}\n\n.mobile-menu span {\n display: block;\n width: 25px;\n height: 3px;\n background: var(--text-color);\n margin: 5px 0;\n transition: var(--transition);\n}\n\n@media (max-width: 768px) {\n .mobile-menu {\n display: block;\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: white;\n flex-direction: column;\n text-align: center;\n padding: 1rem;\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .hero h1 {\n font-size: 2.5rem;\n }\n\n .hero p {\n font-size: 1.2rem;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile Menu Toggle\n const mobileMenu = document.querySelector('.mobile-menu');\n const navLinks = document.querySelector('.nav-links');\n\n mobileMenu.addEventListener('click', () => {\n navLinks.classList.toggle('active');\n const spans = mobileMenu.querySelectorAll('span');\n spans[0].classList.toggle('rotate-45');\n spans[1].classList.toggle('opacity-0');\n spans[2].classList.toggle('rotate-neg-45');\n });\n\n // Smooth Scroll\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n const target = document.querySelector(this.getAttribute('href'));\n target.scrollIntoView({\n behavior: 'smooth'\n });\n navLinks.classList.remove('active');\n });\n });\n\n // Contact Form\n const contactForm = document.getElementById('contact-form');\n contactForm.addEventListener('submit', (e) => {\n e.preventDefault();\n // Add form submission logic here\n alert('Thank you for your message! We will get back to you soon.');\n contactForm.reset();\n });\n\n // Intersection Observer for Animations\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('visible');\n }\n });\n }, {\n threshold: 0.1\n });\n\n document.querySelectorAll('.car-card').forEach(card => {\n observer.observe(card);\n });\n});\n---end---\n\nThis creates a modern, responsive car showcase website with smooth animations, mobile-friendly navigation, and beautiful design elements. The site features a stunning hero section, featured car displays, and a contact form. The CSS includes modern techniques like CSS Grid, Flexbox, and CSS Variables. The JavaScript handles mobile menu interactions, smooth scrolling, and basic form functionality."
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 271,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 2911
+ }
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..2a93aea
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# autocruise.scroll.pub
+Website generated by Claude from prompt: Cars
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..2843431
--- /dev/null
+++ b/script.js
@@ -0,0 +1,49 @@
+document.addEventListener('DOMContentLoaded', () => {
+ // Mobile Menu Toggle
+ const mobileMenu = document.querySelector('.mobile-menu');
+ const navLinks = document.querySelector('.nav-links');
+
+ mobileMenu.addEventListener('click', () => {
+ navLinks.classList.toggle('active');
+ const spans = mobileMenu.querySelectorAll('span');
+ spans[0].classList.toggle('rotate-45');
+ spans[1].classList.toggle('opacity-0');
+ spans[2].classList.toggle('rotate-neg-45');
+ });
+
+ // Smooth Scroll
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ const target = document.querySelector(this.getAttribute('href'));
+ target.scrollIntoView({
+ behavior: 'smooth'
+ });
+ navLinks.classList.remove('active');
+ });
+ });
+
+ // Contact Form
+ const contactForm = document.getElementById('contact-form');
+ contactForm.addEventListener('submit', (e) => {
+ e.preventDefault();
+ // Add form submission logic here
+ alert('Thank you for your message! We will get back to you soon.');
+ contactForm.reset();
+ });
+
+ // Intersection Observer for Animations
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.classList.add('visible');
+ }
+ });
+ }, {
+ threshold: 0.1
+ });
+
+ document.querySelectorAll('.car-card').forEach(card => {
+ observer.observe(card);
+ });
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..e1c41f9
--- /dev/null
+++ b/style.css
@@ -0,0 +1,221 @@
+:root {
+ --primary-color: #2c3e50;
+ --accent-color: #e74c3c;
+ --text-color: #333;
+ --light-bg: #f5f6fa;
+ --transition: all 0.3s ease;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ font-family: 'Segoe UI', system-ui, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+}
+
+/* Header & Navigation */
+header {
+ position: fixed;
+ width: 100%;
+ z-index: 1000;
+ background: rgba(255, 255, 255, 0.95);
+ backdrop-filter: blur(10px);
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
+}
+
+nav {
+ max-width: 1200px;
+ margin: 0 auto;
+ padding: 1rem;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ color: var(--primary-color);
+}
+
+.nav-links {
+ display: flex;
+ gap: 2rem;
+ list-style: none;
+}
+
+.nav-links a {
+ text-decoration: none;
+ color: var(--text-color);
+ font-weight: 500;
+ transition: var(--transition);
+}
+
+.nav-links a:hover {
+ color: var(--accent-color);
+}
+
+/* Hero Section */
+.hero {
+ height: 100vh;
+ background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
+ url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1 1"><rect width="1" height="1" fill="%232c3e50"/></svg>');
+ background-size: cover;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ text-align: center;
+ color: white;
+ padding: 1rem;
+}
+
+.hero h1 {
+ font-size: 3.5rem;
+ margin-bottom: 1rem;
+ animation: fadeIn 1s ease-out;
+}
+
+.hero p {
+ font-size: 1.5rem;
+ animation: fadeIn 1s ease-out 0.5s backwards;
+}
+
+/* Car Grid */
+.car-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: 2rem;
+ padding: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+.car-card {
+ background: white;
+ border-radius: 10px;
+ overflow: hidden;
+ box-shadow: 0 5px 15px rgba(0,0,0,0.1);
+ transition: var(--transition);
+}
+
+.car-card:hover {
+ transform: translateY(-5px);
+ box-shadow: 0 8px 25px rgba(0,0,0,0.2);
+}
+
+.car-image {
+ height: 200px;
+ background-color: var(--primary-color);
+ background-size: cover;
+ background-position: center;
+}
+
+.car1 { background-color: #e74c3c; }
+.car2 { background-color: #2c3e50; }
+.car3 { background-color: #3498db; }
+
+/* Contact Form */
+.contact {
+ background: var(--light-bg);
+ padding: 4rem 1rem;
+}
+
+#contact-form {
+ max-width: 600px;
+ margin: 0 auto;
+ display: grid;
+ gap: 1rem;
+}
+
+input, textarea, button {
+ padding: 1rem;
+ border: 2px solid transparent;
+ border-radius: 5px;
+ font-size: 1rem;
+}
+
+button {
+ background: var(--accent-color);
+ color: white;
+ cursor: pointer;
+ transition: var(--transition);
+}
+
+button:hover {
+ background: darken(var(--accent-color), 10%);
+ transform: translateY(-2px);
+}
+
+/* Footer */
+footer {
+ background: var(--primary-color);
+ color: white;
+ padding: 3rem 1rem;
+}
+
+.footer-content {
+ max-width: 1200px;
+ margin: 0 auto;
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+}
+
+/* Animations */
+@keyframes fadeIn {
+ from { opacity: 0; transform: translateY(20px); }
+ to { opacity: 1; transform: translateY(0); }
+}
+
+/* Mobile Responsiveness */
+.mobile-menu {
+ display: none;
+ background: none;
+ border: none;
+ cursor: pointer;
+}
+
+.mobile-menu span {
+ display: block;
+ width: 25px;
+ height: 3px;
+ background: var(--text-color);
+ margin: 5px 0;
+ transition: var(--transition);
+}
+
+@media (max-width: 768px) {
+ .mobile-menu {
+ display: block;
+ }
+
+ .nav-links {
+ display: none;
+ position: absolute;
+ top: 100%;
+ left: 0;
+ right: 0;
+ background: white;
+ flex-direction: column;
+ text-align: center;
+ padding: 1rem;
+ }
+
+ .nav-links.active {
+ display: flex;
+ }
+
+ .hero h1 {
+ font-size: 2.5rem;
+ }
+
+ .hero p {
+ font-size: 1.2rem;
+ }
+}
\ No newline at end of file