commit dae30d76a20d2d7914f9880175ce0059c012d0e2
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 10:39:41 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..f0cddfe
--- /dev/null
+++ b/body.html
@@ -0,0 +1,95 @@
+<header>
+ <nav>
+ <div class="logo">Simple</div>
+ <button class="menu-toggle" aria-label="Toggle menu">
+ <span></span>
+ <span></span>
+ <span></span>
+ </button>
+ <ul class="nav-links">
+ <li><a href="#home">Home</a></li>
+ <li><a href="#about">About</a></li>
+ <li><a href="#work">Work</a></li>
+ <li><a href="#contact">Contact</a></li>
+ </ul>
+ </nav>
+</header>
+
+<main>
+ <section id="home" class="hero">
+ <div class="hero-content">
+ <h1>Creating Beautiful Digital Experiences</h1>
+ <p>Modern web solutions for the modern world</p>
+ <a href="#contact" class="cta-button">Get Started</a>
+ </div>
+ </section>
+
+ <section id="about" class="about">
+ <h2>About Us</h2>
+ <div class="about-grid">
+ <div class="about-card">
+ <h3>Design</h3>
+ <p>Beautiful, intuitive interfaces that engage users</p>
+ </div>
+ <div class="about-card">
+ <h3>Develop</h3>
+ <p>Clean, efficient code that performs</p>
+ </div>
+ <div class="about-card">
+ <h3>Deploy</h3>
+ <p>Fast, reliable solutions that scale</p>
+ </div>
+ </div>
+ </section>
+
+ <section id="work" class="work">
+ <h2>Our Work</h2>
+ <div class="work-grid">
+ <article class="work-item">
+ <div class="work-image"></div>
+ <h3>Project One</h3>
+ <p>Web Application</p>
+ </article>
+ <article class="work-item">
+ <div class="work-image"></div>
+ <h3>Project Two</h3>
+ <p>E-commerce Platform</p>
+ </article>
+ <article class="work-item">
+ <div class="work-image"></div>
+ <h3>Project Three</h3>
+ <p>Mobile Interface</p>
+ </article>
+ </div>
+ </section>
+
+ <section id="contact" class="contact">
+ <h2>Contact Us</h2>
+ <form id="contact-form">
+ <div class="form-group">
+ <label for="name">Name</label>
+ <input type="text" id="name" required>
+ </div>
+ <div class="form-group">
+ <label for="email">Email</label>
+ <input type="email" id="email" required>
+ </div>
+ <div class="form-group">
+ <label for="message">Message</label>
+ <textarea id="message" required></textarea>
+ </div>
+ <button type="submit" class="submit-button">Send Message</button>
+ </form>
+ </section>
+</main>
+
+<footer>
+ <div class="footer-content">
+ <div class="social-links">
+ <a href="#" aria-label="Twitter">Twitter</a>
+ <a href="#" aria-label="LinkedIn">LinkedIn</a>
+ <a href="#" aria-label="GitHub">GitHub</a>
+ </div>
+ <p>Made with passion by Simple</p>
+ </div>
+</footer>
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..00dd92c
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://simple.scroll.pub
+metaTags
+editButton /edit.html
+title Simple | Modern Web Design
+style.css
+body.html
+script.js
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..aa239f0
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# simple.scroll.pub
+Website generated by Claude from prompt: create a website
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..726554a
--- /dev/null
+++ b/script.js
@@ -0,0 +1,70 @@
+document.addEventListener('DOMContentLoaded', () => {
+ // Mobile menu toggle
+ const menuToggle = document.querySelector('.menu-toggle');
+ const navLinks = document.querySelector('.nav-links');
+
+ menuToggle.addEventListener('click', () => {
+ navLinks.classList.toggle('active');
+
+ // Animate hamburger menu
+ const spans = menuToggle.querySelectorAll('span');
+ spans.forEach(span => span.classList.toggle('active'));
+ });
+
+ // Smooth scroll for navigation links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ const target = document.querySelector(this.getAttribute('href'));
+ target.scrollIntoView({
+ behavior: 'smooth',
+ block: 'start'
+ });
+
+ // Close mobile menu if open
+ navLinks.classList.remove('active');
+ });
+ });
+
+ // Form submission
+ const contactForm = document.getElementById('contact-form');
+ if (contactForm) {
+ contactForm.addEventListener('submit', (e) => {
+ e.preventDefault();
+
+ // Get form values
+ const name = document.getElementById('name').value;
+ const email = document.getElementById('email').value;
+ const message = document.getElementById('message').value;
+
+ // Here you would typically send the form data to a server
+ console.log('Form submitted:', { name, email, message });
+
+ // Reset form
+ contactForm.reset();
+
+ // Show success message (in a production environment, you'd want to handle this better)
+ alert('Thank you for your message! We will get back to you soon.');
+ });
+ }
+
+ // Add scroll animations
+ const observerOptions = {
+ threshold: 0.1,
+ rootMargin: '0px 0px -50px 0px'
+ };
+
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.classList.add('animate');
+ observer.unobserve(entry.target);
+ }
+ });
+ }, observerOptions);
+
+ // Observe all sections
+ document.querySelectorAll('section').forEach(section => {
+ observer.observe(section);
+ });
+});
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..ece1177
--- /dev/null
+++ b/style.css
@@ -0,0 +1,298 @@
+:root {
+ --primary-color: #2a6df4;
+ --secondary-color: #1d4ed8;
+ --text-color: #333;
+ --light-bg: #f8fafc;
+ --transition: all 0.3s ease;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+html {
+ scroll-behavior: smooth;
+}
+
+body {
+ font-family: system-ui, -apple-system, sans-serif;
+ line-height: 1.6;
+ color: var(--text-color);
+}
+
+/* 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 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: 700;
+ color: var(--primary-color);
+}
+
+.nav-links {
+ display: flex;
+ list-style: none;
+ gap: 2rem;
+}
+
+.nav-links a {
+ text-decoration: none;
+ color: var(--text-color);
+ font-weight: 500;
+ transition: var(--transition);
+}
+
+.nav-links a:hover {
+ color: var(--primary-color);
+}
+
+.menu-toggle {
+ display: none;
+}
+
+/* Hero Section */
+.hero {
+ min-height: 100vh;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: linear-gradient(135deg, #f6f8ff 0%, #ffffff 100%);
+ padding: 2rem;
+}
+
+.hero-content {
+ text-align: center;
+ max-width: 800px;
+}
+
+.hero h1 {
+ font-size: 3.5rem;
+ margin-bottom: 1rem;
+ background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
+ -webkit-background-clip: text;
+ color: transparent;
+}
+
+.cta-button {
+ display: inline-block;
+ padding: 1rem 2rem;
+ background: var(--primary-color);
+ color: white;
+ text-decoration: none;
+ border-radius: 30px;
+ transition: var(--transition);
+ margin-top: 2rem;
+}
+
+.cta-button:hover {
+ background: var(--secondary-color);
+ transform: translateY(-2px);
+}
+
+/* About Section */
+.about {
+ padding: 6rem 2rem;
+ background: var(--light-bg);
+}
+
+.about h2 {
+ text-align: center;
+ margin-bottom: 3rem;
+}
+
+.about-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+.about-card {
+ background: white;
+ padding: 2rem;
+ border-radius: 10px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ transition: var(--transition);
+}
+
+.about-card:hover {
+ transform: translateY(-5px);
+}
+
+/* Work Section */
+.work {
+ padding: 6rem 2rem;
+}
+
+.work h2 {
+ text-align: center;
+ margin-bottom: 3rem;
+}
+
+.work-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
+ gap: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+.work-item {
+ background: white;
+ border-radius: 10px;
+ overflow: hidden;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ transition: var(--transition);
+}
+
+.work-image {
+ height: 200px;
+ background: var(--primary-color);
+ opacity: 0.9;
+}
+
+.work-item h3,
+.work-item p {
+ padding: 1rem;
+}
+
+/* Contact Section */
+.contact {
+ padding: 6rem 2rem;
+ background: var(--light-bg);
+}
+
+.contact h2 {
+ text-align: center;
+ margin-bottom: 3rem;
+}
+
+#contact-form {
+ max-width: 600px;
+ margin: 0 auto;
+}
+
+.form-group {
+ margin-bottom: 1.5rem;
+}
+
+label {
+ display: block;
+ margin-bottom: 0.5rem;
+}
+
+input,
+textarea {
+ width: 100%;
+ padding: 0.8rem;
+ border: 2px solid #ddd;
+ border-radius: 5px;
+ transition: var(--transition);
+}
+
+input:focus,
+textarea:focus {
+ border-color: var(--primary-color);
+ outline: none;
+}
+
+textarea {
+ height: 150px;
+ resize: vertical;
+}
+
+.submit-button {
+ background: var(--primary-color);
+ color: white;
+ border: none;
+ padding: 1rem 2rem;
+ border-radius: 30px;
+ cursor: pointer;
+ transition: var(--transition);
+}
+
+.submit-button:hover {
+ background: var(--secondary-color);
+}
+
+/* Footer */
+footer {
+ background: #333;
+ color: white;
+ padding: 2rem;
+ text-align: center;
+}
+
+.social-links {
+ margin-bottom: 1rem;
+}
+
+.social-links a {
+ color: white;
+ text-decoration: none;
+ margin: 0 1rem;
+ transition: var(--transition);
+}
+
+.social-links a:hover {
+ color: var(--primary-color);
+}
+
+/* Mobile Responsive */
+@media (max-width: 768px) {
+ .menu-toggle {
+ display: block;
+ background: none;
+ border: none;
+ cursor: pointer;
+ padding: 0.5rem;
+ }
+
+ .menu-toggle span {
+ display: block;
+ width: 25px;
+ height: 3px;
+ background: var(--text-color);
+ margin: 5px 0;
+ transition: var(--transition);
+ }
+
+ .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 h1 {
+ font-size: 2.5rem;
+ }
+}