commit 2f243a046930f82efbf7a79b5417a2d08ee74f92
Author: root <root@hub.scroll.pub> Date: 2024-12-27 18:11:36 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..25fe391 --- /dev/null +++ b/body.html @@ -0,0 +1,72 @@ +<header> + <nav> + <ul> + <li><a href="#gaming">Gaming</a></li> + <li><a href="#cooking">Cooking</a></li> + <li><a href="#testimonials">Testimonials</a></li> + </ul> + </nav> +</header> + +<main> + <section class="hero"> + <div class="hero-content"> + <h1>Thomas</h1> + <p class="tagline">Where Warcraft 3 Mastery Meets Italian Culinary Excellence</p> + </div> + </section> + + <section id="gaming" class="section-gaming"> + <h2>Unrivaled Warcraft 3 Skills</h2> + <div class="achievements"> + <div class="achievement-card"> + <h3>10,000+</h3> + <p>Competitive Matches Won</p> + </div> + <div class="achievement-card"> + <h3>99.8%</h3> + <p>Win Rate</p> + </div> + <div class="achievement-card"> + <h3>#1</h3> + <p>Global Ranking</p> + </div> + </div> + </section> + + <section id="cooking" class="section-cooking"> + <h2>Authentic Italian Cuisine</h2> + <div class="specialties"> + <div class="specialty-card"> + <h3>Handmade Pasta</h3> + <p>Crafted with traditional techniques</p> + </div> + <div class="specialty-card"> + <h3>Perfect Risotto</h3> + <p>Creamy, rich, authentic</p> + </div> + <div class="specialty-card"> + <h3>Classic Tiramisu</h3> + <p>Family recipe perfected</p> + </div> + </div> + </section> + + <section id="testimonials" class="section-testimonials"> + <h2>What Others Say</h2> + <div class="testimonial-container"> + <div class="testimonial"> + <p>"Thomas's micro control is absolutely insane. Never seen anything like it!"</p> + <cite>- Pro Warcraft Player</cite> + </div> + <div class="testimonial"> + <p>"His carbonara changed my life. It's like eating in Rome!"</p> + <cite>- Italian Food Critic</cite> + </div> + </div> + </section> +</main> + +<footer> + <p>Contact Thomas for Warcraft 3 coaching or Italian cooking classes</p> +</footer> diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..e2bbfe4 --- /dev/null +++ b/index.scroll @@ -0,0 +1,10 @@ +buildHtml +baseUrl https://thomas-wc3chef.scroll.pub +metaTags + description Thomas - The ultimate Warcraft 3 player who also creates authentic Italian masterpieces in the kitchen + keywords Warcraft 3, Italian cuisine, gaming, cooking, esports, pasta, Thomas +editButton /edit.html +title Thomas: Warcraft 3 Champion & Italian Chef Extraordinaire +style.css +body.html +script.js diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..5282f2c --- /dev/null +++ b/prompt.json @@ -0,0 +1,20 @@ +{ + "id": "msg_01WZtwtmj5rH7o2qesuYFoi9", + "type": "message", + "role": "assistant", + "model": "claude-3-5-sonnet-20241022", + "content": [ + { + "type": "text", + "text": "I'll create a website that showcases Thomas's dual mastery of Warcraft 3 and Italian cuisine. For the domain, I suggest:\n\n---domain---\nthomas-wc3chef.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://thomas-wc3chef.scroll.pub\nmetaTags\n description Thomas - The ultimate Warcraft 3 player who also creates authentic Italian masterpieces in the kitchen\n keywords Warcraft 3, Italian cuisine, gaming, cooking, esports, pasta, Thomas\neditButton /edit.html\ntitle Thomas: Warcraft 3 Champion & Italian Chef Extraordinaire\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav>\n <ul>\n <li><a href=\"#gaming\">Gaming</a></li>\n <li><a href=\"#cooking\">Cooking</a></li>\n <li><a href=\"#testimonials\">Testimonials</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <div class=\"hero-content\">\n <h1>Thomas</h1>\n <p class=\"tagline\">Where Warcraft 3 Mastery Meets Italian Culinary Excellence</p>\n </div>\n </section>\n\n <section id=\"gaming\" class=\"section-gaming\">\n <h2>Unrivaled Warcraft 3 Skills</h2>\n <div class=\"achievements\">\n <div class=\"achievement-card\">\n <h3>10,000+</h3>\n <p>Competitive Matches Won</p>\n </div>\n <div class=\"achievement-card\">\n <h3>99.8%</h3>\n <p>Win Rate</p>\n </div>\n <div class=\"achievement-card\">\n <h3>#1</h3>\n <p>Global Ranking</p>\n </div>\n </div>\n </section>\n\n <section id=\"cooking\" class=\"section-cooking\">\n <h2>Authentic Italian Cuisine</h2>\n <div class=\"specialties\">\n <div class=\"specialty-card\">\n <h3>Handmade Pasta</h3>\n <p>Crafted with traditional techniques</p>\n </div>\n <div class=\"specialty-card\">\n <h3>Perfect Risotto</h3>\n <p>Creamy, rich, authentic</p>\n </div>\n <div class=\"specialty-card\">\n <h3>Classic Tiramisu</h3>\n <p>Family recipe perfected</p>\n </div>\n </div>\n </section>\n\n <section id=\"testimonials\" class=\"section-testimonials\">\n <h2>What Others Say</h2>\n <div class=\"testimonial-container\">\n <div class=\"testimonial\">\n <p>\"Thomas's micro control is absolutely insane. Never seen anything like it!\"</p>\n <cite>- Pro Warcraft Player</cite>\n </div>\n <div class=\"testimonial\">\n <p>\"His carbonara changed my life. It's like eating in Rome!\"</p>\n <cite>- Italian Food Critic</cite>\n </div>\n </div>\n </section>\n</main>\n\n<footer>\n <p>Contact Thomas for Warcraft 3 coaching or Italian cooking classes</p>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #2c3e50;\n --accent-color: #e74c3c;\n --text-light: #ecf0f1;\n --text-dark: #2c3e50;\n --spacing: 2rem;\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-dark);\n}\n\nheader {\n position: fixed;\n width: 100%;\n background: rgba(44, 62, 80, 0.95);\n z-index: 1000;\n backdrop-filter: blur(10px);\n}\n\nnav ul {\n display: flex;\n justify-content: center;\n list-style: none;\n padding: 1rem;\n}\n\nnav a {\n color: var(--text-light);\n text-decoration: none;\n padding: 0.5rem 1.5rem;\n margin: 0 1rem;\n border-radius: 4px;\n transition: background-color 0.3s;\n}\n\nnav a:hover {\n background-color: var(--accent-color);\n}\n\n.hero {\n height: 100vh;\n background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n color: var(--text-light);\n}\n\n.hero-content {\n padding: var(--spacing);\n}\n\nh1 {\n font-size: 4rem;\n margin-bottom: 1rem;\n letter-spacing: 2px;\n}\n\n.tagline {\n font-size: 1.5rem;\n opacity: 0.9;\n}\n\nsection {\n padding: calc(var(--spacing) * 3) var(--spacing);\n}\n\nh2 {\n text-align: center;\n margin-bottom: var(--spacing);\n color: var(--primary-color);\n}\n\n.achievements, .specialties {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: var(--spacing);\n padding: var(--spacing);\n}\n\n.achievement-card, .specialty-card {\n background: white;\n padding: var(--spacing);\n border-radius: 8px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n text-align: center;\n transition: transform 0.3s;\n}\n\n.achievement-card:hover, .specialty-card:hover {\n transform: translateY(-5px);\n}\n\n.section-gaming {\n background-color: #f8f9fa;\n}\n\n.section-cooking {\n background: linear-gradient(45deg, #fff1eb 0%, #ace0f9 100%);\n}\n\n.testimonial-container {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: var(--spacing);\n padding: var(--spacing);\n}\n\n.testimonial {\n background: white;\n padding: var(--spacing);\n border-radius: 8px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.testimonial cite {\n display: block;\n margin-top: 1rem;\n color: var(--accent-color);\n}\n\nfooter {\n background: var(--primary-color);\n color: var(--text-light);\n text-align: center;\n padding: var(--spacing);\n}\n\n@media (max-width: 768px) {\n h1 {\n font-size: 2.5rem;\n }\n \n .tagline {\n font-size: 1.2rem;\n }\n \n nav ul {\n flex-direction: column;\n align-items: center;\n }\n \n nav a {\n margin: 0.5rem 0;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Smooth scrolling for navigation links\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 const headerOffset = 70;\n const elementPosition = target.getBoundingClientRect().top;\n const offsetPosition = elementPosition + window.pageYOffset - headerOffset;\n\n window.scrollTo({\n top: offsetPosition,\n behavior: 'smooth'\n });\n });\n });\n\n // Intersection Observer for fade-in animations\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.style.opacity = '1';\n entry.target.style.transform = 'translateY(0)';\n }\n });\n }, { threshold: 0.1 });\n\n document.querySelectorAll('.achievement-card, .specialty-card, .testimonial').forEach(el => {\n el.style.opacity = '0';\n el.style.transform = 'translateY(20px)';\n el.style.transition = 'opacity 0.6s ease-out, transform 0.6s ease-out';\n observer.observe(el);\n });\n});\n\n---end---\n\nThis website features:\n- Clean, semantic HTML5 structure\n- Modern, responsive design with CSS Grid and Flexbox\n- Smooth scrolling navigation\n- Intersection Observer for scroll animations\n- Beautiful gradients and subtle animations\n- Card-based layout for achievements and specialties\n- Mobile-first approach\n- Accessible navigation and structure\n- Optimized performance with minimal JavaScript\n- Clear visual hierarchy and typography\n- Subtle shadows and hover effects\n- Professional color scheme\n- Proper meta tags for SEO\n\nThe design maintains a perfect balance between gaming and culinary themes while keeping a professional appearance. The smooth animations and transitions create an engaging user experience without compromising performance." + } + ], + "stop_reason": "end_turn", + "stop_sequence": null, + "usage": { + "input_tokens": 307, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "output_tokens": 2457 + } +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..f852900 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# thomas-wc3chef.scroll.pub +Website generated by Claude from prompt: I want a website that convinces visitors of the fact that a guy named Thomas is the most skilled Warcraft 3 player in the universe and can cook the best Italian meals. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..b7b65fa --- /dev/null +++ b/script.js @@ -0,0 +1,34 @@ +document.addEventListener('DOMContentLoaded', () => { + // Smooth scrolling for navigation links + document.querySelectorAll('a[href^="#"]').forEach(anchor => { + anchor.addEventListener('click', function (e) { + e.preventDefault(); + const target = document.querySelector(this.getAttribute('href')); + const headerOffset = 70; + const elementPosition = target.getBoundingClientRect().top; + const offsetPosition = elementPosition + window.pageYOffset - headerOffset; + + window.scrollTo({ + top: offsetPosition, + behavior: 'smooth' + }); + }); + }); + + // Intersection Observer for fade-in animations + const observer = new IntersectionObserver((entries) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.style.opacity = '1'; + entry.target.style.transform = 'translateY(0)'; + } + }); + }, { threshold: 0.1 }); + + document.querySelectorAll('.achievement-card, .specialty-card, .testimonial').forEach(el => { + el.style.opacity = '0'; + el.style.transform = 'translateY(20px)'; + el.style.transition = 'opacity 0.6s ease-out, transform 0.6s ease-out'; + observer.observe(el); + }); +}); diff --git a/style.css b/style.css new file mode 100644 index 0000000..2caf9c1 --- /dev/null +++ b/style.css @@ -0,0 +1,156 @@ +:root { + --primary-color: #2c3e50; + --accent-color: #e74c3c; + --text-light: #ecf0f1; + --text-dark: #2c3e50; + --spacing: 2rem; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Segoe UI', system-ui, sans-serif; + line-height: 1.6; + color: var(--text-dark); +} + +header { + position: fixed; + width: 100%; + background: rgba(44, 62, 80, 0.95); + z-index: 1000; + backdrop-filter: blur(10px); +} + +nav ul { + display: flex; + justify-content: center; + list-style: none; + padding: 1rem; +} + +nav a { + color: var(--text-light); + text-decoration: none; + padding: 0.5rem 1.5rem; + margin: 0 1rem; + border-radius: 4px; + transition: background-color 0.3s; +} + +nav a:hover { + background-color: var(--accent-color); +} + +.hero { + height: 100vh; + background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); + display: flex; + align-items: center; + justify-content: center; + text-align: center; + color: var(--text-light); +} + +.hero-content { + padding: var(--spacing); +} + +h1 { + font-size: 4rem; + margin-bottom: 1rem; + letter-spacing: 2px; +} + +.tagline { + font-size: 1.5rem; + opacity: 0.9; +} + +section { + padding: calc(var(--spacing) * 3) var(--spacing); +} + +h2 { + text-align: center; + margin-bottom: var(--spacing); + color: var(--primary-color); +} + +.achievements, .specialties { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: var(--spacing); + padding: var(--spacing); +} + +.achievement-card, .specialty-card { + background: white; + padding: var(--spacing); + border-radius: 8px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + text-align: center; + transition: transform 0.3s; +} + +.achievement-card:hover, .specialty-card:hover { + transform: translateY(-5px); +} + +.section-gaming { + background-color: #f8f9fa; +} + +.section-cooking { + background: linear-gradient(45deg, #fff1eb 0%, #ace0f9 100%); +} + +.testimonial-container { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); + gap: var(--spacing); + padding: var(--spacing); +} + +.testimonial { + background: white; + padding: var(--spacing); + border-radius: 8px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); +} + +.testimonial cite { + display: block; + margin-top: 1rem; + color: var(--accent-color); +} + +footer { + background: var(--primary-color); + color: var(--text-light); + text-align: center; + padding: var(--spacing); +} + +@media (max-width: 768px) { + h1 { + font-size: 2.5rem; + } + + .tagline { + font-size: 1.2rem; + } + + nav ul { + flex-direction: column; + align-items: center; + } + + nav a { + margin: 0.5rem 0; + } +}