commit 6f22940e4e480e4d1685d7db823aefdf0985523d
Author: root <root@hub.scroll.pub> Date: 2025-01-14 07:44:55 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..eb3229f --- /dev/null +++ b/body.html @@ -0,0 +1,90 @@ +<header> + <nav> + <div class="logo">Structura</div> + <button class="mobile-menu" aria-label="Toggle menu"> + <span></span><span></span><span></span> + </button> + <ul class="nav-links"> + <li><a href="#products">Products</a></li> + <li><a href="#learn">Learn</a></li> + <li><a href="#invest">Invest</a></li> + <li><a href="#account" class="cta-button">Get Started</a></li> + </ul> + </nav> +</header> + +<main> + <section class="hero"> + <div class="hero-content"> + <h1>Sophisticated Investing Made Simple</h1> + <p>Access institutional-grade structured products with lower minimums and full transparency</p> + <a href="#invest" class="primary-button">Start Investing</a> + <a href="#learn" class="secondary-button">Learn More</a> + </div> + <div class="hero-animation"></div> + </section> + + <section id="products" class="products"> + <h2>Our Product Range</h2> + <div class="product-grid"> + <article class="product-card"> + <div class="card-icon">📈</div> + <h3>Capital Protected Notes</h3> + <p>Protect your principal while participating in market upside</p> + </article> + <article class="product-card"> + <div class="card-icon">🎯</div> + <h3>Yield Enhancement</h3> + <p>Generate enhanced yields in sideways markets</p> + </article> + <article class="product-card"> + <div class="card-icon">🔄</div> + <h3>Autocallables</h3> + <p>Benefit from early redemption opportunities</p> + </article> + </div> + </section> + + <section id="learn" class="education"> + <h2>Learn Structured Products</h2> + <div class="education-grid"> + <article class="education-card"> + <h3>Interactive Courses</h3> + <p>Master the basics through our guided learning paths</p> + <a href="#courses" class="learn-more">Explore Courses</a> + </article> + <article class="education-card"> + <h3>Product Library</h3> + <p>Detailed explanations of different product types</p> + <a href="#library" class="learn-more">Browse Library</a> + </article> + </div> + </section> + + <section class="cta"> + <h2>Ready to Start?</h2> + <p>Join thousands of investors already using Structura</p> + <a href="#account" class="primary-button">Open Account</a> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>About</h4> + <ul> + <li><a href="#about">About Us</a></li> + <li><a href="#careers">Careers</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </div> + <div class="footer-section"> + <h4>Legal</h4> + <ul> + <li><a href="#terms">Terms</a></li> + <li><a href="#privacy">Privacy</a></li> + <li><a href="#disclosures">Disclosures</a></li> + </ul> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..a31d4d0 --- /dev/null +++ b/index.scroll @@ -0,0 +1,12 @@ +buildHtml +baseUrl https://structura.scroll.pub +metaTags + description Learn and invest in structured products - Your gateway to sophisticated investing made simple + keywords structured products, investing, financial education, fintech, investment products + author Structura + viewport width=device-width, initial-scale=1.0 +editButton /edit.html +title Structura - Smart Structured Product Investing +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..5737446 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01XMpvJb2CoQ8YLv6HqMxKvc", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll create a fintech website focused on structured products education and investment. For the domain, I suggest:\n\n---domain---\nstructura.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://structura.scroll.pub\nmetaTags\n description Learn and invest in structured products - Your gateway to sophisticated investing made simple\n keywords structured products, investing, financial education, fintech, investment products\n author Structura\n viewport width=device-width, initial-scale=1.0\neditButton /edit.html\ntitle Structura - Smart Structured Product Investing\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">Structura</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=\"#products\">Products</a></li>\n <li><a href=\"#learn\">Learn</a></li>\n <li><a href=\"#invest\">Invest</a></li>\n <li><a href=\"#account\" class=\"cta-button\">Get Started</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <div class=\"hero-content\">\n <h1>Sophisticated Investing Made Simple</h1>\n <p>Access institutional-grade structured products with lower minimums and full transparency</p>\n <a href=\"#invest\" class=\"primary-button\">Start Investing</a>\n <a href=\"#learn\" class=\"secondary-button\">Learn More</a>\n </div>\n <div class=\"hero-animation\"></div>\n </section>\n\n <section id=\"products\" class=\"products\">\n <h2>Our Product Range</h2>\n <div class=\"product-grid\">\n <article class=\"product-card\">\n <div class=\"card-icon\">📈</div>\n <h3>Capital Protected Notes</h3>\n <p>Protect your principal while participating in market upside</p>\n </article>\n <article class=\"product-card\">\n <div class=\"card-icon\">🎯</div>\n <h3>Yield Enhancement</h3>\n <p>Generate enhanced yields in sideways markets</p>\n </article>\n <article class=\"product-card\">\n <div class=\"card-icon\">🔄</div>\n <h3>Autocallables</h3>\n <p>Benefit from early redemption opportunities</p>\n </article>\n </div>\n </section>\n\n <section id=\"learn\" class=\"education\">\n <h2>Learn Structured Products</h2>\n <div class=\"education-grid\">\n <article class=\"education-card\">\n <h3>Interactive Courses</h3>\n <p>Master the basics through our guided learning paths</p>\n <a href=\"#courses\" class=\"learn-more\">Explore Courses</a>\n </article>\n <article class=\"education-card\">\n <h3>Product Library</h3>\n <p>Detailed explanations of different product types</p>\n <a href=\"#library\" class=\"learn-more\">Browse Library</a>\n </article>\n </div>\n </section>\n\n <section class=\"cta\">\n <h2>Ready to Start?</h2>\n <p>Join thousands of investors already using Structura</p>\n <a href=\"#account\" class=\"primary-button\">Open Account</a>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-section\">\n <h4>About</h4>\n <ul>\n <li><a href=\"#about\">About Us</a></li>\n <li><a href=\"#careers\">Careers</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n </ul>\n </div>\n <div class=\"footer-section\">\n <h4>Legal</h4>\n <ul>\n <li><a href=\"#terms\">Terms</a></li>\n <li><a href=\"#privacy\">Privacy</a></li>\n <li><a href=\"#disclosures\">Disclosures</a></li>\n </ul>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #2563eb;\n --secondary-color: #1e40af;\n --background-color: #ffffff;\n --text-color: #1f2937;\n --accent-color: #dbeafe;\n --spacing-unit: 1rem;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: system-ui, -apple-system, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n}\n\n/* Header & Navigation */\nheader {\n position: fixed;\n width: 100%;\n background: rgba(255, 255, 255, 0.95);\n backdrop-filter: blur(10px);\n z-index: 1000;\n box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);\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.5rem;\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 font-weight: 500;\n transition: color 0.3s ease;\n}\n\n.nav-links a:hover {\n color: var(--primary-color);\n}\n\n.cta-button {\n background: var(--primary-color);\n color: white !important;\n padding: 0.5rem 1rem;\n border-radius: 0.5rem;\n transition: background-color 0.3s ease;\n}\n\n.cta-button:hover {\n background: var(--secondary-color);\n}\n\n/* Hero Section */\n.hero {\n min-height: 100vh;\n display: flex;\n align-items: center;\n padding: 6rem 2rem 2rem;\n background: linear-gradient(135deg, var(--accent-color) 0%, white 100%);\n}\n\n.hero-content {\n max-width: 600px;\n margin: 0 auto;\n}\n\n.hero h1 {\n font-size: 3.5rem;\n line-height: 1.2;\n margin-bottom: 1.5rem;\n background: linear-gradient(to right, var(--primary-color), var(--secondary-color));\n -webkit-background-clip: text;\n color: transparent;\n}\n\n/* Buttons */\n.primary-button, .secondary-button {\n display: inline-block;\n padding: 1rem 2rem;\n border-radius: 0.5rem;\n text-decoration: none;\n font-weight: 600;\n transition: transform 0.3s ease;\n margin: 0.5rem;\n}\n\n.primary-button {\n background: var(--primary-color);\n color: white;\n}\n\n.secondary-button {\n background: var(--accent-color);\n color: var(--primary-color);\n}\n\n.primary-button:hover, .secondary-button:hover {\n transform: translateY(-2px);\n}\n\n/* Product Cards */\n.products {\n padding: 4rem 2rem;\n}\n\n.product-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.product-card {\n background: white;\n padding: 2rem;\n border-radius: 1rem;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);\n transition: transform 0.3s ease;\n}\n\n.product-card:hover {\n transform: translateY(-5px);\n}\n\n.card-icon {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n/* Education Section */\n.education {\n background: var(--accent-color);\n padding: 4rem 2rem;\n}\n\n.education-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.education-card {\n background: white;\n padding: 2rem;\n border-radius: 1rem;\n box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);\n}\n\n/* CTA Section */\n.cta {\n text-align: center;\n padding: 4rem 2rem;\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n color: white;\n}\n\n/* Footer */\nfooter {\n background: #f8fafc;\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 ul {\n list-style: none;\n margin-top: 1rem;\n}\n\n.footer-section a {\n color: var(--text-color);\n text-decoration: none;\n transition: color 0.3s ease;\n}\n\n.footer-section a:hover {\n color: var(--primary-color);\n}\n\n/* Mobile Responsiveness */\n.mobile-menu {\n display: none;\n flex-direction: column;\n gap: 4px;\n background: none;\n border: none;\n cursor: pointer;\n padding: 4px;\n}\n\n.mobile-menu span {\n width: 25px;\n height: 2px;\n background: var(--text-color);\n transition: 0.3s;\n}\n\n@media (max-width: 768px) {\n .mobile-menu {\n display: flex;\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: white;\n flex-direction: column;\n padding: 1rem;\n text-align: center;\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .hero h1 {\n font-size: 2.5rem;\n }\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 mobileMenu.classList.toggle('active');\n });\n\n // Smooth scrolling for anchor links\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n const target = document.querySelector(this.getAttribute('href'));\n if (target) {\n target.scrollIntoView({\n behavior: 'smooth',\n block: 'start'\n });\n // Close mobile menu if open\n navLinks.classList.remove('active');\n mobileMenu.classList.remove('active');\n }\n });\n });\n\n // Intersection Observer for fade-in animations\n const observerOptions = {\n threshold: 0.1,\n rootMargin: '0px 0px -50px 0px'\n };\n\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('visible');\n observer.unobserve(entry.target);\n }\n });\n }, observerOptions);\n\n // Observe all sections and cards\n document.querySelectorAll('section, .product-card, .education-card').forEach(el => {\n el.style.opacity = '0';\n el.style.transform = 'translateY(20px)';\n el.style.transition = 'opacity 0.6s ease, transform 0.6s ease';\n observer.observe(el);\n });\n});\n\n// Add class for visible elements\ndocument.documentElement.style.setProperty('--visible-opacity', '1');\ndocument.documentElement.style.setProperty('--visible-transform', 'translateY(0)');\n\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 286, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 3368 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..2d29705 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,3 @@ +# structura1.scroll.pub + +website generated by Claude from prompt: a fintech website that offers non professional investors to invest and learn about structured products \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..8b34950 --- /dev/null +++ b/script.js @@ -0,0 +1,54 @@ +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'); + mobileMenu.classList.toggle('active'); + }); + + // Smooth scrolling for anchor links + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + const target = document.querySelector(this.getAttribute('href')); + if (target) { + target.scrollIntoView({ + behavior: 'smooth', + block: 'start' + }); + // Close mobile menu if open + navLinks.classList.remove('active'); + mobileMenu.classList.remove('active'); + } + }); + }); + + // 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'); + observer.unobserve(entry.target); + } + }); + }, observerOptions); + + // Observe all sections and cards + document.querySelectorAll('section, .product-card, .education-card').forEach(el => { + el.style.opacity = '0'; + el.style.transform = 'translateY(20px)'; + el.style.transition = 'opacity 0.6s ease, transform 0.6s ease'; + observer.observe(el); + }); +}); + +// Add class for visible elements +document.documentElement.style.setProperty('--visible-opacity', '1'); +document.documentElement.style.setProperty('--visible-transform', 'translateY(0)'); diff --git a/style.css b/style.css new file mode 100644 index 0000000..5638800 --- /dev/null +++ b/style.css @@ -0,0 +1,253 @@ +:root { + --primary-color: #2563eb; + --secondary-color: #1e40af; + --background-color: #ffffff; + --text-color: #1f2937; + --accent-color: #dbeafe; + --spacing-unit: 1rem; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: system-ui, -apple-system, sans-serif; + line-height: 1.6; + color: var(--text-color); + background-color: var(--background-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: bold; + color: var(--primary-color); +} + +.nav-links { + display: flex; + gap: 2rem; + list-style: none; +} + +.nav-links a { + text-decoration: none; + color: var(--text-color); + font-weight: 500; + transition: color 0.3s ease; +} + +.nav-links a:hover { + color: var(--primary-color); +} + +.cta-button { + background: var(--primary-color); + color: white !important; + padding: 0.5rem 1rem; + border-radius: 0.5rem; + transition: background-color 0.3s ease; +} + +.cta-button:hover { + background: var(--secondary-color); +} + +/* Hero Section */ +.hero { + min-height: 100vh; + display: flex; + align-items: center; + padding: 6rem 2rem 2rem; + background: linear-gradient(135deg, var(--accent-color) 0%, white 100%); +} + +.hero-content { + max-width: 600px; + margin: 0 auto; +} + +.hero h1 { + font-size: 3.5rem; + line-height: 1.2; + margin-bottom: 1.5rem; + background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); + -webkit-background-clip: text; + color: transparent; +} + +/* Buttons */ +.primary-button, .secondary-button { + display: inline-block; + padding: 1rem 2rem; + border-radius: 0.5rem; + text-decoration: none; + font-weight: 600; + transition: transform 0.3s ease; + margin: 0.5rem; +} + +.primary-button { + background: var(--primary-color); + color: white; +} + +.secondary-button { + background: var(--accent-color); + color: var(--primary-color); +} + +.primary-button:hover, .secondary-button:hover { + transform: translateY(-2px); +} + +/* Product Cards */ +.products { + padding: 4rem 2rem; +} + +.product-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); + gap: 2rem; + margin-top: 2rem; +} + +.product-card { + background: white; + padding: 2rem; + border-radius: 1rem; + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); + transition: transform 0.3s ease; +} + +.product-card:hover { + transform: translateY(-5px); +} + +.card-icon { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +/* Education Section */ +.education { + background: var(--accent-color); + padding: 4rem 2rem; +} + +.education-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); + gap: 2rem; + margin-top: 2rem; +} + +.education-card { + background: white; + padding: 2rem; + border-radius: 1rem; + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); +} + +/* CTA Section */ +.cta { + text-align: center; + padding: 4rem 2rem; + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + color: white; +} + +/* Footer */ +footer { + background: #f8fafc; + 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 ul { + list-style: none; + margin-top: 1rem; +} + +.footer-section a { + color: var(--text-color); + text-decoration: none; + transition: color 0.3s ease; +} + +.footer-section a:hover { + color: var(--primary-color); +} + +/* Mobile Responsiveness */ +.mobile-menu { + display: none; + flex-direction: column; + gap: 4px; + background: none; + border: none; + cursor: pointer; + padding: 4px; +} + +.mobile-menu span { + width: 25px; + height: 2px; + background: var(--text-color); + transition: 0.3s; +} + +@media (max-width: 768px) { + .mobile-menu { + display: flex; + } + + .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; + } +}