commit c7f88289527a83bfe7d0ad6f1e0fe62f5d6efa19
Author: root <root@hub.scroll.pub>
Date: 2024-12-28 21:37:06 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..038f8dc
--- /dev/null
+++ b/body.html
@@ -0,0 +1,64 @@
+<header class="header">
+ <nav>
+ <div class="logo">ForexFlow</div>
+ <div class="nav-links">
+ <a href="#features">Features</a>
+ <a href="#about">About</a>
+ <a href="#contact">Contact</a>
+ </div>
+ </nav>
+</header>
+
+<main>
+ <section class="hero">
+ <div class="hero-content">
+ <h1>Master the Currency Markets</h1>
+ <p>Professional forex trading solutions for modern traders</p>
+ <button class="cta-button">Start Trading Now</button>
+ </div>
+ <div class="floating-charts">
+ <div class="chart-card"></div>
+ <div class="chart-card"></div>
+ </div>
+ </section>
+
+ <section id="features" class="features">
+ <h2>Why Choose ForexFlow</h2>
+ <div class="features-grid">
+ <div class="feature-card">
+ <div class="feature-icon">📊</div>
+ <h3>Real-Time Analytics</h3>
+ <p>Advanced charts and market analysis tools</p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">🔒</div>
+ <h3>Secure Trading</h3>
+ <p>Bank-grade security for your investments</p>
+ </div>
+ <div class="feature-card">
+ <div class="feature-icon">📱</div>
+ <h3>Mobile Trading</h3>
+ <p>Trade anywhere, anytime with our mobile platform</p>
+ </div>
+ </div>
+ </section>
+
+ <section id="contact" class="contact">
+ <h2>Start Your Trading Journey</h2>
+ <form id="contactForm" class="contact-form">
+ <input type="text" placeholder="Name" required>
+ <input type="email" placeholder="Email" required>
+ <button type="submit">Get Started</button>
+ </form>
+ </section>
+</main>
+
+<footer>
+ <div class="footer-content">
+ <div class="footer-links">
+ <a href="#terms">Terms</a>
+ <a href="#privacy">Privacy</a>
+ <a href="#support">Support</a>
+ </div>
+ </div>
+</footer>
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..44635bb
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://forexflow.scroll.pub
+metaTags
+editButton /edit.html
+title ForexFlow - Professional Currency Trading Solutions
+style.css
+body.html
+script.js
diff --git a/prompt.json b/prompt.json
new file mode 100644
index 0000000..6cb0bb1
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,20 @@
+{
+ "id": "msg_01UQXPsKumvK9QAYTv8PP2qg",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "I'll create a professional Forex trading landing page. For the domain, I suggest:\n\n---domain---\nforexflow.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://forexflow.scroll.pub\nmetaTags\neditButton /edit.html\ntitle ForexFlow - Professional Currency Trading Solutions\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header class=\"header\">\n <nav>\n <div class=\"logo\">ForexFlow</div>\n <div class=\"nav-links\">\n <a href=\"#features\">Features</a>\n <a href=\"#about\">About</a>\n <a href=\"#contact\">Contact</a>\n </div>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <div class=\"hero-content\">\n <h1>Master the Currency Markets</h1>\n <p>Professional forex trading solutions for modern traders</p>\n <button class=\"cta-button\">Start Trading Now</button>\n </div>\n <div class=\"floating-charts\">\n <div class=\"chart-card\"></div>\n <div class=\"chart-card\"></div>\n </div>\n </section>\n\n <section id=\"features\" class=\"features\">\n <h2>Why Choose ForexFlow</h2>\n <div class=\"features-grid\">\n <div class=\"feature-card\">\n <div class=\"feature-icon\">📊</div>\n <h3>Real-Time Analytics</h3>\n <p>Advanced charts and market analysis tools</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">🔒</div>\n <h3>Secure Trading</h3>\n <p>Bank-grade security for your investments</p>\n </div>\n <div class=\"feature-card\">\n <div class=\"feature-icon\">📱</div>\n <h3>Mobile Trading</h3>\n <p>Trade anywhere, anytime with our mobile platform</p>\n </div>\n </div>\n </section>\n\n <section id=\"contact\" class=\"contact\">\n <h2>Start Your Trading Journey</h2>\n <form id=\"contactForm\" class=\"contact-form\">\n <input type=\"text\" placeholder=\"Name\" required>\n <input type=\"email\" placeholder=\"Email\" required>\n <button type=\"submit\">Get Started</button>\n </form>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-links\">\n <a href=\"#terms\">Terms</a>\n <a href=\"#privacy\">Privacy</a>\n <a href=\"#support\">Support</a>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #2962ff;\n --secondary-color: #0039cb;\n --text-color: #333;\n --bg-color: #ffffff;\n --gradient: linear-gradient(135deg, #2962ff, #0039cb);\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n}\n\n.header {\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 2rem;\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 background: var(--gradient);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.nav-links a {\n margin-left: 2rem;\n text-decoration: none;\n color: var(--text-color);\n transition: color 0.3s ease;\n}\n\n.nav-links a:hover {\n color: var(--primary-color);\n}\n\n.hero {\n min-height: 100vh;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6rem 2rem 2rem;\n position: relative;\n overflow: hidden;\n}\n\n.hero-content {\n text-align: center;\n max-width: 800px;\n z-index: 1;\n}\n\n.hero h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n background: var(--gradient);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.floating-charts {\n position: absolute;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.chart-card {\n position: absolute;\n width: 300px;\n height: 200px;\n background: rgba(255, 255, 255, 0.1);\n border: 1px solid rgba(41, 98, 255, 0.1);\n border-radius: 10px;\n backdrop-filter: blur(5px);\n}\n\n.chart-card:nth-child(1) {\n top: 20%;\n left: 10%;\n transform: rotate(-15deg);\n animation: float 6s ease-in-out infinite;\n}\n\n.chart-card:nth-child(2) {\n bottom: 20%;\n right: 10%;\n transform: rotate(15deg);\n animation: float 8s ease-in-out infinite;\n}\n\n@keyframes float {\n 0%, 100% { transform: translateY(0) rotate(-15deg); }\n 50% { transform: translateY(-20px) rotate(-15deg); }\n}\n\n.cta-button {\n background: var(--gradient);\n color: white;\n border: none;\n padding: 1rem 2rem;\n border-radius: 50px;\n font-size: 1.1rem;\n cursor: pointer;\n transition: transform 0.3s ease;\n margin-top: 2rem;\n}\n\n.cta-button:hover {\n transform: translateY(-2px);\n}\n\n.features {\n padding: 4rem 2rem;\n background: #f8f9fa;\n}\n\n.features h2 {\n text-align: center;\n margin-bottom: 3rem;\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: 0 auto;\n}\n\n.feature-card {\n background: white;\n padding: 2rem;\n border-radius: 10px;\n text-align: center;\n transition: transform 0.3s ease;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\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.contact {\n padding: 4rem 2rem;\n text-align: center;\n}\n\n.contact-form {\n max-width: 500px;\n margin: 2rem auto;\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\n.contact-form input {\n padding: 1rem;\n border: 1px solid #ddd;\n border-radius: 5px;\n font-size: 1rem;\n}\n\nfooter {\n background: #f8f9fa;\n padding: 2rem;\n text-align: center;\n}\n\n.footer-links a {\n margin: 0 1rem;\n color: var(--text-color);\n text-decoration: none;\n}\n\n@media (max-width: 768px) {\n .nav-links {\n display: none;\n }\n \n .hero h1 {\n font-size: 2.5rem;\n }\n \n .floating-charts {\n display: none;\n }\n \n .features-grid {\n grid-template-columns: 1fr;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\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 // Form submission handler\n const form = document.getElementById('contactForm');\n if (form) {\n form.addEventListener('submit', function(e) {\n e.preventDefault();\n const formData = new FormData(form);\n // Add animation to button\n const button = form.querySelector('button');\n button.textContent = 'Thanks!';\n button.style.background = '#4CAF50';\n setTimeout(() => {\n button.textContent = 'Get Started';\n button.style.background = '';\n form.reset();\n }, 2000);\n });\n }\n\n // Parallax effect for floating charts\n window.addEventListener('scroll', function() {\n const charts = document.querySelectorAll('.chart-card');\n const scrolled = window.pageYOffset;\n charts.forEach(chart => {\n const speed = 0.5;\n chart.style.transform = `translateY(${scrolled * speed}px)`;\n });\n });\n});\n\n---end---\n\nThis creates a modern, responsive Forex trading landing page with smooth animations, floating chart elements, and a clean design. The page features:\n\n1. Fixed header with transparent blur effect\n2. Hero section with animated floating charts\n3. Features section with hover animations\n4. Contact form with interactive feedback\n5. Smooth scrolling navigation\n6. Mobile-responsive design\n7. Modern gradient effects\n8. Parallax scrolling effects\n9. Professional typography and spacing\n10. Optimized performance with vanilla JS\n\nThe design uses a blue color scheme that conveys trust and professionalism, with smooth animations and transitions throughout. The layout is clean and focused on conversion, with clear calls-to-action and an easy-to-use contact form."
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 280,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 2758
+ }
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..959d81f
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# forexflow.scroll.pub
+Website generated by Claude from prompt: A landing page 1 page for Forex
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..b252f4d
--- /dev/null
+++ b/script.js
@@ -0,0 +1,39 @@
+document.addEventListener('DOMContentLoaded', function() {
+ // 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'
+ });
+ });
+ });
+
+ // Form submission handler
+ const form = document.getElementById('contactForm');
+ if (form) {
+ form.addEventListener('submit', function(e) {
+ e.preventDefault();
+ const formData = new FormData(form);
+ // Add animation to button
+ const button = form.querySelector('button');
+ button.textContent = 'Thanks!';
+ button.style.background = '#4CAF50';
+ setTimeout(() => {
+ button.textContent = 'Get Started';
+ button.style.background = '';
+ form.reset();
+ }, 2000);
+ });
+ }
+
+ // Parallax effect for floating charts
+ window.addEventListener('scroll', function() {
+ const charts = document.querySelectorAll('.chart-card');
+ const scrolled = window.pageYOffset;
+ charts.forEach(chart => {
+ const speed = 0.5;
+ chart.style.transform = `translateY(${scrolled * speed}px)`;
+ });
+ });
+});
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..07c438d
--- /dev/null
+++ b/style.css
@@ -0,0 +1,218 @@
+:root {
+ --primary-color: #2962ff;
+ --secondary-color: #0039cb;
+ --text-color: #333;
+ --bg-color: #ffffff;
+ --gradient: linear-gradient(135deg, #2962ff, #0039cb);
+}
+
+* {
+ 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 {
+ 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 2rem;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ background: var(--gradient);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+}
+
+.nav-links a {
+ margin-left: 2rem;
+ text-decoration: none;
+ color: var(--text-color);
+ transition: color 0.3s ease;
+}
+
+.nav-links a:hover {
+ color: var(--primary-color);
+}
+
+.hero {
+ min-height: 100vh;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ padding: 6rem 2rem 2rem;
+ position: relative;
+ overflow: hidden;
+}
+
+.hero-content {
+ text-align: center;
+ max-width: 800px;
+ z-index: 1;
+}
+
+.hero h1 {
+ font-size: 3.5rem;
+ margin-bottom: 1rem;
+ background: var(--gradient);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+}
+
+.floating-charts {
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ pointer-events: none;
+}
+
+.chart-card {
+ position: absolute;
+ width: 300px;
+ height: 200px;
+ background: rgba(255, 255, 255, 0.1);
+ border: 1px solid rgba(41, 98, 255, 0.1);
+ border-radius: 10px;
+ backdrop-filter: blur(5px);
+}
+
+.chart-card:nth-child(1) {
+ top: 20%;
+ left: 10%;
+ transform: rotate(-15deg);
+ animation: float 6s ease-in-out infinite;
+}
+
+.chart-card:nth-child(2) {
+ bottom: 20%;
+ right: 10%;
+ transform: rotate(15deg);
+ animation: float 8s ease-in-out infinite;
+}
+
+@keyframes float {
+ 0%, 100% { transform: translateY(0) rotate(-15deg); }
+ 50% { transform: translateY(-20px) rotate(-15deg); }
+}
+
+.cta-button {
+ background: var(--gradient);
+ color: white;
+ border: none;
+ padding: 1rem 2rem;
+ border-radius: 50px;
+ font-size: 1.1rem;
+ cursor: pointer;
+ transition: transform 0.3s ease;
+ margin-top: 2rem;
+}
+
+.cta-button:hover {
+ transform: translateY(-2px);
+}
+
+.features {
+ padding: 4rem 2rem;
+ background: #f8f9fa;
+}
+
+.features h2 {
+ text-align: center;
+ margin-bottom: 3rem;
+}
+
+.features-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ max-width: 1200px;
+ margin: 0 auto;
+}
+
+.feature-card {
+ background: white;
+ padding: 2rem;
+ border-radius: 10px;
+ text-align: center;
+ transition: transform 0.3s ease;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+}
+
+.feature-card:hover {
+ transform: translateY(-5px);
+}
+
+.feature-icon {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+}
+
+.contact {
+ padding: 4rem 2rem;
+ text-align: center;
+}
+
+.contact-form {
+ max-width: 500px;
+ margin: 2rem auto;
+ display: flex;
+ flex-direction: column;
+ gap: 1rem;
+}
+
+.contact-form input {
+ padding: 1rem;
+ border: 1px solid #ddd;
+ border-radius: 5px;
+ font-size: 1rem;
+}
+
+footer {
+ background: #f8f9fa;
+ padding: 2rem;
+ text-align: center;
+}
+
+.footer-links a {
+ margin: 0 1rem;
+ color: var(--text-color);
+ text-decoration: none;
+}
+
+@media (max-width: 768px) {
+ .nav-links {
+ display: none;
+ }
+
+ .hero h1 {
+ font-size: 2.5rem;
+ }
+
+ .floating-charts {
+ display: none;
+ }
+
+ .features-grid {
+ grid-template-columns: 1fr;
+ }
+}