commit c3790692aab5f5bb3a0dc25e369737bbf2ab81bb
Author: root <root@hub.scroll.pub> Date: 2025-01-09 04:29:33 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..e473681 --- /dev/null +++ b/body.html @@ -0,0 +1,91 @@ +<header> + <nav class="main-nav"> + <div class="logo">VRGameKit</div> + <button class="mobile-menu" aria-label="Toggle menu"> + <span></span><span></span><span></span> + </button> + <ul class="nav-links"> + <li><a href="#home">Home</a></li> + <li><a href="#resources">Resources</a></li> + <li><a href="#pricing">Pricing</a></li> + <li><a href="#account">My Account</a></li> + </ul> + </nav> +</header> + +<main> + <section id="hero"> + <h1>Premium VR Game Resources</h1> + <p>Access thousands of high-quality VR game assets</p> + <a href="#pricing" class="cta-button">Get Started</a> + </section> + + <section id="pricing" class="membership-plans"> + <h2>Membership Plans</h2> + <div class="plans-container"> + <div class="plan-card"> + <h3>Free</h3> + <p class="price">¥0</p> + <ul> + <li>1 download per day</li> + <li>Basic support</li> + <li>Standard quality</li> + </ul> + <button class="select-plan">Select Plan</button> + </div> + + <div class="plan-card"> + <h3>Monthly</h3> + <p class="price">¥29<span>/month</span></p> + <ul> + <li>15 downloads per day</li> + <li>Priority support</li> + <li>Premium quality</li> + </ul> + <button class="select-plan">Select Plan</button> + </div> + + <div class="plan-card featured"> + <h3>Annual</h3> + <p class="price">¥98<span>/year</span></p> + <ul> + <li>15 downloads per day</li> + <li>Priority support</li> + <li>Premium quality</li> + <li>Save 72%</li> + </ul> + <button class="select-plan">Select Plan</button> + </div> + + <div class="plan-card"> + <h3>Lifetime</h3> + <p class="price">¥168</p> + <ul> + <li>15 downloads per day</li> + <li>Priority support</li> + <li>Premium quality</li> + <li>One-time payment</li> + </ul> + <button class="select-plan">Select Plan</button> + </div> + </div> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>VRGameKit</h4> + <p>Premium VR game resources for developers</p> + </div> + <div class="footer-section"> + <h4>Quick Links</h4> + <ul> + <li><a href="#about">About</a></li> + <li><a href="#contact">Contact</a></li> + <li><a href="#terms">Terms</a></li> + <li><a href="#privacy">Privacy</a></li> + </ul> + </div> + </div> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..b3aeb70 --- /dev/null +++ b/index.scroll @@ -0,0 +1,10 @@ +buildHtml +baseUrl https://vrgamekit.scroll.pub +metaTags + description VR Game Resources Marketplace - Download premium VR game assets, models, and tools + keywords VR games, virtual reality, game assets, 3D models, VR development +editButton /edit.html +title VRGameKit - Premium VR Game Resources +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..830e8e4 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01GMqGcaYxQTr85swr898HLz", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll create a VR game resource marketplace website. For the domain, I suggest:\n\n---domain---\nvrgamekit.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://vrgamekit.scroll.pub\nmetaTags\n description VR Game Resources Marketplace - Download premium VR game assets, models, and tools\n keywords VR games, virtual reality, game assets, 3D models, VR development\neditButton /edit.html\ntitle VRGameKit - Premium VR Game Resources\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav class=\"main-nav\">\n <div class=\"logo\">VRGameKit</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=\"#home\">Home</a></li>\n <li><a href=\"#resources\">Resources</a></li>\n <li><a href=\"#pricing\">Pricing</a></li>\n <li><a href=\"#account\">My Account</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section id=\"hero\">\n <h1>Premium VR Game Resources</h1>\n <p>Access thousands of high-quality VR game assets</p>\n <a href=\"#pricing\" class=\"cta-button\">Get Started</a>\n </section>\n\n <section id=\"pricing\" class=\"membership-plans\">\n <h2>Membership Plans</h2>\n <div class=\"plans-container\">\n <div class=\"plan-card\">\n <h3>Free</h3>\n <p class=\"price\">¥0</p>\n <ul>\n <li>1 download per day</li>\n <li>Basic support</li>\n <li>Standard quality</li>\n </ul>\n <button class=\"select-plan\">Select Plan</button>\n </div>\n\n <div class=\"plan-card\">\n <h3>Monthly</h3>\n <p class=\"price\">¥29<span>/month</span></p>\n <ul>\n <li>15 downloads per day</li>\n <li>Priority support</li>\n <li>Premium quality</li>\n </ul>\n <button class=\"select-plan\">Select Plan</button>\n </div>\n\n <div class=\"plan-card featured\">\n <h3>Annual</h3>\n <p class=\"price\">¥98<span>/year</span></p>\n <ul>\n <li>15 downloads per day</li>\n <li>Priority support</li>\n <li>Premium quality</li>\n <li>Save 72%</li>\n </ul>\n <button class=\"select-plan\">Select Plan</button>\n </div>\n\n <div class=\"plan-card\">\n <h3>Lifetime</h3>\n <p class=\"price\">¥168</p>\n <ul>\n <li>15 downloads per day</li>\n <li>Priority support</li>\n <li>Premium quality</li>\n <li>One-time payment</li>\n </ul>\n <button class=\"select-plan\">Select Plan</button>\n </div>\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-section\">\n <h4>VRGameKit</h4>\n <p>Premium VR game resources for developers</p>\n </div>\n <div class=\"footer-section\">\n <h4>Quick Links</h4>\n <ul>\n <li><a href=\"#about\">About</a></li>\n <li><a href=\"#contact\">Contact</a></li>\n <li><a href=\"#terms\">Terms</a></li>\n <li><a href=\"#privacy\">Privacy</a></li>\n </ul>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #6c63ff;\n --secondary-color: #2c2c54;\n --accent-color: #ff6b6b;\n --background: #f9f9f9;\n --text-color: #333;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n background: var(--background);\n}\n\n.main-nav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1rem 5%;\n background: white;\n box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n position: fixed;\n width: 100%;\n top: 0;\n z-index: 1000;\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 list-style: none;\n gap: 2rem;\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.mobile-menu {\n display: none;\n}\n\n#hero {\n height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n color: white;\n padding: 2rem;\n}\n\n#hero h1 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n animation: fadeInUp 1s ease;\n}\n\n#hero p {\n font-size: 1.5rem;\n margin-bottom: 2rem;\n animation: fadeInUp 1s ease 0.2s;\n opacity: 0;\n animation-fill-mode: forwards;\n}\n\n.cta-button {\n padding: 1rem 2rem;\n background: var(--accent-color);\n color: white;\n text-decoration: none;\n border-radius: 50px;\n font-weight: bold;\n transition: transform 0.3s ease;\n animation: fadeInUp 1s ease 0.4s;\n opacity: 0;\n animation-fill-mode: forwards;\n}\n\n.cta-button:hover {\n transform: translateY(-3px);\n}\n\n.membership-plans {\n padding: 5rem 5%;\n}\n\n.membership-plans h2 {\n text-align: center;\n margin-bottom: 3rem;\n font-size: 2.5rem;\n}\n\n.plans-container {\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.plan-card {\n background: white;\n padding: 2rem;\n border-radius: 15px;\n box-shadow: 0 5px 20px rgba(0,0,0,0.1);\n text-align: center;\n transition: transform 0.3s ease;\n}\n\n.plan-card:hover {\n transform: translateY(-10px);\n}\n\n.featured {\n border: 2px solid var(--primary-color);\n position: relative;\n}\n\n.featured::before {\n content: \"Best Value\";\n position: absolute;\n top: -12px;\n left: 50%;\n transform: translateX(-50%);\n background: var(--primary-color);\n color: white;\n padding: 0.5rem 1rem;\n border-radius: 20px;\n font-size: 0.8rem;\n}\n\n.price {\n font-size: 2.5rem;\n font-weight: bold;\n color: var(--primary-color);\n margin: 1rem 0;\n}\n\n.price span {\n font-size: 1rem;\n color: var(--text-color);\n}\n\n.plan-card ul {\n list-style: none;\n margin: 1.5rem 0;\n}\n\n.plan-card li {\n margin: 0.5rem 0;\n}\n\n.select-plan {\n padding: 0.8rem 1.5rem;\n background: var(--primary-color);\n color: white;\n border: none;\n border-radius: 25px;\n cursor: pointer;\n transition: background 0.3s ease;\n}\n\n.select-plan:hover {\n background: var(--secondary-color);\n}\n\nfooter {\n background: var(--secondary-color);\n color: white;\n padding: 3rem 5%;\n}\n\n.footer-content {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 2rem;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.footer-section h4 {\n margin-bottom: 1rem;\n}\n\n.footer-section ul {\n list-style: none;\n}\n\n.footer-section a {\n color: white;\n text-decoration: none;\n transition: color 0.3s ease;\n}\n\n.footer-section a:hover {\n color: var(--accent-color);\n}\n\n@keyframes fadeInUp {\n from {\n opacity: 0;\n transform: translateY(20px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n@media (max-width: 768px) {\n .mobile-menu {\n display: block;\n background: none;\n border: none;\n cursor: pointer;\n }\n\n .mobile-menu span {\n display: block;\n width: 25px;\n height: 3px;\n background: var(--text-color);\n margin: 5px 0;\n transition: 0.3s;\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 #hero p {\n font-size: 1.2rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\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 const spans = mobileMenu.querySelectorAll('span');\n spans[0].classList.toggle('rotate-45');\n spans[1].classList.toggle('opacity-0');\n spans[2].classList.toggle('rotate-negative-45');\n });\n\n const selectPlanButtons = document.querySelectorAll('.select-plan');\n selectPlanButtons.forEach(button => {\n button.addEventListener('click', () => {\n const plan = button.closest('.plan-card').querySelector('h3').textContent;\n alert(`Thank you for selecting the ${plan} plan! Please log in or create an account to continue.`);\n });\n });\n\n // Smooth scroll for anchor 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 // Add intersection observer for animation\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('animate');\n }\n });\n }, {\n threshold: 0.1\n });\n\n document.querySelectorAll('.plan-card').forEach(card => {\n observer.observe(card);\n });\n});\n\n---end---" + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 347, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 3255 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..ba161e9 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,3 @@ +# vrgamekit.scroll.pub + +website generated by Claude from prompt: I want a VR game resource sales website, #### Membership level - Ordinary user: 1 download limit per day - Monthly member: ¥29/month, 15 downloads per day - Annual member: ¥98/year, 15 downloads per day - Permanent member: ¥168, 15 downloads per day \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..062c1de --- /dev/null +++ b/script.js @@ -0,0 +1,45 @@ +document.addEventListener('DOMContentLoaded', () => { + const mobileMenu = document.querySelector('.mobile-menu'); + const navLinks = document.querySelector('.nav-links'); + + mobileMenu.addEventListener('click', () => { + navLinks.classList.toggle('active'); + const spans = mobileMenu.querySelectorAll('span'); + spans[0].classList.toggle('rotate-45'); + spans[1].classList.toggle('opacity-0'); + spans[2].classList.toggle('rotate-negative-45'); + }); + + const selectPlanButtons = document.querySelectorAll('.select-plan'); + selectPlanButtons.forEach(button => { + button.addEventListener('click', () => { + const plan = button.closest('.plan-card').querySelector('h3').textContent; + alert(`Thank you for selecting the ${plan} plan! Please log in or create an account to continue.`); + }); + }); + + // Smooth scroll for anchor links + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + document.querySelector(this.getAttribute('href')).scrollIntoView({ + behavior: 'smooth' + }); + }); + }); + + // Add intersection observer for animation + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.classList.add('animate'); + } + }); + }, { + threshold: 0.1 + }); + + document.querySelectorAll('.plan-card').forEach(card => { + observer.observe(card); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..215ab7d --- /dev/null +++ b/style.css @@ -0,0 +1,272 @@ +:root { + --primary-color: #6c63ff; + --secondary-color: #2c2c54; + --accent-color: #ff6b6b; + --background: #f9f9f9; + --text-color: #333; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', system-ui, sans-serif; + line-height: 1.6; + color: var(--text-color); + background: var(--background); +} + +.main-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%; + top: 0; + 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); +} + +.mobile-menu { + display: none; +} + +#hero { + height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + text-align: center; + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + color: white; + padding: 2rem; +} + +#hero h1 { + font-size: 3.5rem; + margin-bottom: 1rem; + animation: fadeInUp 1s ease; +} + +#hero p { + font-size: 1.5rem; + margin-bottom: 2rem; + animation: fadeInUp 1s ease 0.2s; + opacity: 0; + animation-fill-mode: forwards; +} + +.cta-button { + padding: 1rem 2rem; + background: var(--accent-color); + color: white; + text-decoration: none; + border-radius: 50px; + font-weight: bold; + transition: transform 0.3s ease; + animation: fadeInUp 1s ease 0.4s; + opacity: 0; + animation-fill-mode: forwards; +} + +.cta-button:hover { + transform: translateY(-3px); +} + +.membership-plans { + padding: 5rem 5%; +} + +.membership-plans h2 { + text-align: center; + margin-bottom: 3rem; + font-size: 2.5rem; +} + +.plans-container { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + max-width: 1200px; + margin: 0 auto; +} + +.plan-card { + background: white; + padding: 2rem; + border-radius: 15px; + box-shadow: 0 5px 20px rgba(0,0,0,0.1); + text-align: center; + transition: transform 0.3s ease; +} + +.plan-card:hover { + transform: translateY(-10px); +} + +.featured { + border: 2px solid var(--primary-color); + position: relative; +} + +.featured::before { + content: "Best Value"; + position: absolute; + top: -12px; + left: 50%; + transform: translateX(-50%); + background: var(--primary-color); + color: white; + padding: 0.5rem 1rem; + border-radius: 20px; + font-size: 0.8rem; +} + +.price { + font-size: 2.5rem; + font-weight: bold; + color: var(--primary-color); + margin: 1rem 0; +} + +.price span { + font-size: 1rem; + color: var(--text-color); +} + +.plan-card ul { + list-style: none; + margin: 1.5rem 0; +} + +.plan-card li { + margin: 0.5rem 0; +} + +.select-plan { + padding: 0.8rem 1.5rem; + background: var(--primary-color); + color: white; + border: none; + border-radius: 25px; + cursor: pointer; + transition: background 0.3s ease; +} + +.select-plan:hover { + background: var(--secondary-color); +} + +footer { + background: var(--secondary-color); + color: white; + padding: 3rem 5%; +} + +.footer-content { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 2rem; + max-width: 1200px; + margin: 0 auto; +} + +.footer-section h4 { + margin-bottom: 1rem; +} + +.footer-section ul { + list-style: none; +} + +.footer-section a { + color: white; + text-decoration: none; + transition: color 0.3s ease; +} + +.footer-section a:hover { + color: var(--accent-color); +} + +@keyframes fadeInUp { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +@media (max-width: 768px) { + .mobile-menu { + display: block; + background: none; + border: none; + cursor: pointer; + } + + .mobile-menu span { + display: block; + width: 25px; + height: 3px; + background: var(--text-color); + margin: 5px 0; + transition: 0.3s; + } + + .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; + } + + #hero p { + font-size: 1.2rem; + } +}