commit 34f8af406265e24d653b3ac3a23af31ff0753f4d
Author: root <root@hub.scroll.pub> Date: 2024-12-31 04:39:03 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..83bf196 --- /dev/null +++ b/body.html @@ -0,0 +1,98 @@ +<header> + <nav> + <div class="logo">Lucky</div> + <button class="mobile-menu" aria-label="Toggle menu"> + <span></span><span></span><span></span> + </button> + <ul class="nav-links"> + <li><a href="#games">Games</a></li> + <li><a href="#rewards">Rewards</a></li> + <li><a href="#leaderboard">Leaderboard</a></li> + <li><button class="login-btn">Login</button></li> + </ul> + </nav> +</header> + +<main> + <section class="hero"> + <div class="hero-content"> + <h1>Welcome to Lucky</h1> + <p>Where Fortune Favors the Bold</p> + <button class="cta-btn">Play Now</button> + </div> + <div class="floating-cards"> + <div class="card spade"></div> + <div class="card heart"></div> + <div class="card diamond"></div> + <div class="card club"></div> + </div> + </section> + + <section id="games" class="game-modes"> + <h2>Game Modes</h2> + <div class="mode-grid"> + <article class="mode-card"> + <h3>Classic Casino</h3> + <p>Traditional casino experience with slots, poker, and blackjack</p> + </article> + <article class="mode-card"> + <h3>PvP Arena</h3> + <p>Challenge other players in real-time competitive matches</p> + </article> + <article class="mode-card"> + <h3>Freeroll</h3> + <p>Practice your skills with no risk using virtual currency</p> + </article> + </div> + </section> + + <section id="rewards" class="rewards"> + <h2>Live Rewards</h2> + <div class="rewards-ticker"> + <div class="ticker-content"> + <div class="ticker-item"> + <span class="player">Player123</span> + <span class="amount">+$500</span> + </div> + </div> + </div> + </section> + + <section id="leaderboard" class="leaderboard"> + <h2>Top Players</h2> + <div class="leaderboard-table"> + <div class="leader"> + <span class="rank">1</span> + <span class="name">GoldMaster</span> + <span class="score">152,430</span> + </div> + <div class="leader"> + <span class="rank">2</span> + <span class="name">LuckyAce</span> + <span class="score">143,850</span> + </div> + <div class="leader"> + <span class="rank">3</span> + <span class="name">PokerKing</span> + <span class="score">138,720</span> + </div> + </div> + </section> +</main> + +<footer> + <div class="footer-content"> + <div class="footer-section"> + <h4>About Lucky</h4> + <p>Premium gaming experience with secure gameplay and instant rewards</p> + </div> + <div class="footer-section"> + <h4>Quick Links</h4> + <ul> + <li><a href="#terms">Terms</a></li> + <li><a href="#privacy">Privacy</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..59ce9ec --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://lucky.scroll.pub +metaTags +title Lucky Casino - Your Premium Gaming Destination +description Experience premium casino games with secure gameplay, live multiplayer modes, and instant rewards +keywords casino, gaming, multiplayer, rewards, gambling, slots +author Lucky Casino +editButton /edit.html diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..c598508 --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01ET1MmyPCYoNRunc5P7fUyr", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "Let me create a casino website with an elegant and engaging design.\n\n---domain---\nlucky.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://lucky.scroll.pub\nmetaTags\ntitle Lucky Casino - Your Premium Gaming Destination\ndescription Experience premium casino games with secure gameplay, live multiplayer modes, and instant rewards\nkeywords casino, gaming, multiplayer, rewards, gambling, slots\nauthor Lucky Casino\neditButton /edit.html\n\n---body.html---\n<header>\n <nav>\n <div class=\"logo\">Lucky</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=\"#games\">Games</a></li>\n <li><a href=\"#rewards\">Rewards</a></li>\n <li><a href=\"#leaderboard\">Leaderboard</a></li>\n <li><button class=\"login-btn\">Login</button></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <div class=\"hero-content\">\n <h1>Welcome to Lucky</h1>\n <p>Where Fortune Favors the Bold</p>\n <button class=\"cta-btn\">Play Now</button>\n </div>\n <div class=\"floating-cards\">\n <div class=\"card spade\"></div>\n <div class=\"card heart\"></div>\n <div class=\"card diamond\"></div>\n <div class=\"card club\"></div>\n </div>\n </section>\n\n <section id=\"games\" class=\"game-modes\">\n <h2>Game Modes</h2>\n <div class=\"mode-grid\">\n <article class=\"mode-card\">\n <h3>Classic Casino</h3>\n <p>Traditional casino experience with slots, poker, and blackjack</p>\n </article>\n <article class=\"mode-card\">\n <h3>PvP Arena</h3>\n <p>Challenge other players in real-time competitive matches</p>\n </article>\n <article class=\"mode-card\">\n <h3>Freeroll</h3>\n <p>Practice your skills with no risk using virtual currency</p>\n </article>\n </div>\n </section>\n\n <section id=\"rewards\" class=\"rewards\">\n <h2>Live Rewards</h2>\n <div class=\"rewards-ticker\">\n <div class=\"ticker-content\">\n <div class=\"ticker-item\">\n <span class=\"player\">Player123</span>\n <span class=\"amount\">+$500</span>\n </div>\n </div>\n </div>\n </section>\n\n <section id=\"leaderboard\" class=\"leaderboard\">\n <h2>Top Players</h2>\n <div class=\"leaderboard-table\">\n <div class=\"leader\">\n <span class=\"rank\">1</span>\n <span class=\"name\">GoldMaster</span>\n <span class=\"score\">152,430</span>\n </div>\n <div class=\"leader\">\n <span class=\"rank\">2</span>\n <span class=\"name\">LuckyAce</span>\n <span class=\"score\">143,850</span>\n </div>\n <div class=\"leader\">\n <span class=\"rank\">3</span>\n <span class=\"name\">PokerKing</span>\n <span class=\"score\">138,720</span>\n </div>\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"footer-section\">\n <h4>About Lucky</h4>\n <p>Premium gaming experience with secure gameplay and instant rewards</p>\n </div>\n <div class=\"footer-section\">\n <h4>Quick Links</h4>\n <ul>\n <li><a href=\"#terms\">Terms</a></li>\n <li><a href=\"#privacy\">Privacy</a></li>\n <li><a href=\"#support\">Support</a></li>\n </ul>\n </div>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary: #2a1b3d;\n --secondary: #44318d;\n --accent: #e98074;\n --text: #ffffff;\n --background: #1a1a2e;\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 background: var(--background);\n color: var(--text);\n line-height: 1.6;\n}\n\n/* Header & Navigation */\nheader {\n position: fixed;\n width: 100%;\n top: 0;\n z-index: 1000;\n background: rgba(42, 27, 61, 0.95);\n backdrop-filter: blur(10px);\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1rem 5%;\n max-width: 1200px;\n margin: 0 auto;\n}\n\n.logo {\n font-size: 2rem;\n font-weight: bold;\n background: linear-gradient(45deg, var(--accent), #f2d388);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.nav-links {\n display: flex;\n gap: 2rem;\n list-style: none;\n}\n\n.nav-links a {\n color: var(--text);\n text-decoration: none;\n transition: color 0.3s;\n}\n\n.nav-links a:hover {\n color: var(--accent);\n}\n\n.login-btn {\n background: var(--accent);\n color: var(--primary);\n border: none;\n padding: 0.5rem 1.5rem;\n border-radius: 25px;\n cursor: pointer;\n transition: transform 0.3s;\n}\n\n.login-btn:hover {\n transform: translateY(-2px);\n}\n\n/* Hero Section */\n.hero {\n height: 100vh;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n overflow: hidden;\n}\n\n.hero-content {\n text-align: center;\n z-index: 2;\n}\n\n.hero h1 {\n font-size: 4rem;\n margin-bottom: 1rem;\n animation: fadeInUp 1s ease-out;\n}\n\n.hero p {\n font-size: 1.5rem;\n margin-bottom: 2rem;\n animation: fadeInUp 1s ease-out 0.3s backwards;\n}\n\n.cta-btn {\n background: linear-gradient(45deg, var(--accent), #f2d388);\n border: none;\n padding: 1rem 3rem;\n border-radius: 30px;\n font-size: 1.2rem;\n cursor: pointer;\n transition: transform 0.3s;\n animation: fadeInUp 1s ease-out 0.6s backwards;\n}\n\n.cta-btn:hover {\n transform: translateY(-3px);\n}\n\n/* Floating Cards Animation */\n.floating-cards {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n\n.card {\n position: absolute;\n width: 100px;\n height: 140px;\n background: rgba(255, 255, 255, 0.1);\n border-radius: 10px;\n animation: float 15s infinite linear;\n}\n\n.card.spade { top: 20%; left: 20%; animation-delay: 0s; }\n.card.heart { top: 60%; left: 70%; animation-delay: -3s; }\n.card.diamond { top: 30%; left: 80%; animation-delay: -6s; }\n.card.club { top: 70%; left: 30%; animation-delay: -9s; }\n\n/* Game Modes */\n.game-modes {\n padding: 5rem 5%;\n background: var(--primary);\n}\n\n.mode-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.mode-card {\n background: rgba(255, 255, 255, 0.05);\n padding: 2rem;\n border-radius: 15px;\n transition: transform 0.3s;\n}\n\n.mode-card:hover {\n transform: translateY(-10px);\n}\n\n/* Animations */\n@keyframes float {\n 0% { transform: rotate(0deg) translate(0, 0); }\n 50% { transform: rotate(180deg) translate(100px, 100px); }\n 100% { transform: rotate(360deg) translate(0, 0); }\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/* Mobile Responsiveness */\n.mobile-menu {\n display: none;\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);\n margin: 5px 0;\n transition: 0.3s;\n }\n\n .nav-links {\n display: none;\n }\n\n .nav-links.active {\n display: flex;\n flex-direction: column;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: var(--primary);\n padding: 1rem;\n }\n\n .hero h1 {\n font-size: 2.5rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile Menu Toggle\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 });\n\n // Smooth Scroll\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n const target = document.querySelector(this.getAttribute('href'));\n if (target) {\n target.scrollIntoView({\n behavior: 'smooth'\n });\n }\n });\n });\n\n // Live Rewards Ticker\n const tickerContent = document.querySelector('.ticker-content');\n const rewards = [\n { player: 'Lucky777', amount: '+$1,200' },\n { player: 'VegasKing', amount: '+$800' },\n { player: 'AceHigh', amount: '+$650' },\n { player: 'RoyalFlush', amount: '+$2,400' }\n ];\n\n let currentIndex = 0;\n\n function updateTicker() {\n if (tickerContent) {\n const reward = rewards[currentIndex];\n const tickerItem = document.createElement('div');\n tickerItem.className = 'ticker-item';\n tickerItem.innerHTML = `\n <span class=\"player\">${reward.player}</span>\n <span class=\"amount\">${reward.amount}</span>\n `;\n\n tickerContent.innerHTML = '';\n tickerContent.appendChild(tickerItem);\n \n currentIndex = (currentIndex + 1) % rewards.length;\n }\n }\n\n setInterval(updateTicker, 3000);\n});\n\n---end---\n\nThis implementation creates a modern, engaging casino website with smooth animations, responsive design, and interactive elements. The color scheme uses deep purples and golden accents to create a premium feel. The site includes floating card animations, a live rewards ticker, and a responsive navigation system.\n\nKey features:\n- Smooth scrolling navigation\n- Animated hero section with floating cards\n- Live rewards ticker with random updates\n- Responsive design with mobile menu\n- Clean, semantic HTML5 structure\n- Accessible navigation and buttons\n- Modern CSS animations and transitions\n- Performance-optimized JavaScript\n\nThe domain \"lucky.scroll.pub\" is memorable and relevant to the casino theme while maintaining professionalism." + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 957, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 3237 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..fccc99e --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# lucky.scroll.pub +Website generated by Claude from prompt: { "root": "casino-nextjs", "structure": { "public": { "favicon.ico": "Default favicon", "images": "Folder for static assets like logos and icons" }, "src": { "app": { "(dark-mode)": { "darkModeToggle.tsx": "Component for toggling dark mode", "themeContext.tsx": "Context provider for managing theme state" }, "(authentication)": { "login.tsx": "Login page", "register.tsx": "Registration page", "dashboard": { "page.tsx": "User dashboard page", "history.tsx": "User game history" } }, "(game-modes)": { "classic.tsx": "Classic casino mode", "pvp.tsx": "Player vs Player mode", "freerolls.tsx": "Free game mode" }, "(monetization)": { "payments.tsx": "Payment integration page", "ads.tsx": "Advertisements management", "bonus.tsx": "Paid bonus system" }, "(engagement)": { "leaderboard.tsx": "Leaderboard display", "socialShare.tsx": "Social media sharing component", "liveGainsCounter.tsx": "Live gains counter" }, "(security)": { "rateLimiting.ts": "Middleware for rate limiting", "antiFraud.ts": "Anti-fraud mechanism", "inputValidation.ts": "Utilities for input validation" }, "layout.tsx": "Application layout", "page.tsx": "Landing page" }, "styles": { "globals.css": "Global CSS for Tailwind", "themes.css": "Styles for themes" }, "utils": { "api.ts": "API handlers", "auth.ts": "Authentication utilities", "db.ts": "Database connection and ORM logic", "security.ts": "Security utilities" }, "components": { "Button.tsx": "Reusable button component", "Slider.tsx": "Custom slider component", "Card.tsx": "Generic card component" }, "middleware.ts": "Custom middleware", "pages": { "_app.tsx": "Application entry point", "_document.tsx": "Custom document", "404.tsx": "Custom 404 page" } }, "prisma": { "schema.prisma": "Database schema for Prisma ORM" }, "tests": { "e2e": "End-to-end tests", "unit": "Unit tests", "integration": "Integration tests" }, "package.json": "Project dependencies and scripts", "tailwind.config.js": "Tailwind CSS configuration", "tsconfig.json": "TypeScript configuration", "next.config.js": "Next.js configuration", "README.md": "Project documentation" } } \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..9f536e9 --- /dev/null +++ b/script.js @@ -0,0 +1,52 @@ +document.addEventListener('DOMContentLoaded', () => { + // Mobile Menu Toggle + const mobileMenu = document.querySelector('.mobile-menu'); + const navLinks = document.querySelector('.nav-links'); + + mobileMenu?.addEventListener('click', () => { + navLinks?.classList.toggle('active'); + }); + + // Smooth Scroll + 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' + }); + } + }); + }); + + // Live Rewards Ticker + const tickerContent = document.querySelector('.ticker-content'); + const rewards = [ + { player: 'Lucky777', amount: '+$1,200' }, + { player: 'VegasKing', amount: '+$800' }, + { player: 'AceHigh', amount: '+$650' }, + { player: 'RoyalFlush', amount: '+$2,400' } + ]; + + let currentIndex = 0; + + function updateTicker() { + if (tickerContent) { + const reward = rewards[currentIndex]; + const tickerItem = document.createElement('div'); + tickerItem.className = 'ticker-item'; + tickerItem.innerHTML = ` + <span class="player">${reward.player}</span> + <span class="amount">${reward.amount}</span> + `; + + tickerContent.innerHTML = ''; + tickerContent.appendChild(tickerItem); + + currentIndex = (currentIndex + 1) % rewards.length; + } + } + + setInterval(updateTicker, 3000); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..101799b --- /dev/null +++ b/style.css @@ -0,0 +1,224 @@ +:root { + --primary: #2a1b3d; + --secondary: #44318d; + --accent: #e98074; + --text: #ffffff; + --background: #1a1a2e; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', system-ui, sans-serif; + background: var(--background); + color: var(--text); + line-height: 1.6; +} + +/* Header & Navigation */ +header { + position: fixed; + width: 100%; + top: 0; + z-index: 1000; + background: rgba(42, 27, 61, 0.95); + backdrop-filter: blur(10px); +} + +nav { + display: flex; + justify-content: space-between; + align-items: center; + padding: 1rem 5%; + max-width: 1200px; + margin: 0 auto; +} + +.logo { + font-size: 2rem; + font-weight: bold; + background: linear-gradient(45deg, var(--accent), #f2d388); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} + +.nav-links { + display: flex; + gap: 2rem; + list-style: none; +} + +.nav-links a { + color: var(--text); + text-decoration: none; + transition: color 0.3s; +} + +.nav-links a:hover { + color: var(--accent); +} + +.login-btn { + background: var(--accent); + color: var(--primary); + border: none; + padding: 0.5rem 1.5rem; + border-radius: 25px; + cursor: pointer; + transition: transform 0.3s; +} + +.login-btn:hover { + transform: translateY(-2px); +} + +/* Hero Section */ +.hero { + height: 100vh; + display: flex; + align-items: center; + justify-content: center; + position: relative; + overflow: hidden; +} + +.hero-content { + text-align: center; + z-index: 2; +} + +.hero h1 { + font-size: 4rem; + margin-bottom: 1rem; + animation: fadeInUp 1s ease-out; +} + +.hero p { + font-size: 1.5rem; + margin-bottom: 2rem; + animation: fadeInUp 1s ease-out 0.3s backwards; +} + +.cta-btn { + background: linear-gradient(45deg, var(--accent), #f2d388); + border: none; + padding: 1rem 3rem; + border-radius: 30px; + font-size: 1.2rem; + cursor: pointer; + transition: transform 0.3s; + animation: fadeInUp 1s ease-out 0.6s backwards; +} + +.cta-btn:hover { + transform: translateY(-3px); +} + +/* Floating Cards Animation */ +.floating-cards { + position: absolute; + width: 100%; + height: 100%; +} + +.card { + position: absolute; + width: 100px; + height: 140px; + background: rgba(255, 255, 255, 0.1); + border-radius: 10px; + animation: float 15s infinite linear; +} + +.card.spade { top: 20%; left: 20%; animation-delay: 0s; } +.card.heart { top: 60%; left: 70%; animation-delay: -3s; } +.card.diamond { top: 30%; left: 80%; animation-delay: -6s; } +.card.club { top: 70%; left: 30%; animation-delay: -9s; } + +/* Game Modes */ +.game-modes { + padding: 5rem 5%; + background: var(--primary); +} + +.mode-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 2rem; + margin-top: 2rem; +} + +.mode-card { + background: rgba(255, 255, 255, 0.05); + padding: 2rem; + border-radius: 15px; + transition: transform 0.3s; +} + +.mode-card:hover { + transform: translateY(-10px); +} + +/* Animations */ +@keyframes float { + 0% { transform: rotate(0deg) translate(0, 0); } + 50% { transform: rotate(180deg) translate(100px, 100px); } + 100% { transform: rotate(360deg) translate(0, 0); } +} + +@keyframes fadeInUp { + from { + opacity: 0; + transform: translateY(20px); + } + to { + opacity: 1; + transform: translateY(0); + } +} + +/* Mobile Responsiveness */ +.mobile-menu { + display: none; +} + +@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); + margin: 5px 0; + transition: 0.3s; + } + + .nav-links { + display: none; + } + + .nav-links.active { + display: flex; + flex-direction: column; + position: absolute; + top: 100%; + left: 0; + right: 0; + background: var(--primary); + padding: 1rem; + } + + .hero h1 { + font-size: 2.5rem; + } +}