commit 008be3c36f9092e03d5917675fcb1d261ce1ba14
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 09:45:48 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..5829815
--- /dev/null
+++ b/body.html
@@ -0,0 +1,109 @@
+<header>
+ <nav>
+ <div class="logo">MatchPlay</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="#how-it-works">How It Works</a></li>
+ <li><a href="#download">Download</a></li>
+ </ul>
+ </nav>
+</header>
+
+<main>
+ <section class="hero">
+ <div class="hero-content">
+ <h1>Find Your Perfect Match</h1>
+ <p>Connect with tennis and badminton players in your area, at your skill level</p>
+ <div class="cta-buttons">
+ <a href="#download" class="btn primary">Download Now</a>
+ <a href="#how-it-works" class="btn secondary">Learn More</a>
+ </div>
+ </div>
+ <div class="hero-image">
+ <div class="phone-mockup"></div>
+ </div>
+ </section>
+
+ <section id="features" class="features">
+ <h2>Why Choose MatchPlay</h2>
+ <div class="feature-grid">
+ <div class="feature-card">
+ <div class="icon">🎾</div>
+ <h3>Skill Matching</h3>
+ <p>Find players at your level for competitive and fun matches</p>
+ </div>
+ <div class="feature-card">
+ <div class="icon">📍</div>
+ <h3>Location Based</h3>
+ <p>Discover players and courts near you</p>
+ </div>
+ <div class="feature-card">
+ <div class="icon">📅</div>
+ <h3>Easy Scheduling</h3>
+ <p>Coordinate matches with built-in calendar integration</p>
+ </div>
+ <div class="feature-card">
+ <div class="icon">🤝</div>
+ <h3>Verified Players</h3>
+ <p>Trust our community of verified sports enthusiasts</p>
+ </div>
+ </div>
+ </section>
+
+ <section id="how-it-works" class="how-it-works">
+ <h2>How It Works</h2>
+ <div class="steps">
+ <div class="step">
+ <div class="step-number">1</div>
+ <h3>Create Profile</h3>
+ <p>Set up your profile with your skill level and preferences</p>
+ </div>
+ <div class="step">
+ <div class="step-number">2</div>
+ <h3>Find Players</h3>
+ <p>Browse nearby players and send match requests</p>
+ </div>
+ <div class="step">
+ <div class="step-number">3</div>
+ <h3>Play!</h3>
+ <p>Meet up and enjoy your game</p>
+ </div>
+ </div>
+ </section>
+
+ <section id="download" class="download">
+ <h2>Ready to Play?</h2>
+ <p>Download MatchPlay and start finding partners today</p>
+ <div class="store-buttons">
+ <button class="store-btn apple">Download on App Store</button>
+ <button class="store-btn google">Get it on Google Play</button>
+ </div>
+ </section>
+</main>
+
+<footer>
+ <div class="footer-content">
+ <div class="footer-section">
+ <h4>MatchPlay</h4>
+ <p>Connecting sports enthusiasts worldwide</p>
+ </div>
+ <div class="footer-section">
+ <h4>Links</h4>
+ <ul>
+ <li><a href="#features">Features</a></li>
+ <li><a href="#how-it-works">How It Works</a></li>
+ <li><a href="#download">Download</a></li>
+ </ul>
+ </div>
+ <div class="footer-section">
+ <h4>Contact</h4>
+ <ul>
+ <li><a href="mailto:hello@matchplay.scroll.pub">Email Us</a></li>
+ <li><a href="/support">Support</a></li>
+ </ul>
+ </div>
+ </div>
+</footer>
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..d951cad
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,10 @@
+buildHtml
+baseUrl https://matchplay.scroll.pub
+metaTags
+ description Find your perfect tennis or badminton partner nearby. Join MatchPlay to connect with players at your skill level and schedule matches easily.
+ keywords tennis partner, badminton partner, find tennis players, sports matching app, tennis buddy
+editButton /edit.html
+title MatchPlay - Find Your Perfect Tennis or Badminton Partner
+style.css
+body.html
+script.js
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..ffacad0
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# matchplay.scroll.pub
+Website generated by Claude from prompt: create a landing page for app that helps people to find a partner to play tennis or badminton
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..c43b2fd
--- /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');
+
+ // Animate hamburger to X
+ const spans = mobileMenu.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'));
+
+ if (target) {
+ navLinks.classList.remove('active');
+ target.scrollIntoView({
+ behavior: 'smooth',
+ block: 'start'
+ });
+ }
+ });
+ });
+
+ // Intersection Observer for fade-in 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('visible');
+ }
+ });
+ }, observerOptions);
+
+ // Observe all sections
+ document.querySelectorAll('section').forEach(section => {
+ section.classList.add('fade-in');
+ observer.observe(section);
+ });
+});
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..884a7d5
--- /dev/null
+++ b/style.css
@@ -0,0 +1,293 @@
+:root {
+ --primary-color: #4CAF50;
+ --secondary-color: #2196F3;
+ --text-color: #333;
+ --light-gray: #f5f5f5;
+ --spacing: 2rem;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 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 {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 1rem var(--spacing);
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+.logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ color: var(--primary-color);
+}
+
+.nav-links {
+ display: flex;
+ list-style: none;
+ gap: 2rem;
+}
+
+.nav-links a {
+ text-decoration: none;
+ color: var(--text-color);
+ transition: color 0.3s ease;
+}
+
+.nav-links a:hover {
+ color: var(--primary-color);
+}
+
+.mobile-menu {
+ display: none;
+}
+
+/* Hero Section */
+.hero {
+ min-height: 100vh;
+ display: flex;
+ align-items: center;
+ padding: 6rem var(--spacing) var(--spacing);
+ background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
+}
+
+.hero-content {
+ flex: 1;
+ max-width: 600px;
+}
+
+.hero h1 {
+ font-size: 3.5rem;
+ margin-bottom: 1rem;
+ line-height: 1.2;
+}
+
+.hero p {
+ font-size: 1.25rem;
+ margin-bottom: 2rem;
+}
+
+.cta-buttons {
+ display: flex;
+ gap: 1rem;
+}
+
+.btn {
+ padding: 1rem 2rem;
+ border-radius: 50px;
+ text-decoration: none;
+ font-weight: bold;
+ transition: transform 0.3s ease;
+}
+
+.btn:hover {
+ transform: translateY(-2px);
+}
+
+.btn.primary {
+ background: var(--primary-color);
+ color: white;
+}
+
+.btn.secondary {
+ background: transparent;
+ border: 2px solid var(--primary-color);
+ color: var(--primary-color);
+}
+
+/* Features Section */
+.features {
+ padding: var(--spacing);
+ background: white;
+}
+
+.feature-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ margin-top: 3rem;
+}
+
+.feature-card {
+ padding: 2rem;
+ border-radius: 15px;
+ background: var(--light-gray);
+ transition: transform 0.3s ease;
+}
+
+.feature-card:hover {
+ transform: translateY(-5px);
+}
+
+.icon {
+ font-size: 2rem;
+ margin-bottom: 1rem;
+}
+
+/* How It Works Section */
+.how-it-works {
+ padding: var(--spacing);
+ background: var(--light-gray);
+}
+
+.steps {
+ display: flex;
+ justify-content: space-around;
+ flex-wrap: wrap;
+ gap: 2rem;
+ margin-top: 3rem;
+}
+
+.step {
+ flex: 1;
+ min-width: 250px;
+ text-align: center;
+}
+
+.step-number {
+ width: 40px;
+ height: 40px;
+ background: var(--primary-color);
+ color: white;
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin: 0 auto 1rem;
+}
+
+/* Download Section */
+.download {
+ padding: var(--spacing);
+ text-align: center;
+ background: linear-gradient(135deg, #c3cfe2 0%, #f5f7fa 100%);
+}
+
+.store-buttons {
+ display: flex;
+ justify-content: center;
+ gap: 1rem;
+ margin-top: 2rem;
+}
+
+.store-btn {
+ padding: 1rem 2rem;
+ border: none;
+ border-radius: 8px;
+ background: #333;
+ color: white;
+ cursor: pointer;
+ transition: transform 0.3s ease;
+}
+
+.store-btn:hover {
+ transform: translateY(-2px);
+}
+
+/* Footer */
+footer {
+ background: #333;
+ color: white;
+ padding: var(--spacing);
+}
+
+.footer-content {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
+ gap: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+.footer-section h4 {
+ margin-bottom: 1rem;
+}
+
+.footer-section ul {
+ list-style: none;
+}
+
+.footer-section a {
+ color: white;
+ text-decoration: none;
+ transition: color 0.3s ease;
+}
+
+.footer-section a:hover {
+ color: var(--primary-color);
+}
+
+/* Mobile Responsiveness */
+@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;
+ right: 0;
+ background: white;
+ flex-direction: column;
+ padding: 1rem;
+ text-align: center;
+ }
+
+ .nav-links.active {
+ display: flex;
+ }
+
+ .hero {
+ flex-direction: column;
+ text-align: center;
+ padding-top: 8rem;
+ }
+
+ .hero h1 {
+ font-size: 2.5rem;
+ }
+
+ .cta-buttons {
+ justify-content: center;
+ }
+
+ .store-buttons {
+ flex-direction: column;
+ align-items: center;
+ }
+}