commit 7f51b7dd9415060bc0f6d55a0c2cebf20c243868
Author: root <root@hub.scroll.pub> Date: 2024-12-27 08:07:10 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..dcc51b4 --- /dev/null +++ b/body.html @@ -0,0 +1,90 @@ +<header> + <nav class="navbar"> + <div class="logo">ThemeCraft</div> + <div class="hamburger"> + <span></span> + <span></span> + <span></span> + </div> + <ul class="nav-links"> + <li><a href="#features">Features</a></li> + <li><a href="#demo">Demo</a></li> + <li><a href="#pricing">Pricing</a></li> + <li><a href="#support">Support</a></li> + <li><a href="#buy" class="cta-button">Buy Now</a></li> + </ul> + </nav> +</header> + +<main> + <section class="hero"> + <h1>Elevate Your Website with ThemeCraft</h1> + <p>A modern, blazing-fast WordPress theme for professionals</p> + <div class="hero-buttons"> + <a href="#pricing" class="primary-button">Get Started</a> + <a href="#demo" class="secondary-button">View Demo</a> + </div> + <div class="hero-image"> + <img src="theme-preview.svg" alt="ThemeCraft WordPress Theme Preview"> + </div> + </section> + + <section id="features" class="features"> + <h2>Premium Features</h2> + <div class="feature-grid"> + <div class="feature-card"> + <i class="icon-speed"></i> + <h3>Lightning Fast</h3> + <p>Optimized for maximum performance</p> + </div> + <div class="feature-card"> + <i class="icon-responsive"></i> + <h3>Fully Responsive</h3> + <p>Perfect on all devices</p> + </div> + <div class="feature-card"> + <i class="icon-customizable"></i> + <h3>Customizable</h3> + <p>Easy to modify and adapt</p> + </div> + <div class="feature-card"> + <i class="icon-seo"></i> + <h3>SEO Ready</h3> + <p>Built with SEO best practices</p> + </div> + </div> + </section> + + <section id="pricing" class="pricing"> + <h2>Simple Pricing</h2> + <div class="price-card"> + <h3>ThemeCraft Pro</h3> + <div class="price">$59</div> + <ul class="features-list"> + <li>Lifetime Updates</li> + <li>Premium Support</li> + <li>All Pro Features</li> + <li>Use on Unlimited Sites</li> + </ul> + <a href="#buy" class="buy-button">Purchase Now</a> + </div> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>ThemeCraft</h4> + <p>Premium WordPress themes for professionals.</p> + </div> + <div class="footer-section"> + <h4>Links</h4> + <ul> + <li><a href="#features">Features</a></li> + <li><a href="#demo">Demo</a></li> + <li><a href="#pricing">Pricing</a></li> + <li><a href="#support">Support</a></li> + </ul> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..582972b --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://themecraft.scroll.pub +metaTags +editButton /edit.html +title ThemeCraft - Premium WordPress Theme +style.css +body.html +script.js diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..4f6fcda --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# themecraft.scroll.pub +Website generated by Claude from prompt: create a website that is selling a wordpress theme it should look very nice. do not use react or tailwind. it should be mobile ready (hamburger menu if on narrow screen). it should have a sticky header navbar. include the css in a style tag and javascript in the page as well if needed so there is only 1 file.Loading... \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..37ae6c3 --- /dev/null +++ b/script.js @@ -0,0 +1,33 @@ +document.addEventListener('DOMContentLoaded', () => { + const hamburger = document.querySelector('.hamburger'); + const navLinks = document.querySelector('.nav-links'); + + hamburger.addEventListener('click', () => { + navLinks.classList.toggle('active'); + hamburger.classList.toggle('active'); + }); + + // Close mobile menu when clicking outside + document.addEventListener('click', (e) => { + if (!hamburger.contains(e.target) && !navLinks.contains(e.target)) { + navLinks.classList.remove('active'); + hamburger.classList.remove('active'); + } + }); + + // Smooth scroll 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' + }); + // Close mobile menu after clicking + navLinks.classList.remove('active'); + hamburger.classList.remove('active'); + } + }); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..c709775 --- /dev/null +++ b/style.css @@ -0,0 +1,205 @@ +:root { + --primary: #4A90E2; + --secondary: #2C3E50; + --accent: #E74C3C; + --text: #333333; + --light: #F5F6FA; + --transition: all 0.3s ease; +} + +* { + 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); +} + +.navbar { + position: fixed; + top: 0; + width: 100%; + background: rgba(255, 255, 255, 0.95); + backdrop-filter: blur(10px); + padding: 1rem 2rem; + display: flex; + justify-content: space-between; + align-items: center; + z-index: 1000; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); +} + +.logo { + font-size: 1.5rem; + font-weight: bold; + color: var(--primary); +} + +.nav-links { + display: flex; + gap: 2rem; + list-style: none; +} + +.nav-links a { + text-decoration: none; + color: var(--text); + transition: var(--transition); +} + +.nav-links a:hover { + color: var(--primary); +} + +.cta-button { + background: var(--primary); + color: white !important; + padding: 0.5rem 1rem; + border-radius: 5px; +} + +.hamburger { + display: none; + flex-direction: column; + gap: 6px; + cursor: pointer; +} + +.hamburger span { + width: 25px; + height: 2px; + background: var(--text); + transition: var(--transition); +} + +.hero { + padding: 8rem 2rem 4rem; + text-align: center; + background: linear-gradient(135deg, var(--light) 0%, #fff 100%); +} + +.hero h1 { + font-size: 3rem; + margin-bottom: 1rem; + color: var(--secondary); +} + +.hero-buttons { + display: flex; + gap: 1rem; + justify-content: center; + margin: 2rem 0; +} + +.primary-button, .secondary-button { + padding: 1rem 2rem; + border-radius: 5px; + text-decoration: none; + transition: var(--transition); +} + +.primary-button { + background: var(--primary); + color: white; +} + +.secondary-button { + background: transparent; + border: 2px solid var(--primary); + color: var(--primary); +} + +.feature-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + padding: 4rem 2rem; +} + +.feature-card { + padding: 2rem; + text-align: center; + background: white; + border-radius: 10px; + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); + transition: var(--transition); +} + +.feature-card:hover { + transform: translateY(-5px); +} + +.price-card { + max-width: 400px; + margin: 2rem auto; + padding: 2rem; + text-align: center; + background: white; + border-radius: 10px; + box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); +} + +.price { + font-size: 3rem; + color: var(--primary); + margin: 1rem 0; +} + +.features-list { + list-style: none; + margin: 2rem 0; +} + +.buy-button { + display: inline-block; + padding: 1rem 2rem; + background: var(--primary); + color: white; + text-decoration: none; + border-radius: 5px; + transition: var(--transition); +} + +footer { + background: var(--secondary); + color: white; + padding: 4rem 2rem; +} + +.footer-content { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 2rem; + max-width: 1200px; + margin: 0 auto; +} + +@media (max-width: 768px) { + .hamburger { + 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: 2rem; + } +}