commit 403d208b618475f1be7e89699867f949a6ea4b32
Author: root <root@hub.scroll.pub> Date: 2024-12-27 18:42:23 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..517eeb1 --- /dev/null +++ b/body.html @@ -0,0 +1,82 @@ +<header> + <nav> + <div class="logo">Match</div> + <button class="mobile-menu" 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="#matches">Matches</a></li> + <li><a href="#messages">Messages</a></li> + <li><button class="btn-primary">Sign Up</button></li> + <li><button class="btn-secondary">Login</button></li> + </ul> + </nav> +</header> + +<main> + <section id="hero"> + <div class="hero-content"> + <h1>Find Your Perfect Match</h1> + <p>Connect with like-minded people who share your interests and values</p> + <button class="btn-primary btn-large">Get Started</button> + </div> + <div class="hero-image"></div> + </section> + + <section id="features"> + <h2>Why Choose Match?</h2> + <div class="features-grid"> + <div class="feature-card"> + <div class="feature-icon">👥</div> + <h3>Smart Matching</h3> + <p>Our algorithm finds compatible matches based on your preferences</p> + </div> + <div class="feature-card"> + <div class="feature-icon">🔒</div> + <h3>Safe & Secure</h3> + <p>Your privacy and security are our top priority</p> + </div> + <div class="feature-card"> + <div class="feature-icon">💬</div> + <h3>Real Connections</h3> + <p>Meaningful conversations lead to lasting relationships</p> + </div> + </div> + </section> + + <section id="cta"> + <h2>Ready to Meet Someone Special?</h2> + <p>Join thousands of singles finding love every day</p> + <button class="btn-primary btn-large">Create Account</button> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>Company</h4> + <ul> + <li><a href="#about">About Us</a></li> + <li><a href="#careers">Careers</a></li> + <li><a href="#press">Press</a></li> + </ul> + </div> + <div class="footer-section"> + <h4>Support</h4> + <ul> + <li><a href="#help">Help Center</a></li> + <li><a href="#safety">Safety Tips</a></li> + <li><a href="#contact">Contact Us</a></li> + </ul> + </div> + <div class="footer-section"> + <h4>Legal</h4> + <ul> + <li><a href="#privacy">Privacy Policy</a></li> + <li><a href="#terms">Terms of Service</a></li> + <li><a href="#guidelines">Community Guidelines</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..965663e --- /dev/null +++ b/index.scroll @@ -0,0 +1,11 @@ +buildHtml +baseUrl https://match.scroll.pub +metaTags +description Find your perfect match with our modern dating platform +keywords dating, relationships, match, love, dating site +author Match Dating Platform +editButton /edit.html +title Match - Find Your Perfect Connection +style.css +body.html +script.js \ No newline at end of file diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..66e2ad9 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_018bJMM9Bbpqs6Rye4eZGu82", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll create a modern dating website with an elegant design.\n\nSuggested domain name: match.scroll.pub\n\n---domain---\nmatch.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://match.scroll.pub\nmetaTags\ndescription Find your perfect match with our modern dating platform\nkeywords dating, relationships, match, love, dating site\nauthor Match Dating Platform\neditButton /edit.html\ntitle Match - Find Your Perfect Connection\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">Match</div>\n <button class=\"mobile-menu\" aria-label=\"Toggle menu\">\n <span></span><span></span><span></span>\n </button>\n <ul class=\"nav-links\">\n <li><a href=\"#home\">Home</a></li>\n <li><a href=\"#matches\">Matches</a></li>\n <li><a href=\"#messages\">Messages</a></li>\n <li><button class=\"btn-primary\">Sign Up</button></li>\n <li><button class=\"btn-secondary\">Login</button></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section id=\"hero\">\n <div class=\"hero-content\">\n <h1>Find Your Perfect Match</h1>\n <p>Connect with like-minded people who share your interests and values</p>\n <button class=\"btn-primary btn-large\">Get Started</button>\n </div>\n <div class=\"hero-image\"></div>\n </section>\n\n <section id=\"features\">\n <h2>Why Choose Match?</h2>\n <div class=\"features-grid\">\n <div class=\"feature-card\">\n <div class=\"feature-icon\">👥</div>\n <h3>Smart Matching</h3>\n <p>Our algorithm finds compatible matches based on your preferences</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🔒</div>\n <h3>Safe & Secure</h3>\n <p>Your privacy and security are our top priority</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">💬</div>\n <h3>Real Connections</h3>\n <p>Meaningful conversations lead to lasting relationships</p>\n </div>\n </div>\n </section>\n\n <section id=\"cta\">\n <h2>Ready to Meet Someone Special?</h2>\n <p>Join thousands of singles finding love every day</p>\n <button class=\"btn-primary btn-large\">Create Account</button>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-section\">\n <h4>Company</h4>\n <ul>\n <li><a href=\"#about\">About Us</a></li>\n <li><a href=\"#careers\">Careers</a></li>\n <li><a href=\"#press\">Press</a></li>\n </ul>\n </div>\n <div class=\"footer-section\">\n <h4>Support</h4>\n <ul>\n <li><a href=\"#help\">Help Center</a></li>\n <li><a href=\"#safety\">Safety Tips</a></li>\n <li><a href=\"#contact\">Contact Us</a></li>\n </ul>\n </div>\n <div class=\"footer-section\">\n <h4>Legal</h4>\n <ul>\n <li><a href=\"#privacy\">Privacy Policy</a></li>\n <li><a href=\"#terms\">Terms of Service</a></li>\n <li><a href=\"#guidelines\">Community Guidelines</a></li>\n </ul>\n </div>\n </div>\n</footer>\n---style.css---\n:root {\n --primary-color: #ff4b6e;\n --secondary-color: #6c63ff;\n --text-color: #333;\n --light-gray: #f5f5f5;\n --white: #ffffff;\n --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n --transition: all 0.3s ease;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n}\n\n/* Header & Navigation */\nheader {\n background: var(--white);\n box-shadow: var(--shadow);\n position: fixed;\n width: 100%;\n top: 0;\n z-index: 1000;\n}\n\nnav {\n max-width: 1200px;\n margin: 0 auto;\n padding: 1rem;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.logo {\n font-size: 1.8rem;\n font-weight: bold;\n color: var(--primary-color);\n}\n\n.nav-links {\n display: flex;\n gap: 2rem;\n list-style: none;\n}\n\n.nav-links a {\n text-decoration: none;\n color: var(--text-color);\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--primary-color);\n}\n\n.mobile-menu {\n display: none;\n}\n\n/* Buttons */\n.btn-primary, .btn-secondary {\n padding: 0.8rem 1.5rem;\n border-radius: 25px;\n border: none;\n cursor: pointer;\n transition: var(--transition);\n font-weight: 600;\n}\n\n.btn-primary {\n background: var(--primary-color);\n color: var(--white);\n}\n\n.btn-secondary {\n background: transparent;\n border: 2px solid var(--primary-color);\n color: var(--primary-color);\n}\n\n.btn-large {\n padding: 1rem 2rem;\n font-size: 1.1rem;\n}\n\n/* Hero Section */\n#hero {\n margin-top: 80px;\n min-height: 80vh;\n display: flex;\n align-items: center;\n padding: 2rem;\n background: linear-gradient(135deg, #fff1f3 0%, #f0f0ff 100%);\n}\n\n.hero-content {\n flex: 1;\n max-width: 600px;\n}\n\n.hero-content h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.hero-image {\n flex: 1;\n background: url('data:image/svg+xml,<svg viewBox=\"0 0 200 200\" xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"%23FF4B6E\" d=\"M45.7,-77.8C58.9,-69.3,69.2,-55.5,76.3,-40.5C83.4,-25.5,87.4,-9.3,85.7,6.4C84,22.1,76.7,37.3,66.7,50.7C56.7,64.1,44,75.7,29.1,80.7C14.2,85.7,-2.8,84.1,-19.9,80C-37,75.9,-54.2,69.3,-67.1,57.7C-80,46.1,-88.6,29.5,-89.8,12.5C-91,-4.5,-84.8,-21.9,-75.6,-36.8C-66.4,-51.7,-54.2,-64.1,-40.3,-72.1C-26.4,-80.1,-10.7,-83.7,3.4,-89.1C17.5,-94.5,32.5,-86.3,45.7,-77.8Z\" transform=\"translate(100 100)\" /></svg>') no-repeat center;\n min-height: 400px;\n}\n\n/* Features Section */\n#features {\n padding: 4rem 2rem;\n background: var(--white);\n}\n\n.features-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n max-width: 1200px;\n margin: 2rem auto;\n}\n\n.feature-card {\n padding: 2rem;\n text-align: center;\n background: var(--white);\n border-radius: 10px;\n box-shadow: var(--shadow);\n transition: var(--transition);\n}\n\n.feature-card:hover {\n transform: translateY(-5px);\n}\n\n.feature-icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n/* CTA Section */\n#cta {\n background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));\n color: var(--white);\n text-align: center;\n padding: 4rem 2rem;\n}\n\n/* Footer */\nfooter {\n background: var(--light-gray);\n padding: 4rem 2rem;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 2rem;\n}\n\n.footer-section h4 {\n margin-bottom: 1rem;\n}\n\n.footer-section ul {\n list-style: none;\n}\n\n.footer-section a {\n color: var(--text-color);\n text-decoration: none;\n transition: var(--transition);\n}\n\n.footer-section a:hover {\n color: var(--primary-color);\n}\n\n/* Mobile Responsiveness */\n@media (max-width: 768px) {\n .mobile-menu {\n display: block;\n background: none;\n border: none;\n cursor: pointer;\n }\n\n .mobile-menu span {\n display: block;\n width: 25px;\n height: 3px;\n background: var(--primary-color);\n margin: 5px 0;\n transition: var(--transition);\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: var(--white);\n padding: 1rem;\n flex-direction: column;\n align-items: center;\n box-shadow: var(--shadow);\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .hero-content h1 {\n font-size: 2.5rem;\n }\n\n #hero {\n flex-direction: column;\n text-align: center;\n }\n\n .hero-image {\n margin-top: 2rem;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile menu toggle\n const mobileMenu = document.querySelector('.mobile-menu');\n const navLinks = document.querySelector('.nav-links');\n\n mobileMenu.addEventListener('click', () => {\n navLinks.classList.toggle('active');\n \n // Animate hamburger to X\n const spans = mobileMenu.getElementsByTagName('span');\n spans[0].style.transform = navLinks.classList.contains('active') \n ? 'rotate(45deg) translate(5px, 5px)' \n : 'none';\n spans[1].style.opacity = navLinks.classList.contains('active') \n ? '0' \n : '1';\n spans[2].style.transform = navLinks.classList.contains('active') \n ? 'rotate(-45deg) translate(7px, -7px)' \n : 'none';\n });\n\n // Smooth scroll for navigation links\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n document.querySelector(this.getAttribute('href')).scrollIntoView({\n behavior: 'smooth'\n });\n });\n });\n\n // Button hover effects\n const buttons = document.querySelectorAll('.btn-primary, .btn-secondary');\n buttons.forEach(button => {\n button.addEventListener('mouseover', () => {\n button.style.transform = 'scale(1.05)';\n });\n button.addEventListener('mouseout', () => {\n button.style.transform = 'scale(1)';\n });\n });\n\n // Feature cards animation on scroll\n const cards = document.querySelectorAll('.feature-card');\n const observerOptions = {\n threshold: 0.5,\n rootMargin: '0px'\n };\n\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.style.opacity = '1';\n entry.target.style.transform = 'translateY(0)';\n }\n });\n }, observerOptions);\n\n cards.forEach(card => {\n card.style.opacity = '0';\n card.style.transform = 'translateY(20px)';\n card.style.transition = 'all 0.6s ease-out';\n observer.observe(card);\n });\n});\n---end---\n\nThis creates a modern, responsive dating website with smooth animations and interactions. Key features include:\n\n1. Clean, semantic HTML5 structure\n2. Mobile-first responsive design\n3. Modern gradient effects and animations\n4. Interactive features like smooth scrolling and hover effects\n5. Accessibility considerations\n6. SEO-friendly meta tags\n7. Performance optimized with minimal JavaScript\n8. Beautiful UI with attention to typography and spacing\n9. Animated feature cards on scroll\n10. Hamburger menu for mobile devices\n\nThe design uses a romantic color scheme with pink and purple gradients, maintaining professionalism while being visually appealing. All animations are smooth and subtle, enhancing the user experience without being distracting." + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 275, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 3681 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..293b011 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# match.scroll.pub +Website generated by Claude from prompt: I want a dating website \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..1a51ec3 --- /dev/null +++ b/script.js @@ -0,0 +1,65 @@ +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.getElementsByTagName('span'); + spans[0].style.transform = navLinks.classList.contains('active') + ? 'rotate(45deg) translate(5px, 5px)' + : 'none'; + spans[1].style.opacity = navLinks.classList.contains('active') + ? '0' + : '1'; + spans[2].style.transform = navLinks.classList.contains('active') + ? 'rotate(-45deg) translate(7px, -7px)' + : 'none'; + }); + + // Smooth scroll for navigation links + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + document.querySelector(this.getAttribute('href')).scrollIntoView({ + behavior: 'smooth' + }); + }); + }); + + // Button hover effects + const buttons = document.querySelectorAll('.btn-primary, .btn-secondary'); + buttons.forEach(button => { + button.addEventListener('mouseover', () => { + button.style.transform = 'scale(1.05)'; + }); + button.addEventListener('mouseout', () => { + button.style.transform = 'scale(1)'; + }); + }); + + // Feature cards animation on scroll + const cards = document.querySelectorAll('.feature-card'); + const observerOptions = { + threshold: 0.5, + rootMargin: '0px' + }; + + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.style.opacity = '1'; + entry.target.style.transform = 'translateY(0)'; + } + }); + }, observerOptions); + + cards.forEach(card => { + card.style.opacity = '0'; + card.style.transform = 'translateY(20px)'; + card.style.transition = 'all 0.6s ease-out'; + observer.observe(card); + }); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..f749b2b --- /dev/null +++ b/style.css @@ -0,0 +1,242 @@ +:root { + --primary-color: #ff4b6e; + --secondary-color: #6c63ff; + --text-color: #333; + --light-gray: #f5f5f5; + --white: #ffffff; + --shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + --transition: all 0.3s ease; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', system-ui, sans-serif; + line-height: 1.6; + color: var(--text-color); +} + +/* Header & Navigation */ +header { + background: var(--white); + box-shadow: var(--shadow); + position: fixed; + width: 100%; + top: 0; + z-index: 1000; +} + +nav { + max-width: 1200px; + margin: 0 auto; + padding: 1rem; + display: flex; + justify-content: space-between; + align-items: center; +} + +.logo { + font-size: 1.8rem; + font-weight: bold; + color: var(--primary-color); +} + +.nav-links { + display: flex; + gap: 2rem; + list-style: none; +} + +.nav-links a { + text-decoration: none; + color: var(--text-color); + transition: var(--transition); +} + +.nav-links a:hover { + color: var(--primary-color); +} + +.mobile-menu { + display: none; +} + +/* Buttons */ +.btn-primary, .btn-secondary { + padding: 0.8rem 1.5rem; + border-radius: 25px; + border: none; + cursor: pointer; + transition: var(--transition); + font-weight: 600; +} + +.btn-primary { + background: var(--primary-color); + color: var(--white); +} + +.btn-secondary { + background: transparent; + border: 2px solid var(--primary-color); + color: var(--primary-color); +} + +.btn-large { + padding: 1rem 2rem; + font-size: 1.1rem; +} + +/* Hero Section */ +#hero { + margin-top: 80px; + min-height: 80vh; + display: flex; + align-items: center; + padding: 2rem; + background: linear-gradient(135deg, #fff1f3 0%, #f0f0ff 100%); +} + +.hero-content { + flex: 1; + max-width: 600px; +} + +.hero-content h1 { + font-size: 3.5rem; + margin-bottom: 1rem; + background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +.hero-image { + flex: 1; + background: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path fill="%23FF4B6E" d="M45.7,-77.8C58.9,-69.3,69.2,-55.5,76.3,-40.5C83.4,-25.5,87.4,-9.3,85.7,6.4C84,22.1,76.7,37.3,66.7,50.7C56.7,64.1,44,75.7,29.1,80.7C14.2,85.7,-2.8,84.1,-19.9,80C-37,75.9,-54.2,69.3,-67.1,57.7C-80,46.1,-88.6,29.5,-89.8,12.5C-91,-4.5,-84.8,-21.9,-75.6,-36.8C-66.4,-51.7,-54.2,-64.1,-40.3,-72.1C-26.4,-80.1,-10.7,-83.7,3.4,-89.1C17.5,-94.5,32.5,-86.3,45.7,-77.8Z" transform="translate(100 100)" /></svg>') no-repeat center; + min-height: 400px; +} + +/* Features Section */ +#features { + padding: 4rem 2rem; + background: var(--white); +} + +.features-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + max-width: 1200px; + margin: 2rem auto; +} + +.feature-card { + padding: 2rem; + text-align: center; + background: var(--white); + border-radius: 10px; + box-shadow: var(--shadow); + transition: var(--transition); +} + +.feature-card:hover { + transform: translateY(-5px); +} + +.feature-icon { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +/* CTA Section */ +#cta { + background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); + color: var(--white); + text-align: center; + padding: 4rem 2rem; +} + +/* Footer */ +footer { + background: var(--light-gray); + padding: 4rem 2rem; +} + +.footer-content { + max-width: 1200px; + margin: 0 auto; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 2rem; +} + +.footer-section h4 { + margin-bottom: 1rem; +} + +.footer-section ul { + list-style: none; +} + +.footer-section a { + color: var(--text-color); + text-decoration: none; + transition: var(--transition); +} + +.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(--primary-color); + margin: 5px 0; + transition: var(--transition); + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + right: 0; + background: var(--white); + padding: 1rem; + flex-direction: column; + align-items: center; + box-shadow: var(--shadow); + } + + .nav-links.active { + display: flex; + } + + .hero-content h1 { + font-size: 2.5rem; + } + + #hero { + flex-direction: column; + text-align: center; + } + + .hero-image { + margin-top: 2rem; + } +} \ No newline at end of file