commit 56092c1bc1a74c6cf7d71e895ce6f6bd05b508d2
Author: root <root@hub.scroll.pub> Date: 2024-12-27 06:27:15 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..60e337d --- /dev/null +++ b/body.html @@ -0,0 +1,72 @@ +<header> + <nav> + <div class="logo"> + <span class="wind-icon">💨</span> + <h1>Fartastic</h1> + </div> + <button class="mobile-menu" aria-label="Toggle menu">☰</button> + <ul class="nav-links"> + <li><a href="#services">Services</a></li> + <li><a href="#about">About</a></li> + <li><a href="#testimonials">Testimonials</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> +</header> + +<main> + <section class="hero"> + <h2>Breaking Wind, Breaking Boundaries</h2> + <p>Professional flatulence solutions for entertainment and education</p> + <button class="cta">Book a Consultation</button> + </section> + + <section id="services" class="services"> + <h2>Our Services</h2> + <div class="service-grid"> + <div class="service-card"> + <div class="service-icon">🎭</div> + <h3>Entertainment</h3> + <p>Professional performers for events</p> + </div> + <div class="service-card"> + <div class="service-icon">🔬</div> + <h3>Research</h3> + <p>Scientific analysis and studies</p> + </div> + <div class="service-card"> + <div class="service-icon">🎬</div> + <h3>Sound Effects</h3> + <p>Studio-quality recordings</p> + </div> + </div> + </section> + + <section id="about" class="about"> + <h2>About Us</h2> + <p>Since 2010, we've been the leading innovators in professional flatulence services. Our team of experts brings both science and artistry to this unique field.</p> + </section> + + <section id="contact" class="contact"> + <h2>Get in Touch</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="logo"> + <span class="wind-icon">💨</span> + <span>Fartastic</span> + </div> + <div class="footer-links"> + <a href="/privacy">Privacy Policy</a> + <a href="/terms">Terms of Service</a> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..90a7225 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://fartastic.scroll.pub +metaTags +editButton /edit.html +title Fartastic - Professional Flatulence Solutions +style.css +body.html +script.js diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..a1f0542 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# fartastic.scroll.pub +Website generated by Claude from prompt: Website for a farting company \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..10970df --- /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'); + }); + + // Smooth scrolling for navigation links + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + const target = document.querySelector(this.getAttribute('href')); + if (target) { + target.scrollIntoView({ + behavior: 'smooth' + }); + navLinks.classList.remove('active'); + } + }); + }); + + // Contact form handling + const contactForm = document.getElementById('contact-form'); + if (contactForm) { + 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 fade-in animations + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.classList.add('visible'); + } + }); + }, { + threshold: 0.1 + }); + + document.querySelectorAll('.service-card').forEach((card) => { + observer.observe(card); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..f5678ae --- /dev/null +++ b/style.css @@ -0,0 +1,235 @@ +:root { + --primary-color: #7c3aed; + --secondary-color: #4c1d95; + --background: #f9fafb; + --text-color: #1f2937; + --accent-color: #10b981; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; + line-height: 1.6; + color: var(--text-color); + background: var(--background); +} + +/* Header & Navigation */ +header { + background: rgba(255, 255, 255, 0.95); + backdrop-filter: blur(10px); + position: fixed; + width: 100%; + top: 0; + z-index: 1000; + 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 { + display: flex; + align-items: center; + gap: 0.5rem; + font-size: 1.5rem; + font-weight: bold; + color: var(--primary-color); +} + +.wind-icon { + font-size: 1.8rem; + animation: float 3s ease-in-out infinite; +} + +.nav-links { + display: flex; + gap: 2rem; + list-style: none; +} + +.nav-links a { + text-decoration: none; + color: var(--text-color); + font-weight: 500; + transition: color 0.3s; +} + +.nav-links a:hover { + color: var(--primary-color); +} + +/* Hero Section */ +.hero { + height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + padding: 2rem; + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + color: white; +} + +.hero h2 { + font-size: 3rem; + margin-bottom: 1rem; +} + +.cta { + margin-top: 2rem; + padding: 1rem 2rem; + font-size: 1.1rem; + background: var(--accent-color); + color: white; + border: none; + border-radius: 50px; + cursor: pointer; + transition: transform 0.3s; +} + +.cta:hover { + transform: scale(1.05); +} + +/* Services Section */ +.services { + padding: 5rem 2rem; + background: white; +} + +.service-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + max-width: 1200px; + margin: 2rem auto; +} + +.service-card { + padding: 2rem; + text-align: center; + background: white; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + transition: transform 0.3s; +} + +.service-card:hover { + transform: translateY(-5px); +} + +.service-icon { + font-size: 3rem; + margin-bottom: 1rem; +} + +/* Contact Form */ +.contact { + padding: 5rem 2rem; + background: var(--background); +} + +#contact-form { + max-width: 600px; + margin: 0 auto; + display: flex; + flex-direction: column; + gap: 1rem; +} + +input, textarea { + padding: 1rem; + border: 2px solid #e5e7eb; + border-radius: 8px; + font-size: 1rem; +} + +textarea { + min-height: 150px; +} + +/* Footer */ +footer { + background: var(--secondary-color); + color: white; + padding: 2rem; +} + +.footer-content { + max-width: 1200px; + margin: 0 auto; + display: flex; + justify-content: space-between; + align-items: center; +} + +.footer-links a { + color: white; + text-decoration: none; + margin-left: 2rem; +} + +/* Animations */ +@keyframes float { + 0%, 100% { transform: translateY(0); } + 50% { transform: translateY(-10px); } +} + +/* Mobile Responsiveness */ +.mobile-menu { + display: none; + font-size: 1.5rem; + background: none; + border: none; + color: var(--text-color); + cursor: pointer; +} + +@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; + padding: 1rem; + text-align: center; + } + + .nav-links.active { + display: flex; + } + + .hero h2 { + font-size: 2rem; + } + + .footer-content { + flex-direction: column; + gap: 1rem; + text-align: center; + } + + .footer-links a { + margin: 0 1rem; + } +}