commit ec792d3aad875fb768e25c25eb835ed5c81047ce
Author: root <root@hub.scroll.pub> Date: 2024-12-28 10:22:49 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..64e625f --- /dev/null +++ b/body.html @@ -0,0 +1,72 @@ +<header> + <nav class="main-nav"> + <div class="logo">Amor Latino</div> + <div class="nav-links"> + <a href="#romantic-phrases">Phrases</a> + <a href="#date-ideas">Date Ideas</a> + <a href="#culture">Culture</a> + </div> + </nav> +</header> + +<main> + <section class="hero" aria-label="Welcome section"> + <h1>Embrace the Passion of Spanish Romance</h1> + <p>Discover the art of Latin love through language, culture, and tradition</p> + </section> + + <section id="romantic-phrases" class="phrases-section"> + <h2>Sweet Spanish Phrases</h2> + <div class="phrase-cards"> + <div class="phrase-card"> + <h3>Mi Amor</h3> + <p>My Love</p> + </div> + <div class="phrase-card"> + <h3>Te Quiero</h3> + <p>I Love You</p> + </div> + <div class="phrase-card"> + <h3>Mi Corazón</h3> + <p>My Heart</p> + </div> + </div> + </section> + + <section id="date-ideas" class="date-section"> + <h2>Romantic Date Ideas</h2> + <div class="date-grid"> + <article class="date-card"> + <h3>Salsa Dancing</h3> + <p>Move to the rhythm of passion</p> + </article> + <article class="date-card"> + <h3>Spanish Cooking</h3> + <p>Create paella together</p> + </article> + <article class="date-card"> + <h3>Wine Tasting</h3> + <p>Savor Spanish wines</p> + </article> + </div> + </section> + + <section id="culture" class="culture-section"> + <h2>Cultural Connection</h2> + <div class="culture-content"> + <p>Understanding Spanish culture is key to building a deeper connection with your amor.</p> + <button class="culture-btn">Learn More</button> + </div> + </section> +</main> + +<footer> + <div class="footer-content"> + <p>Made with passion by Amor Latino</p> + <nav class="footer-nav"> + <a href="#privacy">Privacy</a> + <a href="#terms">Terms</a> + <a href="#contact">Contact</a> + </nav> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..eb57146 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://amorlatino.scroll.pub +metaTags +editButton /edit.html +title Amor Latino - Ignite Your Spanish Romance +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..c9b2ce4 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01Xu4TqDk3pMquVb2U9Veutf", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll create a romantic Spanish-themed website with the requested specifications.\n\n---domain---\namorlatino.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://amorlatino.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Amor Latino - Ignite Your Spanish Romance\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav class=\"main-nav\">\n <div class=\"logo\">Amor Latino</div>\n <div class=\"nav-links\">\n <a href=\"#romantic-phrases\">Phrases</a>\n <a href=\"#date-ideas\">Date Ideas</a>\n <a href=\"#culture\">Culture</a>\n </div>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\" aria-label=\"Welcome section\">\n <h1>Embrace the Passion of Spanish Romance</h1>\n <p>Discover the art of Latin love through language, culture, and tradition</p>\n </section>\n\n <section id=\"romantic-phrases\" class=\"phrases-section\">\n <h2>Sweet Spanish Phrases</h2>\n <div class=\"phrase-cards\">\n <div class=\"phrase-card\">\n <h3>Mi Amor</h3>\n <p>My Love</p>\n </div>\n <div class=\"phrase-card\">\n <h3>Te Quiero</h3>\n <p>I Love You</p>\n </div>\n <div class=\"phrase-card\">\n <h3>Mi Corazón</h3>\n <p>My Heart</p>\n </div>\n </div>\n </section>\n\n <section id=\"date-ideas\" class=\"date-section\">\n <h2>Romantic Date Ideas</h2>\n <div class=\"date-grid\">\n <article class=\"date-card\">\n <h3>Salsa Dancing</h3>\n <p>Move to the rhythm of passion</p>\n </article>\n <article class=\"date-card\">\n <h3>Spanish Cooking</h3>\n <p>Create paella together</p>\n </article>\n <article class=\"date-card\">\n <h3>Wine Tasting</h3>\n <p>Savor Spanish wines</p>\n </article>\n </div>\n </section>\n\n <section id=\"culture\" class=\"culture-section\">\n <h2>Cultural Connection</h2>\n <div class=\"culture-content\">\n <p>Understanding Spanish culture is key to building a deeper connection with your amor.</p>\n <button class=\"culture-btn\">Learn More</button>\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <p>Made with passion by Amor Latino</p>\n <nav class=\"footer-nav\">\n <a href=\"#privacy\">Privacy</a>\n <a href=\"#terms\">Terms</a>\n <a href=\"#contact\">Contact</a>\n </nav>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #ff4757;\n --secondary-color: #ff6b81;\n --accent-color: #2f3542;\n --text-light: #ffffff;\n --text-dark: #2f3542;\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-dark);\n}\n\n.main-nav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1rem 5%;\n background: var(--primary-color);\n position: fixed;\n width: 100%;\n z-index: 1000;\n}\n\n.logo {\n font-size: 1.5rem;\n color: var(--text-light);\n font-weight: bold;\n}\n\n.nav-links a {\n color: var(--text-light);\n text-decoration: none;\n margin-left: 2rem;\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--accent-color);\n}\n\n.hero {\n height: 100vh;\n background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n color: var(--text-light);\n padding: 0 1rem;\n}\n\n.hero h1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n animation: fadeIn 1s ease-in;\n}\n\n.phrases-section,\n.date-section,\n.culture-section {\n padding: 5rem 5%;\n}\n\n.phrase-cards {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.phrase-card {\n background: white;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n transition: var(--transition);\n}\n\n.phrase-card:hover {\n transform: translateY(-5px);\n}\n\n.date-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.date-card {\n background: var(--accent-color);\n color: var(--text-light);\n padding: 2rem;\n border-radius: 10px;\n transition: var(--transition);\n}\n\n.date-card:hover {\n transform: scale(1.05);\n}\n\n.culture-content {\n text-align: center;\n max-width: 800px;\n margin: 0 auto;\n}\n\n.culture-btn {\n background: var(--primary-color);\n color: var(--text-light);\n border: none;\n padding: 1rem 2rem;\n border-radius: 25px;\n margin-top: 2rem;\n cursor: pointer;\n transition: var(--transition);\n}\n\n.culture-btn:hover {\n background: var(--secondary-color);\n}\n\nfooter {\n background: var(--accent-color);\n color: var(--text-light);\n padding: 2rem 5%;\n}\n\n.footer-content {\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.footer-nav a {\n color: var(--text-light);\n text-decoration: none;\n margin-left: 1rem;\n}\n\n@keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n\n@media (max-width: 768px) {\n .hero h1 {\n font-size: 2rem;\n }\n \n .nav-links {\n display: none;\n }\n \n .footer-content {\n flex-direction: column;\n text-align: center;\n }\n \n .footer-nav {\n margin-top: 1rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\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 // Animation for phrase cards on scroll\n const observeElements = document.querySelectorAll('.phrase-card, .date-card');\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 }, { threshold: 0.1 });\n\n observeElements.forEach(element => {\n element.style.opacity = '0';\n element.style.transform = 'translateY(20px)';\n element.style.transition = 'opacity 0.6s ease, transform 0.6s ease';\n observer.observe(element);\n });\n\n // Culture button interaction\n const cultureBtn = document.querySelector('.culture-btn');\n cultureBtn.addEventListener('click', () => {\n cultureBtn.style.transform = 'scale(0.95)';\n setTimeout(() => {\n cultureBtn.style.transform = 'scale(1)';\n }, 200);\n });\n});\n\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 294, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 2333 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..fa089fa --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# amorlatino.scroll.pub +Website generated by Claude from prompt: I want a website that helps me build romance with my Spanish lover. It should have some colorful images. Be creative. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..0f44c9e --- /dev/null +++ b/script.js @@ -0,0 +1,39 @@ +document.addEventListener('DOMContentLoaded', () => { + // 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' + }); + }); + }); + + // Animation for phrase cards on scroll + const observeElements = document.querySelectorAll('.phrase-card, .date-card'); + + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.style.opacity = '1'; + entry.target.style.transform = 'translateY(0)'; + } + }); + }, { threshold: 0.1 }); + + observeElements.forEach(element => { + element.style.opacity = '0'; + element.style.transform = 'translateY(20px)'; + element.style.transition = 'opacity 0.6s ease, transform 0.6s ease'; + observer.observe(element); + }); + + // Culture button interaction + const cultureBtn = document.querySelector('.culture-btn'); + cultureBtn.addEventListener('click', () => { + cultureBtn.style.transform = 'scale(0.95)'; + setTimeout(() => { + cultureBtn.style.transform = 'scale(1)'; + }, 200); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..bee6563 --- /dev/null +++ b/style.css @@ -0,0 +1,173 @@ +:root { + --primary-color: #ff4757; + --secondary-color: #ff6b81; + --accent-color: #2f3542; + --text-light: #ffffff; + --text-dark: #2f3542; + --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-dark); +} + +.main-nav { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem 5%; + background: var(--primary-color); + position: fixed; + width: 100%; + z-index: 1000; +} + +.logo { + font-size: 1.5rem; + color: var(--text-light); + font-weight: bold; +} + +.nav-links a { + color: var(--text-light); + text-decoration: none; + margin-left: 2rem; + transition: var(--transition); +} + +.nav-links a:hover { + color: var(--accent-color); +} + +.hero { + height: 100vh; + background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + color: var(--text-light); + padding: 0 1rem; +} + +.hero h1 { + font-size: 3rem; + margin-bottom: 1rem; + animation: fadeIn 1s ease-in; +} + +.phrases-section, +.date-section, +.culture-section { + padding: 5rem 5%; +} + +.phrase-cards { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + margin-top: 2rem; +} + +.phrase-card { + background: white; + padding: 2rem; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + transition: var(--transition); +} + +.phrase-card:hover { + transform: translateY(-5px); +} + +.date-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; + margin-top: 2rem; +} + +.date-card { + background: var(--accent-color); + color: var(--text-light); + padding: 2rem; + border-radius: 10px; + transition: var(--transition); +} + +.date-card:hover { + transform: scale(1.05); +} + +.culture-content { + text-align: center; + max-width: 800px; + margin: 0 auto; +} + +.culture-btn { + background: var(--primary-color); + color: var(--text-light); + border: none; + padding: 1rem 2rem; + border-radius: 25px; + margin-top: 2rem; + cursor: pointer; + transition: var(--transition); +} + +.culture-btn:hover { + background: var(--secondary-color); +} + +footer { + background: var(--accent-color); + color: var(--text-light); + padding: 2rem 5%; +} + +.footer-content { + display: flex; + justify-content: space-between; + align-items: center; +} + +.footer-nav a { + color: var(--text-light); + text-decoration: none; + margin-left: 1rem; +} + +@keyframes fadeIn { + from { opacity: 0; } + to { opacity: 1; } +} + +@media (max-width: 768px) { + .hero h1 { + font-size: 2rem; + } + + .nav-links { + display: none; + } + + .footer-content { + flex-direction: column; + text-align: center; + } + + .footer-nav { + margin-top: 1rem; + } +}