Changes to simple.scroll.pub

root
root
26 days ago
Initial commit
body.html
Changed around line 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Creating Beautiful Digital Experiences

+

Modern web solutions for the modern world

+
+
+
+
+

About Us

+
+
+

Design

+

Beautiful, intuitive interfaces that engage users

+
+
+

Develop

+

Clean, efficient code that performs

+
+
+

Deploy

+

Fast, reliable solutions that scale

+
+
+
+
+
+

Our Work

+
+
+
+

Project One

+

Web Application

+
+
+
+

Project Two

+

E-commerce Platform

+
+
+
+

Project Three

+

Mobile Interface

+
+
+
+
+
+

Contact Us

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Made with passion by Simple

+
+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://simple.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Simple | Modern Web Design
+ style.css
+ body.html
+ script.js
readme.scroll
Changed around line 1
+ # simple.scroll.pub
+ Website generated by Claude from prompt: create a website
script.js
Changed around line 1
+ 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);
+ });
+ });
style.css
Changed around line 1
+ :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;
+ }
+ }