commit d8488d9bb3c5b629463f480a04a843e67589e3da
Author: root <root@hub.scroll.pub> Date: 2024-12-26 23:35:44 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..724cd37 --- /dev/null +++ b/body.html @@ -0,0 +1,91 @@ +<header> + <nav> + <div class="logo">TradeFlow</div> + <div class="nav-toggle" aria-label="Toggle menu"> + <span></span><span></span><span></span> + </div> + <ul class="nav-links"> + <li><a href="#home">Home</a></li> + <li><a href="#indicators">Indicators</a></li> + <li><a href="#pricing">Pricing</a></li> + <li><a href="#contact">Contact</a></li> + </ul> + </nav> +</header> + +<main> + <section id="home" class="hero"> + <div class="hero-content"> + <h1>Professional Trading Indicators</h1> + <p>Enhance your TradingView experience with our premium technical indicators</p> + <button class="cta-button">Get Started</button> + </div> + </section> + + <section id="indicators" class="indicators"> + <h2>Our Indicators</h2> + <div class="indicator-grid"> + <div class="indicator-card"> + <div class="indicator-icon">📈</div> + <h3>Momentum Flow</h3> + <p>Advanced momentum indicator with smart signal detection</p> + <button class="preview-button">Preview</button> + </div> + <div class="indicator-card"> + <div class="indicator-icon">🎯</div> + <h3>Smart Pivot</h3> + <p>Dynamic pivot points with AI-powered support/resistance</p> + <button class="preview-button">Preview</button> + </div> + <div class="indicator-card"> + <div class="indicator-icon">⚡</div> + <h3>Volume Profile Pro</h3> + <p>Enhanced volume profile with real-time market analysis</p> + <button class="preview-button">Preview</button> + </div> + </div> + </section> + + <section id="pricing" class="pricing"> + <h2>Pricing Plans</h2> + <div class="pricing-grid"> + <div class="pricing-card"> + <h3>Basic</h3> + <div class="price">$29<span>/month</span></div> + <ul> + <li>2 Basic Indicators</li> + <li>Email Support</li> + <li>Basic Updates</li> + </ul> + <button class="subscribe-button">Subscribe</button> + </div> + <div class="pricing-card featured"> + <h3>Pro</h3> + <div class="price">$49<span>/month</span></div> + <ul> + <li>All Indicators</li> + <li>Priority Support</li> + <li>Regular Updates</li> + </ul> + <button class="subscribe-button">Subscribe</button> + </div> + </div> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>TradeFlow</h4> + <p>Premium indicators for successful traders</p> + </div> + <div class="footer-section"> + <h4>Quick Links</h4> + <ul> + <li><a href="#home">Home</a></li> + <li><a href="#indicators">Indicators</a></li> + <li><a href="#pricing">Pricing</a></li> + </ul> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..f53f5ab --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://tradeflow.scroll.pub +metaTags +editButton /edit.html +title TradeFlow - Premium Trading Indicators +style.css +body.html +script.js diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..f85e4a3 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# tradeflow.scroll.pub +Website generated from prompt: copy of indicator service provider for tradingview with modern and clean ui \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..0280566 --- /dev/null +++ b/script.js @@ -0,0 +1,57 @@ +document.addEventListener('DOMContentLoaded', () => { + // Mobile Navigation Toggle + const navToggle = document.querySelector('.nav-toggle'); + const navLinks = document.querySelector('.nav-links'); + + navToggle.addEventListener('click', () => { + navLinks.classList.toggle('active'); + navToggle.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' + }); + } + }); + }); + + // Intersection Observer for Scroll Animations + const observerOptions = { + threshold: 0.1 + }; + + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.classList.add('animate'); + } + }); + }, observerOptions); + + document.querySelectorAll('.indicator-card, .pricing-card').forEach(el => { + observer.observe(el); + }); + + // Preview Button Click Handler + document.querySelectorAll('.preview-button').forEach(button => { + button.addEventListener('click', function() { + const indicatorName = this.parentElement.querySelector('h3').textContent; + alert(`Preview of ${indicatorName} coming soon!`); + }); + }); + + // Subscribe Button Click Handler + document.querySelectorAll('.subscribe-button').forEach(button => { + button.addEventListener('click', function() { + const planName = this.parentElement.querySelector('h3').textContent; + alert(`Thanks for your interest in the ${planName} plan! Subscription feature coming soon.`); + }); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..31dc580 --- /dev/null +++ b/style.css @@ -0,0 +1,256 @@ +:root { + --primary-color: #2962ff; + --secondary-color: #0039cb; + --background-color: #f8f9fa; + --text-color: #2c3e50; + --card-shadow: 0 8px 30px rgba(0,0,0,0.12); +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; + line-height: 1.6; + color: var(--text-color); + background-color: var(--background-color); +} + +/* Navigation */ +nav { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem 5%; + background: white; + box-shadow: 0 2px 10px rgba(0,0,0,0.1); + position: fixed; + width: 100%; + z-index: 1000; +} + +.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); + font-weight: 500; + transition: color 0.3s ease; +} + +.nav-links a:hover { + color: var(--primary-color); +} + +/* Hero Section */ +.hero { + height: 100vh; + display: flex; + align-items: center; + justify-content: center; + text-align: center; + background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); +} + +.hero-content { + max-width: 800px; + padding: 2rem; +} + +.hero 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; +} + +/* Indicators Section */ +.indicators { + padding: 5rem 5%; +} + +.indicator-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: 2rem; + margin-top: 3rem; +} + +.indicator-card { + background: white; + padding: 2rem; + border-radius: 1rem; + box-shadow: var(--card-shadow); + transition: transform 0.3s ease; +} + +.indicator-card:hover { + transform: translateY(-5px); +} + +.indicator-icon { + font-size: 2.5rem; + margin-bottom: 1rem; +} + +/* Pricing Section */ +.pricing { + padding: 5rem 5%; + background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); +} + +.pricing-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); + gap: 2rem; + margin-top: 3rem; +} + +.pricing-card { + background: white; + padding: 2rem; + border-radius: 1rem; + box-shadow: var(--card-shadow); + text-align: center; +} + +.pricing-card.featured { + transform: scale(1.05); + border: 2px solid var(--primary-color); +} + +.price { + font-size: 2.5rem; + font-weight: bold; + color: var(--primary-color); + margin: 1rem 0; +} + +.price span { + font-size: 1rem; + color: var(--text-color); +} + +/* Buttons */ +button { + padding: 0.8rem 2rem; + border: none; + border-radius: 50px; + font-weight: bold; + cursor: pointer; + transition: all 0.3s ease; +} + +.cta-button { + background: var(--primary-color); + color: white; + font-size: 1.2rem; + margin-top: 2rem; +} + +.cta-button:hover { + background: var(--secondary-color); + transform: translateY(-2px); +} + +.preview-button, .subscribe-button { + background: transparent; + color: var(--primary-color); + border: 2px solid var(--primary-color); + margin-top: 1rem; +} + +.preview-button:hover, .subscribe-button:hover { + background: var(--primary-color); + color: white; +} + +/* Footer */ +footer { + background: white; + padding: 3rem 5%; +} + +.footer-content { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 2rem; +} + +.footer-section h4 { + margin-bottom: 1rem; + color: var(--primary-color); +} + +.footer-section ul { + list-style: none; +} + +.footer-section a { + text-decoration: none; + color: var(--text-color); + transition: color 0.3s ease; +} + +.footer-section a:hover { + color: var(--primary-color); +} + +/* Mobile Responsiveness */ +.nav-toggle { + display: none; + flex-direction: column; + gap: 5px; + cursor: pointer; +} + +.nav-toggle span { + width: 25px; + height: 3px; + background: var(--text-color); + transition: all 0.3s ease; +} + +@media (max-width: 768px) { + .nav-toggle { + display: flex; + } + + .nav-links { + display: none; + position: absolute; + top: 100%; + left: 0; + width: 100%; + background: white; + flex-direction: column; + padding: 1rem; + text-align: center; + } + + .nav-links.active { + display: flex; + } + + .hero h1 { + font-size: 2.5rem; + } + + .pricing-card.featured { + transform: none; + } +}