commit 49b7d3a878e6a473d71618bc7b8bfcbb31ee699a
Author: root <root@hub.scroll.pub>
Date: 2024-12-27 21:49:10 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..a9e474a
--- /dev/null
+++ b/body.html
@@ -0,0 +1,96 @@
+<header>
+ <nav class="main-nav">
+ <div class="logo">Phoenix Legion</div>
+ <button class="mobile-menu-btn" aria-label="Toggle menu">
+ <span></span><span></span><span></span>
+ </button>
+ <ul class="nav-links">
+ <li><a href="#team">Team</a></li>
+ <li><a href="#matches">Matches</a></li>
+ <li><a href="#achievements">Achievements</a></li>
+ <li><a href="#news">News</a></li>
+ </ul>
+ </nav>
+</header>
+
+<main>
+ <section class="hero">
+ <div class="hero-content">
+ <h1>Phoenix Legion</h1>
+ <p>Rising from the ashes to dominate the Dota 2 competitive scene</p>
+ </div>
+ </section>
+
+ <section id="team" class="team-section">
+ <h2>Our Roster</h2>
+ <div class="player-grid">
+ <article class="player-card">
+ <div class="player-image"></div>
+ <h3>ShadowBlade</h3>
+ <p>Position 1 - Carry</p>
+ </article>
+ <article class="player-card">
+ <div class="player-image"></div>
+ <h3>StormMaster</h3>
+ <p>Position 2 - Mid</p>
+ </article>
+ <article class="player-card">
+ <div class="player-image"></div>
+ <h3>IcePhoenix</h3>
+ <p>Position 3 - Offlane</p>
+ </article>
+ <article class="player-card">
+ <div class="player-image"></div>
+ <h3>EarthSpirit</h3>
+ <p>Position 4 - Support</p>
+ </article>
+ <article class="player-card">
+ <div class="player-image"></div>
+ <h3>OracleSage</h3>
+ <p>Position 5 - Hard Support</p>
+ </article>
+ </div>
+ </section>
+
+ <section id="matches" class="matches-section">
+ <h2>Upcoming Matches</h2>
+ <div class="matches-container">
+ <div class="match-card">
+ <div class="match-date">June 15, 2024</div>
+ <div class="match-teams">
+ <span>Phoenix Legion</span>
+ <span class="vs">VS</span>
+ <span>Team Secret</span>
+ </div>
+ <div class="match-tournament">ESL One Stockholm</div>
+ </div>
+ </div>
+ </section>
+
+ <section id="achievements" class="achievements-section">
+ <h2>Achievements</h2>
+ <div class="achievements-grid">
+ <div class="achievement">
+ <span class="trophy"></span>
+ <h3>ESL One Malaysia</h3>
+ <p>1st Place - 2023</p>
+ </div>
+ <div class="achievement">
+ <span class="trophy"></span>
+ <h3>DreamLeague</h3>
+ <p>2nd Place - 2023</p>
+ </div>
+ </div>
+ </section>
+</main>
+
+<footer>
+ <div class="footer-content">
+ <div class="social-links">
+ <a href="#" aria-label="Twitter">Twitter</a>
+ <a href="#" aria-label="Twitch">Twitch</a>
+ <a href="#" aria-label="Discord">Discord</a>
+ </div>
+ <p>Phoenix Legion - Professional Dota 2 Team</p>
+ </div>
+</footer>
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..a12f4b6
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://phoenixlegion.scroll.pub
+metaTags
+editButton /edit.html
+title Phoenix Legion - Professional Dota 2 Team
+style.css
+body.html
+script.js
diff --git a/prompt.json b/prompt.json
new file mode 100644
index 0000000..fb983f2
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,20 @@
+{
+ "id": "msg_01VQHxhL4B73eUF1TRsSrya4",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "I'll create a website for a fictional Dota 2 esports team called \"Phoenix Legion\".\n\n---domain---\nphoenixlegion.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://phoenixlegion.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Phoenix Legion - Professional Dota 2 Team\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav class=\"main-nav\">\n <div class=\"logo\">Phoenix Legion</div>\n <button class=\"mobile-menu-btn\" aria-label=\"Toggle menu\">\n <span></span><span></span><span></span>\n </button>\n <ul class=\"nav-links\">\n <li><a href=\"#team\">Team</a></li>\n <li><a href=\"#matches\">Matches</a></li>\n <li><a href=\"#achievements\">Achievements</a></li>\n <li><a href=\"#news\">News</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section class=\"hero\">\n <div class=\"hero-content\">\n <h1>Phoenix Legion</h1>\n <p>Rising from the ashes to dominate the Dota 2 competitive scene</p>\n </div>\n </section>\n\n <section id=\"team\" class=\"team-section\">\n <h2>Our Roster</h2>\n <div class=\"player-grid\">\n <article class=\"player-card\">\n <div class=\"player-image\"></div>\n <h3>ShadowBlade</h3>\n <p>Position 1 - Carry</p>\n </article>\n <article class=\"player-card\">\n <div class=\"player-image\"></div>\n <h3>StormMaster</h3>\n <p>Position 2 - Mid</p>\n </article>\n <article class=\"player-card\">\n <div class=\"player-image\"></div>\n <h3>IcePhoenix</h3>\n <p>Position 3 - Offlane</p>\n </article>\n <article class=\"player-card\">\n <div class=\"player-image\"></div>\n <h3>EarthSpirit</h3>\n <p>Position 4 - Support</p>\n </article>\n <article class=\"player-card\">\n <div class=\"player-image\"></div>\n <h3>OracleSage</h3>\n <p>Position 5 - Hard Support</p>\n </article>\n </div>\n </section>\n\n <section id=\"matches\" class=\"matches-section\">\n <h2>Upcoming Matches</h2>\n <div class=\"matches-container\">\n <div class=\"match-card\">\n <div class=\"match-date\">June 15, 2024</div>\n <div class=\"match-teams\">\n <span>Phoenix Legion</span>\n <span class=\"vs\">VS</span>\n <span>Team Secret</span>\n </div>\n <div class=\"match-tournament\">ESL One Stockholm</div>\n </div>\n </div>\n </section>\n\n <section id=\"achievements\" class=\"achievements-section\">\n <h2>Achievements</h2>\n <div class=\"achievements-grid\">\n <div class=\"achievement\">\n <span class=\"trophy\"></span>\n <h3>ESL One Malaysia</h3>\n <p>1st Place - 2023</p>\n </div>\n <div class=\"achievement\">\n <span class=\"trophy\"></span>\n <h3>DreamLeague</h3>\n <p>2nd Place - 2023</p>\n </div>\n </div>\n </section>\n</main>\n\n<footer>\n <div class=\"footer-content\">\n <div class=\"social-links\">\n <a href=\"#\" aria-label=\"Twitter\">Twitter</a>\n <a href=\"#\" aria-label=\"Twitch\">Twitch</a>\n <a href=\"#\" aria-label=\"Discord\">Discord</a>\n </div>\n <p>Phoenix Legion - Professional Dota 2 Team</p>\n </div>\n</footer>\n\n---style.css---\n:root {\n --primary-color: #ff4d00;\n --secondary-color: #1a1a1a;\n --accent-color: #ffd700;\n --text-color: #ffffff;\n --background-color: #0a0a0a;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Arial', sans-serif;\n background-color: var(--background-color);\n color: var(--text-color);\n line-height: 1.6;\n}\n\n/* Header & Navigation */\n.main-nav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1rem 5%;\n background-color: rgba(0, 0, 0, 0.9);\n position: fixed;\n width: 100%;\n z-index: 1000;\n backdrop-filter: blur(10px);\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 gap: 2rem;\n list-style: none;\n}\n\n.nav-links a {\n color: var(--text-color);\n text-decoration: none;\n transition: color 0.3s ease;\n}\n\n.nav-links a:hover {\n color: var(--primary-color);\n}\n\n/* Hero Section */\n.hero {\n height: 100vh;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),\n url('data:image/svg+xml,<svg viewBox=\"0 0 100 100\" xmlns=\"http://www.w3.org/2000/svg\"><rect width=\"100\" height=\"100\" fill=\"%23ff4d00\" opacity=\"0.1\"/></svg>');\n background-size: cover;\n text-align: center;\n}\n\n.hero-content h1 {\n font-size: 4rem;\n margin-bottom: 1rem;\n color: var(--primary-color);\n text-shadow: 0 0 10px rgba(255, 77, 0, 0.5);\n}\n\n/* Team Section */\n.team-section {\n padding: 5rem 5%;\n}\n\n.player-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.player-card {\n background: linear-gradient(145deg, #1a1a1a, #2a2a2a);\n padding: 1.5rem;\n border-radius: 10px;\n text-align: center;\n transition: transform 0.3s ease;\n}\n\n.player-card:hover {\n transform: translateY(-5px);\n}\n\n.player-image {\n width: 150px;\n height: 150px;\n background-color: var(--primary-color);\n border-radius: 50%;\n margin: 0 auto 1rem;\n}\n\n/* Matches Section */\n.matches-section {\n padding: 5rem 5%;\n background-color: var(--secondary-color);\n}\n\n.match-card {\n background: linear-gradient(145deg, #2a2a2a, #1a1a1a);\n padding: 2rem;\n border-radius: 10px;\n margin-top: 2rem;\n}\n\n.match-teams {\n display: flex;\n justify-content: space-around;\n align-items: center;\n margin: 1rem 0;\n}\n\n.vs {\n color: var(--accent-color);\n font-weight: bold;\n}\n\n/* Achievements Section */\n.achievements-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.achievement {\n text-align: center;\n padding: 2rem;\n background: linear-gradient(145deg, #1a1a1a, #2a2a2a);\n border-radius: 10px;\n}\n\n.trophy::before {\n content: \"🏆\";\n font-size: 3rem;\n}\n\n/* Footer */\nfooter {\n background-color: var(--secondary-color);\n padding: 2rem 5%;\n text-align: center;\n}\n\n.social-links {\n margin-bottom: 1rem;\n}\n\n.social-links a {\n color: var(--text-color);\n text-decoration: none;\n margin: 0 1rem;\n}\n\n/* Mobile Responsiveness */\n.mobile-menu-btn {\n display: none;\n background: none;\n border: none;\n cursor: pointer;\n}\n\n.mobile-menu-btn span {\n display: block;\n width: 25px;\n height: 3px;\n background-color: var(--text-color);\n margin: 5px 0;\n transition: 0.3s;\n}\n\n@media (max-width: 768px) {\n .mobile-menu-btn {\n display: block;\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n width: 100%;\n background-color: var(--secondary-color);\n flex-direction: column;\n text-align: center;\n padding: 1rem 0;\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .hero-content h1 {\n font-size: 2.5rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile menu functionality\n const mobileMenuBtn = document.querySelector('.mobile-menu-btn');\n const navLinks = document.querySelector('.nav-links');\n\n mobileMenuBtn.addEventListener('click', () => {\n navLinks.classList.toggle('active');\n \n // Animate hamburger to X\n const spans = mobileMenuBtn.querySelectorAll('span');\n spans.forEach(span => span.classList.toggle('active'));\n });\n\n // Smooth scroll 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 if (target) {\n target.scrollIntoView({\n behavior: 'smooth'\n });\n // Close mobile menu if open\n navLinks.classList.remove('active');\n }\n });\n });\n\n // Intersection Observer for fade-in animations\n const observerOptions = {\n threshold: 0.1,\n rootMargin: '0px 0px -50px 0px'\n };\n\n const observer = new IntersectionObserver((entries) => {\n entries.forEach(entry => {\n if (entry.isIntersecting) {\n entry.target.classList.add('visible');\n observer.unobserve(entry.target);\n }\n });\n }, observerOptions);\n\n // Observe all sections\n document.querySelectorAll('section').forEach(section => {\n observer.observe(section);\n });\n});\n\n---end---"
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 282,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 3019
+ }
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..322738b
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# phoenixlegion.scroll.pub
+Website generated by Claude from prompt: a website about a dota 2 esports team
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..ed0f7f1
--- /dev/null
+++ b/script.js
@@ -0,0 +1,48 @@
+document.addEventListener('DOMContentLoaded', () => {
+ // Mobile menu functionality
+ const mobileMenuBtn = document.querySelector('.mobile-menu-btn');
+ const navLinks = document.querySelector('.nav-links');
+
+ mobileMenuBtn.addEventListener('click', () => {
+ navLinks.classList.toggle('active');
+
+ // Animate hamburger to X
+ const spans = mobileMenuBtn.querySelectorAll('span');
+ spans.forEach(span => span.classList.toggle('active'));
+ });
+
+ // Smooth scroll for navigation 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 if open
+ navLinks.classList.remove('active');
+ }
+ });
+ });
+
+ // Intersection Observer for fade-in animations
+ const observerOptions = {
+ threshold: 0.1,
+ rootMargin: '0px 0px -50px 0px'
+ };
+
+ const observer = new IntersectionObserver((entries) => {
+ entries.forEach(entry => {
+ if (entry.isIntersecting) {
+ entry.target.classList.add('visible');
+ observer.unobserve(entry.target);
+ }
+ });
+ }, observerOptions);
+
+ // Observe all sections
+ document.querySelectorAll('section').forEach(section => {
+ observer.observe(section);
+ });
+});
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..1f03c31
--- /dev/null
+++ b/style.css
@@ -0,0 +1,211 @@
+:root {
+ --primary-color: #ff4d00;
+ --secondary-color: #1a1a1a;
+ --accent-color: #ffd700;
+ --text-color: #ffffff;
+ --background-color: #0a0a0a;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ font-family: 'Arial', sans-serif;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+}
+
+/* Header & Navigation */
+.main-nav {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 1rem 5%;
+ background-color: rgba(0, 0, 0, 0.9);
+ position: fixed;
+ width: 100%;
+ z-index: 1000;
+ backdrop-filter: blur(10px);
+}
+
+.logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ color: var(--primary-color);
+}
+
+.nav-links {
+ display: flex;
+ gap: 2rem;
+ list-style: none;
+}
+
+.nav-links a {
+ color: var(--text-color);
+ text-decoration: none;
+ transition: color 0.3s ease;
+}
+
+.nav-links a:hover {
+ color: var(--primary-color);
+}
+
+/* Hero Section */
+.hero {
+ height: 100vh;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
+ url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23ff4d00" opacity="0.1"/></svg>');
+ background-size: cover;
+ text-align: center;
+}
+
+.hero-content h1 {
+ font-size: 4rem;
+ margin-bottom: 1rem;
+ color: var(--primary-color);
+ text-shadow: 0 0 10px rgba(255, 77, 0, 0.5);
+}
+
+/* Team Section */
+.team-section {
+ padding: 5rem 5%;
+}
+
+.player-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
+ gap: 2rem;
+ margin-top: 2rem;
+}
+
+.player-card {
+ background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
+ padding: 1.5rem;
+ border-radius: 10px;
+ text-align: center;
+ transition: transform 0.3s ease;
+}
+
+.player-card:hover {
+ transform: translateY(-5px);
+}
+
+.player-image {
+ width: 150px;
+ height: 150px;
+ background-color: var(--primary-color);
+ border-radius: 50%;
+ margin: 0 auto 1rem;
+}
+
+/* Matches Section */
+.matches-section {
+ padding: 5rem 5%;
+ background-color: var(--secondary-color);
+}
+
+.match-card {
+ background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
+ padding: 2rem;
+ border-radius: 10px;
+ margin-top: 2rem;
+}
+
+.match-teams {
+ display: flex;
+ justify-content: space-around;
+ align-items: center;
+ margin: 1rem 0;
+}
+
+.vs {
+ color: var(--accent-color);
+ font-weight: bold;
+}
+
+/* Achievements Section */
+.achievements-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+ margin-top: 2rem;
+}
+
+.achievement {
+ text-align: center;
+ padding: 2rem;
+ background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
+ border-radius: 10px;
+}
+
+.trophy::before {
+ content: "🏆";
+ font-size: 3rem;
+}
+
+/* Footer */
+footer {
+ background-color: var(--secondary-color);
+ padding: 2rem 5%;
+ text-align: center;
+}
+
+.social-links {
+ margin-bottom: 1rem;
+}
+
+.social-links a {
+ color: var(--text-color);
+ text-decoration: none;
+ margin: 0 1rem;
+}
+
+/* Mobile Responsiveness */
+.mobile-menu-btn {
+ display: none;
+ background: none;
+ border: none;
+ cursor: pointer;
+}
+
+.mobile-menu-btn span {
+ display: block;
+ width: 25px;
+ height: 3px;
+ background-color: var(--text-color);
+ margin: 5px 0;
+ transition: 0.3s;
+}
+
+@media (max-width: 768px) {
+ .mobile-menu-btn {
+ display: block;
+ }
+
+ .nav-links {
+ display: none;
+ position: absolute;
+ top: 100%;
+ left: 0;
+ width: 100%;
+ background-color: var(--secondary-color);
+ flex-direction: column;
+ text-align: center;
+ padding: 1rem 0;
+ }
+
+ .nav-links.active {
+ display: flex;
+ }
+
+ .hero-content h1 {
+ font-size: 2.5rem;
+ }
+}