commit aca41886b379524e5b172d12ecf19f2f8d361e15
Author: root <root@hub.scroll.pub>
Date: 2024-12-28 09:41:30 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..659f0af
--- /dev/null
+++ b/body.html
@@ -0,0 +1,76 @@
+<header>
+ <nav class="top-nav">
+ <div class="logo">MyTeamSpace</div>
+ <div class="nav-links">
+ <a href="#dashboard" class="active">Dashboard</a>
+ <a href="#team">My Team</a>
+ <a href="#reports">Reports</a>
+ <a href="#profile">Profile</a>
+ </div>
+ <button class="mobile-menu" aria-label="Menu">
+ <span></span><span></span><span></span>
+ </button>
+ </nav>
+</header>
+
+<main>
+ <section class="stats-grid">
+ <div class="stat-card">
+ <h3>Team Size</h3>
+ <p class="stat-number">147</p>
+ <p class="stat-trend positive">+12% this month</p>
+ </div>
+ <div class="stat-card">
+ <h3>Sales Volume</h3>
+ <p class="stat-number">$24,856</p>
+ <p class="stat-trend positive">+8% this month</p>
+ </div>
+ <div class="stat-card">
+ <h3>Commission</h3>
+ <p class="stat-number">$4,721</p>
+ <p class="stat-trend positive">+15% this month</p>
+ </div>
+ <div class="stat-card">
+ <h3>Rank</h3>
+ <p class="stat-number">Diamond</p>
+ <p class="stat-trend">Next: Double Diamond</p>
+ </div>
+ </section>
+
+ <section class="achievements">
+ <h2>Recent Achievements</h2>
+ <div class="achievement-grid">
+ <div class="achievement">
+ <div class="badge">🏆</div>
+ <h4>Top Recruiter</h4>
+ <p>December 2023</p>
+ </div>
+ <div class="achievement">
+ <div class="badge">⭐</div>
+ <h4>Sales Elite</h4>
+ <p>Q4 2023</p>
+ </div>
+ <div class="achievement">
+ <div class="badge">🎯</div>
+ <h4>Goal Crusher</h4>
+ <p>November 2023</p>
+ </div>
+ </div>
+ </section>
+
+ <section class="team-tree">
+ <h2>Downline Structure</h2>
+ <div class="tree-container" id="teamTree">
+ <!-- Tree will be populated by JavaScript -->
+ </div>
+ </section>
+</main>
+
+<footer>
+ <nav class="footer-nav">
+ <a href="#help">Help Center</a>
+ <a href="#terms">Terms</a>
+ <a href="#privacy">Privacy</a>
+ <a href="#contact">Contact</a>
+ </nav>
+</footer>
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..201b6a8
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://myteamspace.scroll.pub
+metaTags
+editButton /edit.html
+title MyTeamSpace - Virtual Office Dashboard
+style.css
+body.html
+script.js
diff --git a/prompt.json b/prompt.json
new file mode 100644
index 0000000..645366e
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,20 @@
+{
+ "id": "msg_01Gfa4Xf1XNFQNzYtNcdT4W1",
+ "type": "message",
+ "role": "assistant",
+ "model": "claude-3-5-sonnet-20241022",
+ "content": [
+ {
+ "type": "text",
+ "text": "Here's a virtual office website for a direct selling company:\n\n---domain---\nmyteamspace.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://myteamspace.scroll.pub\nmetaTags\neditButton /edit.html\ntitle MyTeamSpace - Virtual Office Dashboard\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n<header>\n <nav class=\"top-nav\">\n <div class=\"logo\">MyTeamSpace</div>\n <div class=\"nav-links\">\n <a href=\"#dashboard\" class=\"active\">Dashboard</a>\n <a href=\"#team\">My Team</a>\n <a href=\"#reports\">Reports</a>\n <a href=\"#profile\">Profile</a>\n </div>\n <button class=\"mobile-menu\" aria-label=\"Menu\">\n <span></span><span></span><span></span>\n </button>\n </nav>\n</header>\n\n<main>\n <section class=\"stats-grid\">\n <div class=\"stat-card\">\n <h3>Team Size</h3>\n <p class=\"stat-number\">147</p>\n <p class=\"stat-trend positive\">+12% this month</p>\n </div>\n <div class=\"stat-card\">\n <h3>Sales Volume</h3>\n <p class=\"stat-number\">$24,856</p>\n <p class=\"stat-trend positive\">+8% this month</p>\n </div>\n <div class=\"stat-card\">\n <h3>Commission</h3>\n <p class=\"stat-number\">$4,721</p>\n <p class=\"stat-trend positive\">+15% this month</p>\n </div>\n <div class=\"stat-card\">\n <h3>Rank</h3>\n <p class=\"stat-number\">Diamond</p>\n <p class=\"stat-trend\">Next: Double Diamond</p>\n </div>\n </section>\n\n <section class=\"achievements\">\n <h2>Recent Achievements</h2>\n <div class=\"achievement-grid\">\n <div class=\"achievement\">\n <div class=\"badge\">🏆</div>\n <h4>Top Recruiter</h4>\n <p>December 2023</p>\n </div>\n <div class=\"achievement\">\n <div class=\"badge\">⭐</div>\n <h4>Sales Elite</h4>\n <p>Q4 2023</p>\n </div>\n <div class=\"achievement\">\n <div class=\"badge\">🎯</div>\n <h4>Goal Crusher</h4>\n <p>November 2023</p>\n </div>\n </div>\n </section>\n\n <section class=\"team-tree\">\n <h2>Downline Structure</h2>\n <div class=\"tree-container\" id=\"teamTree\">\n <!-- Tree will be populated by JavaScript -->\n </div>\n </section>\n</main>\n\n<footer>\n <nav class=\"footer-nav\">\n <a href=\"#help\">Help Center</a>\n <a href=\"#terms\">Terms</a>\n <a href=\"#privacy\">Privacy</a>\n <a href=\"#contact\">Contact</a>\n </nav>\n</footer>\n\n---style.css---\n:root {\n --primary: #2c3e50;\n --secondary: #3498db;\n --accent: #e74c3c;\n --background: #f5f6fa;\n --card-bg: #ffffff;\n --text: #2c3e50;\n --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: system-ui, -apple-system, sans-serif;\n background: var(--background);\n color: var(--text);\n line-height: 1.6;\n}\n\n.top-nav {\n background: var(--card-bg);\n padding: 1rem 2rem;\n display: flex;\n justify-content: space-between;\n align-items: center;\n box-shadow: var(--shadow);\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n color: var(--primary);\n}\n\n.nav-links a {\n color: var(--text);\n text-decoration: none;\n margin-left: 2rem;\n transition: color 0.3s ease;\n}\n\n.nav-links a:hover {\n color: var(--secondary);\n}\n\n.nav-links a.active {\n color: var(--secondary);\n font-weight: 600;\n}\n\nmain {\n max-width: 1200px;\n margin: 2rem auto;\n padding: 0 1rem;\n}\n\n.stats-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));\n gap: 1.5rem;\n margin-bottom: 2rem;\n}\n\n.stat-card {\n background: var(--card-bg);\n padding: 1.5rem;\n border-radius: 10px;\n box-shadow: var(--shadow);\n transition: transform 0.3s ease;\n}\n\n.stat-card:hover {\n transform: translateY(-5px);\n}\n\n.stat-number {\n font-size: 2rem;\n font-weight: bold;\n margin: 0.5rem 0;\n}\n\n.stat-trend {\n font-size: 0.9rem;\n color: #666;\n}\n\n.stat-trend.positive {\n color: #2ecc71;\n}\n\n.achievements {\n margin: 2rem 0;\n}\n\n.achievement-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1.5rem;\n margin-top: 1rem;\n}\n\n.achievement {\n background: var(--card-bg);\n padding: 1.5rem;\n border-radius: 10px;\n text-align: center;\n box-shadow: var(--shadow);\n}\n\n.badge {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\n.tree-container {\n background: var(--card-bg);\n padding: 2rem;\n border-radius: 10px;\n margin-top: 1rem;\n box-shadow: var(--shadow);\n min-height: 300px;\n}\n\n.mobile-menu {\n display: none;\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(--primary);\n margin: 5px 0;\n transition: 0.3s;\n}\n\nfooter {\n background: var(--card-bg);\n padding: 2rem;\n text-align: center;\n margin-top: 3rem;\n}\n\n.footer-nav a {\n color: var(--text);\n text-decoration: none;\n margin: 0 1rem;\n}\n\n@media (max-width: 768px) {\n .nav-links {\n display: none;\n }\n \n .mobile-menu {\n display: block;\n }\n \n .nav-links.active {\n display: flex;\n flex-direction: column;\n position: absolute;\n top: 70px;\n left: 0;\n right: 0;\n background: var(--card-bg);\n padding: 1rem;\n box-shadow: var(--shadow);\n }\n \n .nav-links.active a {\n margin: 0.5rem 0;\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 // Simple team tree visualization\n const teamTree = document.getElementById('teamTree');\n \n const createTeamTree = () => {\n const treeHTML = `\n <svg width=\"100%\" height=\"100%\" viewBox=\"0 0 800 250\">\n <g transform=\"translate(400,20)\">\n <!-- Root node -->\n <circle cx=\"0\" cy=\"0\" r=\"20\" fill=\"#3498db\"/>\n <text x=\"0\" y=\"5\" text-anchor=\"middle\" fill=\"white\">You</text>\n \n <!-- Level 1 -->\n <line x1=\"-100\" y1=\"80\" x2=\"0\" y2=\"20\" stroke=\"#666\" />\n <line x1=\"100\" y1=\"80\" x2=\"0\" y2=\"20\" stroke=\"#666\" />\n \n <circle cx=\"-100\" cy=\"80\" r=\"15\" fill=\"#e74c3c\"/>\n <circle cx=\"100\" cy=\"80\" r=\"15\" fill=\"#e74c3c\"/>\n \n <!-- Level 2 -->\n <line x1=\"-150\" y1=\"140\" x2=\"-100\" y2=\"80\" stroke=\"#666\" />\n <line x1=\"-50\" y1=\"140\" x2=\"-100\" y2=\"80\" stroke=\"#666\" />\n <line x1=\"50\" y1=\"140\" x2=\"100\" y2=\"80\" stroke=\"#666\" />\n <line x1=\"150\" y1=\"140\" x2=\"100\" y2=\"80\" stroke=\"#666\" />\n \n <circle cx=\"-150\" cy=\"140\" r=\"12\" fill=\"#2ecc71\"/>\n <circle cx=\"-50\" cy=\"140\" r=\"12\" fill=\"#2ecc71\"/>\n <circle cx=\"50\" cy=\"140\" r=\"12\" fill=\"#2ecc71\"/>\n <circle cx=\"150\" cy=\"140\" r=\"12\" fill=\"#2ecc71\"/>\n </g>\n </svg>\n `;\n \n teamTree.innerHTML = treeHTML;\n };\n \n createTeamTree();\n \n // Add smooth scroll for navigation\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\n---end---\n\nThis design features:\n- Clean, modern interface with card-based layout\n- Responsive design that works on all devices\n- Interactive statistics cards with hover effects\n- Achievement badges section\n- SVG-based team tree visualization\n- Mobile-friendly navigation with hamburger menu\n- Smooth animations and transitions\n- Semantic HTML5 structure\n- Accessible navigation and content\n- Color variables for easy theming\n- Professional typography and spacing\n- Interactive elements with hover states\n- Clear visual hierarchy\n- Performance optimized code\n\nThe domain name \"myteamspace\" is:\n- Short and memorable\n- Describes the purpose (team management)\n- Professional sounding\n- Easy to spell\n- Available (hypothetically)\n- Relevant to the business purpose"
+ }
+ ],
+ "stop_reason": "end_turn",
+ "stop_sequence": null,
+ "usage": {
+ "input_tokens": 295,
+ "cache_creation_input_tokens": 0,
+ "cache_read_input_tokens": 0,
+ "output_tokens": 2887
+ }
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..c890d18
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# myteamspace.scroll.pub
+Website generated by Claude from prompt: Create me a homepage for a virtual office for a direct selling company that shows my downlines, entitlements, achievements etc
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..26b80b7
--- /dev/null
+++ b/script.js
@@ -0,0 +1,56 @@
+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');
+ });
+
+ // Simple team tree visualization
+ const teamTree = document.getElementById('teamTree');
+
+ const createTeamTree = () => {
+ const treeHTML = `
+ <svg width="100%" height="100%" viewBox="0 0 800 250">
+ <g transform="translate(400,20)">
+ <!-- Root node -->
+ <circle cx="0" cy="0" r="20" fill="#3498db"/>
+ <text x="0" y="5" text-anchor="middle" fill="white">You</text>
+
+ <!-- Level 1 -->
+ <line x1="-100" y1="80" x2="0" y2="20" stroke="#666" />
+ <line x1="100" y1="80" x2="0" y2="20" stroke="#666" />
+
+ <circle cx="-100" cy="80" r="15" fill="#e74c3c"/>
+ <circle cx="100" cy="80" r="15" fill="#e74c3c"/>
+
+ <!-- Level 2 -->
+ <line x1="-150" y1="140" x2="-100" y2="80" stroke="#666" />
+ <line x1="-50" y1="140" x2="-100" y2="80" stroke="#666" />
+ <line x1="50" y1="140" x2="100" y2="80" stroke="#666" />
+ <line x1="150" y1="140" x2="100" y2="80" stroke="#666" />
+
+ <circle cx="-150" cy="140" r="12" fill="#2ecc71"/>
+ <circle cx="-50" cy="140" r="12" fill="#2ecc71"/>
+ <circle cx="50" cy="140" r="12" fill="#2ecc71"/>
+ <circle cx="150" cy="140" r="12" fill="#2ecc71"/>
+ </g>
+ </svg>
+ `;
+
+ teamTree.innerHTML = treeHTML;
+ };
+
+ createTeamTree();
+
+ // Add smooth scroll for navigation
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+ });
+});
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..338327b
--- /dev/null
+++ b/style.css
@@ -0,0 +1,181 @@
+:root {
+ --primary: #2c3e50;
+ --secondary: #3498db;
+ --accent: #e74c3c;
+ --background: #f5f6fa;
+ --card-bg: #ffffff;
+ --text: #2c3e50;
+ --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ font-family: system-ui, -apple-system, sans-serif;
+ background: var(--background);
+ color: var(--text);
+ line-height: 1.6;
+}
+
+.top-nav {
+ background: var(--card-bg);
+ padding: 1rem 2rem;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ box-shadow: var(--shadow);
+}
+
+.logo {
+ font-size: 1.5rem;
+ font-weight: bold;
+ color: var(--primary);
+}
+
+.nav-links a {
+ color: var(--text);
+ text-decoration: none;
+ margin-left: 2rem;
+ transition: color 0.3s ease;
+}
+
+.nav-links a:hover {
+ color: var(--secondary);
+}
+
+.nav-links a.active {
+ color: var(--secondary);
+ font-weight: 600;
+}
+
+main {
+ max-width: 1200px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+}
+
+.stats-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
+ gap: 1.5rem;
+ margin-bottom: 2rem;
+}
+
+.stat-card {
+ background: var(--card-bg);
+ padding: 1.5rem;
+ border-radius: 10px;
+ box-shadow: var(--shadow);
+ transition: transform 0.3s ease;
+}
+
+.stat-card:hover {
+ transform: translateY(-5px);
+}
+
+.stat-number {
+ font-size: 2rem;
+ font-weight: bold;
+ margin: 0.5rem 0;
+}
+
+.stat-trend {
+ font-size: 0.9rem;
+ color: #666;
+}
+
+.stat-trend.positive {
+ color: #2ecc71;
+}
+
+.achievements {
+ margin: 2rem 0;
+}
+
+.achievement-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
+ gap: 1.5rem;
+ margin-top: 1rem;
+}
+
+.achievement {
+ background: var(--card-bg);
+ padding: 1.5rem;
+ border-radius: 10px;
+ text-align: center;
+ box-shadow: var(--shadow);
+}
+
+.badge {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+}
+
+.tree-container {
+ background: var(--card-bg);
+ padding: 2rem;
+ border-radius: 10px;
+ margin-top: 1rem;
+ box-shadow: var(--shadow);
+ min-height: 300px;
+}
+
+.mobile-menu {
+ display: none;
+ background: none;
+ border: none;
+ cursor: pointer;
+}
+
+.mobile-menu span {
+ display: block;
+ width: 25px;
+ height: 3px;
+ background: var(--primary);
+ margin: 5px 0;
+ transition: 0.3s;
+}
+
+footer {
+ background: var(--card-bg);
+ padding: 2rem;
+ text-align: center;
+ margin-top: 3rem;
+}
+
+.footer-nav a {
+ color: var(--text);
+ text-decoration: none;
+ margin: 0 1rem;
+}
+
+@media (max-width: 768px) {
+ .nav-links {
+ display: none;
+ }
+
+ .mobile-menu {
+ display: block;
+ }
+
+ .nav-links.active {
+ display: flex;
+ flex-direction: column;
+ position: absolute;
+ top: 70px;
+ left: 0;
+ right: 0;
+ background: var(--card-bg);
+ padding: 1rem;
+ box-shadow: var(--shadow);
+ }
+
+ .nav-links.active a {
+ margin: 0.5rem 0;
+ }
+}