commit b8f189e5102edab85754c9285202850c5b1c5438
Author: root <root@hub.scroll.pub> Date: 2024-12-26 23:38:37 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..6aa128f --- /dev/null +++ b/body.html @@ -0,0 +1,93 @@ +<header> + <nav> + <div class="logo">TradePro<span>Algo</span></div> + <div class="nav-links"> + <a href="#home">Home</a> + <a href="#indicators">Indicators</a> + <a href="#pricing">Pricing</a> + <a href="#contact">Contact</a> + </div> + <button class="mobile-menu" aria-label="Menu">☰</button> + </nav> +</header> + +<main> + <section id="home" class="hero"> + <h1>Professional Trading Indicators</h1> + <p>Advanced algorithms for TradingView that give you the edge</p> + <button class="cta-button">Start Trading</button> + </section> + + <section id="indicators" class="indicators"> + <h2>Our Indicators</h2> + <div class="indicator-grid"> + <div class="indicator-card"> + <div class="indicator-icon">📈</div> + <h3>Smart Trend Detector</h3> + <p>Advanced trend detection using machine learning</p> + </div> + <div class="indicator-card"> + <div class="indicator-icon">🎯</div> + <h3>Volume Flow Pro</h3> + <p>Track smart money movements in real-time</p> + </div> + <div class="indicator-card"> + <div class="indicator-icon">⚡</div> + <h3>Momentum Master</h3> + <p>Catch major market moves early</p> + </div> + </div> + </section> + + <section id="pricing" class="pricing"> + <h2>Subscription Plans</h2> + <div class="pricing-cards"> + <div class="price-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-btn" data-plan="basic">Subscribe</button> + </div> + <div class="price-card featured"> + <h3>Professional</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-btn" data-plan="pro">Subscribe</button> + </div> + </div> + </section> + + <section id="payment" class="payment-modal"> + <div class="payment-content"> + <h3>Choose Payment Method</h3> + <div class="payment-options"> + <button class="payment-btn" data-method="card">Credit Card</button> + <button class="payment-btn" data-method="paypal">PayPal</button> + <button class="payment-btn" data-method="crypto">Crypto</button> + </div> + <button class="close-modal">×</button> + </div> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>Contact Us</h4> + <p>support@tradealgo.scroll.pub</p> + </div> + <div class="footer-section"> + <h4>Quick Links</h4> + <a href="#terms">Terms of Service</a> + <a href="#privacy">Privacy Policy</a> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..92b7460 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://tradealgo.scroll.pub +metaTags +editButton /edit.html +title TradingView Algo Indicators - Professional Trading Solutions +style.css +body.html +script.js diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..9c0f791 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# tradealgo.scroll.pub +Website generated from prompt: Create a Algo / Indicator service provider webpage for tradingview with modern and clean ui, with Gradient theme and multiple payment processing which is 30 days subscription feature \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..d2d6987 --- /dev/null +++ b/script.js @@ -0,0 +1,56 @@ +document.addEventListener('DOMContentLoaded', () => { + // Mobile Menu Toggle + const mobileMenu = document.querySelector('.mobile-menu'); + const navLinks = document.querySelector('.nav-links'); + + mobileMenu?.addEventListener('click', () => { + navLinks.style.display = navLinks.style.display === 'flex' ? 'none' : 'flex'; + }); + + // Smooth Scroll + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + document.querySelector(this.getAttribute('href')).scrollIntoView({ + behavior: 'smooth' + }); + }); + }); + + // Payment Modal + const subscribeButtons = document.querySelectorAll('.subscribe-btn'); + const paymentModal = document.querySelector('.payment-modal'); + const closeModal = document.querySelector('.close-modal'); + + subscribeButtons.forEach(button => { + button.addEventListener('click', () => { + paymentModal.style.display = 'block'; + }); + }); + + closeModal?.addEventListener('click', () => { + paymentModal.style.display = 'none'; + }); + + // Close modal when clicking outside + window.addEventListener('click', (e) => { + if (e.target === paymentModal) { + paymentModal.style.display = 'none'; + } + }); + + // Payment Processing + const paymentButtons = document.querySelectorAll('.payment-btn'); + + paymentButtons.forEach(button => { + button.addEventListener('click', (e) => { + const method = e.target.dataset.method; + processPayment(method); + }); + }); + + function processPayment(method) { + // Simulate payment processing + alert(`Processing ${method} payment... This would connect to a payment gateway in production.`); + } +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..5b3c534 --- /dev/null +++ b/style.css @@ -0,0 +1,173 @@ +:root { + --gradient-primary: linear-gradient(135deg, #2193b0, #6dd5ed); + --gradient-secondary: linear-gradient(135deg, #373B44, #4286f4); + --color-text: #333; + --color-light: #fff; + --color-dark: #1a1a1a; + --radius: 12px; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', system-ui, sans-serif; + line-height: 1.6; + color: var(--color-text); + overflow-x: hidden; +} + +/* Navigation */ +nav { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem 5%; + background: var(--gradient-primary); + position: fixed; + width: 100%; + z-index: 1000; + box-shadow: 0 2px 10px rgba(0,0,0,0.1); +} + +.logo { + font-size: 1.5rem; + font-weight: bold; + color: var(--color-light); +} + +.logo span { + color: #ffeb3b; +} + +.nav-links a { + color: var(--color-light); + text-decoration: none; + margin-left: 2rem; + transition: opacity 0.3s; +} + +.nav-links a:hover { + opacity: 0.8; +} + +/* Hero Section */ +.hero { + min-height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + padding: 2rem; + background: var(--gradient-secondary); + color: var(--color-light); +} + +.hero h1 { + font-size: 3rem; + margin-bottom: 1rem; + background: linear-gradient(to right, #fff, #ffeb3b); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +/* Indicators Section */ +.indicators { + padding: 5rem 2rem; + background: #f8f9fa; +} + +.indicator-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + margin-top: 3rem; +} + +.indicator-card { + background: var(--color-light); + padding: 2rem; + border-radius: var(--radius); + box-shadow: 0 4px 20px rgba(0,0,0,0.1); + transition: transform 0.3s; +} + +.indicator-card:hover { + transform: translateY(-5px); +} + +/* Pricing Section */ +.pricing { + padding: 5rem 2rem; + background: var(--gradient-primary); + color: var(--color-light); +} + +.pricing-cards { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); + gap: 2rem; + margin-top: 3rem; + max-width: 1200px; + margin-inline: auto; +} + +.price-card { + background: rgba(255,255,255,0.1); + backdrop-filter: blur(10px); + padding: 2rem; + border-radius: var(--radius); + text-align: center; + transition: transform 0.3s; +} + +.price-card.featured { + background: rgba(255,255,255,0.2); + transform: scale(1.05); +} + +.price-card:hover { + transform: translateY(-5px); +} + +/* Payment Modal */ +.payment-modal { + display: none; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0,0,0,0.8); + z-index: 2000; +} + +.payment-content { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + background: var(--color-light); + padding: 2rem; + border-radius: var(--radius); + min-width: 300px; +} + +/* Responsive Design */ +@media (max-width: 768px) { + .nav-links { + display: none; + } + + .mobile-menu { + display: block; + } + + .hero h1 { + font-size: 2rem; + } +}