commit f5f056479984729b5cc51944a99920f7bd8a381c
Author: root <root@hub.scroll.pub> Date: 2024-12-27 06:23:22 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..269b15c --- /dev/null +++ b/body.html @@ -0,0 +1,73 @@ +<header> + <nav> + <div class="logo">Rotaville</div> + <div class="nav-links"> + <a href="#features">Features</a> + <a href="#pricing">Pricing</a> + <a href="#contact">Contact</a> + <button class="cta-button">Try Free</button> + </div> + <button class="mobile-menu" aria-label="Menu"> + <span></span><span></span><span></span> + </button> + </nav> +</header> + +<main> + <section class="hero"> + <div class="hero-content"> + <h1>Simplify Your Staff Scheduling</h1> + <p>Intelligent rota management that saves time and reduces stress</p> + <button class="primary-button">Start Free Trial</button> + </div> + <div class="hero-image"> + <div class="abstract-shape"></div> + </div> + </section> + + <section id="features" class="features"> + <h2>Why Choose Rotaville</h2> + <div class="feature-grid"> + <div class="feature-card"> + <div class="icon">📱</div> + <h3>Mobile First</h3> + <p>Access schedules anywhere, anytime</p> + </div> + <div class="feature-card"> + <div class="icon">🔄</div> + <h3>Auto Scheduling</h3> + <p>AI-powered shift optimization</p> + </div> + <div class="feature-card"> + <div class="icon">📊</div> + <h3>Real-time Analytics</h3> + <p>Track attendance and costs instantly</p> + </div> + <div class="feature-card"> + <div class="icon">🔔</div> + <h3>Smart Notifications</h3> + <p>Never miss important updates</p> + </div> + </div> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>Rotaville</h4> + <p>Making staff scheduling effortless</p> + </div> + <div class="footer-section"> + <h4>Contact</h4> + <a href="mailto:hello@rotaville.com">hello@rotaville.com</a> + </div> + <div class="footer-section"> + <h4>Follow Us</h4> + <div class="social-links"> + <a href="#" aria-label="Twitter">Twitter</a> + <a href="#" aria-label="LinkedIn">LinkedIn</a> + </div> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..f421136 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://rotamanager.scroll.pub +metaTags +editButton /edit.html +title Rotaville - Smart Staff Scheduling Software +style.css +body.html +script.js diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..6fce130 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# rotamanager.scroll.pub +Website generated by Claude from prompt: A modern website landing page for Rotaville.com rota software. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..5b128e4 --- /dev/null +++ b/script.js @@ -0,0 +1,37 @@ +document.addEventListener('DOMContentLoaded', () => { + // Mobile menu toggle + const mobileMenu = document.querySelector('.mobile-menu'); + const navLinks = document.querySelector('.nav-links'); + + mobileMenu?.addEventListener('click', () => { + navLinks.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex'; + }); + + // Smooth scroll for anchor links + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + document.querySelector(this.getAttribute('href')).scrollIntoView({ + behavior: 'smooth' + }); + }); + }); + + // Intersection Observer for fade-in animations + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.style.opacity = 1; + entry.target.style.transform = 'translateY(0)'; + } + }); + }); + + // Apply fade-in animation to feature cards + document.querySelectorAll('.feature-card').forEach(card => { + card.style.opacity = 0; + card.style.transform = 'translateY(20px)'; + card.style.transition = 'opacity 0.5s ease, transform 0.5s ease'; + observer.observe(card); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..4b356e5 --- /dev/null +++ b/style.css @@ -0,0 +1,183 @@ +:root { + --primary: #4A90E2; + --secondary: #6C63FF; + --text: #2C3E50; + --background: #F8FAFC; + --white: #FFFFFF; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: system-ui, -apple-system, sans-serif; + color: var(--text); + line-height: 1.6; + background: var(--background); +} + +/* Header & Navigation */ +header { + position: fixed; + width: 100%; + background: rgba(255, 255, 255, 0.95); + backdrop-filter: blur(10px); + z-index: 1000; + box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); +} + +nav { + max-width: 1200px; + margin: 0 auto; + padding: 1rem 2rem; + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + font-size: 1.5rem; + font-weight: 700; + background: linear-gradient(135deg, var(--primary), var(--secondary)); + -webkit-background-clip: text; + color: transparent; +} + +.nav-links a { + margin: 0 1rem; + text-decoration: none; + color: var(--text); + transition: color 0.3s ease; +} + +.nav-links a:hover { + color: var(--primary); +} + +/* Hero Section */ +.hero { + min-height: 100vh; + display: flex; + align-items: center; + padding: 6rem 2rem 2rem; + background: linear-gradient(135deg, #EEF2F7 0%, #F8FAFC 100%); +} + +.hero-content { + flex: 1; + max-width: 600px; +} + +.hero h1 { + font-size: 3.5rem; + line-height: 1.2; + margin-bottom: 1.5rem; + background: linear-gradient(135deg, var(--primary), var(--secondary)); + -webkit-background-clip: text; + color: transparent; +} + +.hero-image { + flex: 1; + position: relative; +} + +.abstract-shape { + width: 400px; + height: 400px; + background: linear-gradient(135deg, var(--primary), var(--secondary)); + border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; + animation: morphing 15s ease-in-out infinite; +} + +@keyframes morphing { + 0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; } + 25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; } + 50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; } + 75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; } + 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; } +} + +/* Features Section */ +.features { + padding: 4rem 2rem; + background: var(--white); +} + +.feature-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + margin-top: 3rem; +} + +.feature-card { + padding: 2rem; + background: var(--background); + border-radius: 1rem; + transition: transform 0.3s ease; +} + +.feature-card:hover { + transform: translateY(-5px); +} + +/* Buttons */ +.primary-button, .cta-button { + padding: 0.8rem 1.6rem; + border: none; + border-radius: 0.5rem; + background: linear-gradient(135deg, var(--primary), var(--secondary)); + color: var(--white); + cursor: pointer; + transition: transform 0.3s ease; +} + +.primary-button:hover, .cta-button:hover { + transform: translateY(-2px); +} + +/* Mobile Responsiveness */ +.mobile-menu { + display: none; +} + +@media (max-width: 768px) { + .nav-links { + display: none; + } + + .mobile-menu { + display: flex; + flex-direction: column; + gap: 4px; + background: none; + border: none; + cursor: pointer; + } + + .mobile-menu span { + width: 25px; + height: 2px; + background: var(--text); + transition: 0.3s ease; + } + + .hero { + flex-direction: column; + text-align: center; + } + + .hero h1 { + font-size: 2.5rem; + } + + .abstract-shape { + width: 250px; + height: 250px; + margin: 2rem auto; + } +}