commit 9649818d70eb9c1a38483fba429f0bb7ea92151e
Author: root <root@hub.scroll.pub> Date: 2024-12-26 18:36:07 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..5d42de5 --- /dev/null +++ b/body.html @@ -0,0 +1,90 @@ +<header class="main-header"> + <nav class="nav-container"> + <div class="logo">Infinilearn</div> + <button class="mobile-menu" aria-label="Toggle menu"> + <span></span><span></span><span></span> + </button> + <ul class="nav-links"> + <li><a href="#features">Features</a></li> + <li><a href="#pricing">Pricing</a></li> + <li><a href="#about">About</a></li> + <li><a href="#contact" class="cta-button">Get Started</a></li> + </ul> + </nav> +</header> + +<main> + <section class="hero"> + <div class="hero-content"> + <h1>Learning Without Limits</h1> + <p>Personalized AI-powered education that adapts to your learning style</p> + <a href="#signup" class="primary-button">Start Learning Free</a> + </div> + <div class="hero-image"></div> + </section> + + <section id="features" class="features"> + <h2>Why Choose Infinilearn</h2> + <div class="features-grid"> + <div class="feature-card"> + <div class="feature-icon" aria-hidden="true">🤖</div> + <h3>AI-Powered Learning</h3> + <p>Adaptive technology that understands your pace and style</p> + </div> + <div class="feature-card"> + <div class="feature-icon" aria-hidden="true">📊</div> + <h3>Progress Tracking</h3> + <p>Real-time analytics and personalized feedback</p> + </div> + <div class="feature-card"> + <div class="feature-icon" aria-hidden="true">🎯</div> + <h3>Custom Pathways</h3> + <p>Tailored learning journeys for your goals</p> + </div> + </div> + </section> + + <section id="pricing" class="pricing"> + <h2>Simple Pricing</h2> + <div class="pricing-grid"> + <div class="price-card"> + <h3>Basic</h3> + <div class="price">Free</div> + <ul> + <li>Core Learning Features</li> + <li>Basic Progress Tracking</li> + <li>Community Support</li> + </ul> + <a href="#signup" class="secondary-button">Get Started</a> + </div> + <div class="price-card featured"> + <h3>Pro</h3> + <div class="price">$12/mo</div> + <ul> + <li>Advanced AI Features</li> + <li>Detailed Analytics</li> + <li>Priority Support</li> + <li>Custom Learning Paths</li> + </ul> + <a href="#signup" class="primary-button">Choose Pro</a> + </div> + </div> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>Infinilearn</h4> + <p>Transforming education through AI-powered learning</p> + </div> + <div class="footer-section"> + <h4>Links</h4> + <ul> + <li><a href="#privacy">Privacy</a></li> + <li><a href="#terms">Terms</a></li> + <li><a href="#contact">Contact</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..4871fbf --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://learn.scroll.pub +metaTags +editButton +title Infinilearn - AI-Powered Personalized Learning Platform +style.css +body.html +script.js \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..a38a1ec --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# learn.scroll.pub +Website generated from prompt: A super modern edTech SAAS website for my app Infinilearn \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..13d29dc --- /dev/null +++ b/script.js @@ -0,0 +1,47 @@ +document.addEventListener('DOMContentLoaded', () => { + // Mobile menu functionality + const mobileMenu = document.querySelector('.mobile-menu'); + const navLinks = document.querySelector('.nav-links'); + + mobileMenu.addEventListener('click', () => { + navLinks.classList.toggle('active'); + mobileMenu.classList.toggle('active'); + }); + + // Smooth scrolling for anchor 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', + block: 'start' + }); + // Close mobile menu if open + navLinks.classList.remove('active'); + mobileMenu.classList.remove('active'); + } + }); + }); + + // Intersection Observer for scroll animations + const observerOptions = { + threshold: 0.1, + rootMargin: '0px' + }; + + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.classList.add('visible'); + observer.unobserve(entry.target); + } + }); + }, observerOptions); + + // Observe all feature and price cards + document.querySelectorAll('.feature-card, .price-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..c6c11d6 --- /dev/null +++ b/style.css @@ -0,0 +1,218 @@ +:root { + --primary-color: #4f46e5; + --secondary-color: #818cf8; + --text-color: #1f2937; + --background-color: #ffffff; + --accent-color: #f0f7ff; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; + color: var(--text-color); + line-height: 1.6; +} + +.main-header { + position: fixed; + width: 100%; + background: rgba(255, 255, 255, 0.9); + backdrop-filter: blur(10px); + z-index: 1000; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); +} + +.nav-container { + max-width: 1200px; + margin: 0 auto; + padding: 1rem; + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + font-size: 1.5rem; + font-weight: 700; + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + -webkit-background-clip: text; + color: transparent; +} + +.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 ease; +} + +.nav-links a:hover { + color: var(--primary-color); +} + +.mobile-menu { + display: none; +} + +.hero { + min-height: 100vh; + display: flex; + align-items: center; + padding: 6rem 2rem 2rem; + background: linear-gradient(135deg, var(--accent-color), #ffffff); +} + +.hero-content { + max-width: 600px; + margin: 0 auto; +} + +.hero h1 { + font-size: 3.5rem; + line-height: 1.2; + margin-bottom: 1.5rem; + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + -webkit-background-clip: text; + color: transparent; +} + +.primary-button, .secondary-button { + display: inline-block; + padding: 1rem 2rem; + border-radius: 8px; + text-decoration: none; + font-weight: 600; + transition: transform 0.3s ease, box-shadow 0.3s ease; +} + +.primary-button { + background: var(--primary-color); + color: white; + box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2); +} + +.secondary-button { + background: var(--accent-color); + color: var(--primary-color); +} + +.primary-button:hover, .secondary-button:hover { + transform: translateY(-2px); + box-shadow: 0 6px 12px rgba(79, 70, 229, 0.3); +} + +.features, .pricing { + padding: 5rem 2rem; + max-width: 1200px; + margin: 0 auto; +} + +.features-grid, .pricing-grid { + display: grid; + gap: 2rem; + margin-top: 3rem; +} + +.features-grid { + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); +} + +.pricing-grid { + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); +} + +.feature-card, .price-card { + padding: 2rem; + border-radius: 12px; + background: white; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + transition: transform 0.3s ease; +} + +.feature-card:hover { + transform: translateY(-5px); +} + +.price-card.featured { + border: 2px solid var(--primary-color); + transform: scale(1.05); +} + +.price-card ul { + list-style: none; + margin: 2rem 0; +} + +.price-card ul li { + margin: 0.5rem 0; +} + +.price { + font-size: 2rem; + font-weight: 700; + color: var(--primary-color); + margin: 1rem 0; +} + +footer { + background: var(--accent-color); + padding: 3rem 2rem; +} + +.footer-content { + max-width: 1200px; + margin: 0 auto; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 2rem; +} + +@media (max-width: 768px) { + .mobile-menu { + display: block; + background: none; + border: none; + cursor: pointer; + } + + .mobile-menu span { + display: block; + width: 25px; + height: 3px; + background: var(--text-color); + margin: 5px 0; + transition: 0.3s; + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + width: 100%; + background: white; + padding: 1rem; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); + } + + .nav-links.active { + display: flex; + flex-direction: column; + gap: 1rem; + } + + .hero h1 { + font-size: 2.5rem; + } +} \ No newline at end of file