commit d2667cc5c2420864c3ff2d3d284d2aca4f5b7d1d
Author: root <root@hub.scroll.pub>
Date: 2024-12-28 12:05:29 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..2e93599
--- /dev/null
+++ b/body.html
@@ -0,0 +1,83 @@
+<header>
+ <h1>Western University Rugby</h1>
+ <nav>
+ <ul>
+ <li><a href="#news">News</a></li>
+ <li><a href="#stats">Stats & Standings</a></li>
+ <li><a href="#roster">Roster</a></li>
+ <li><a href="#schedule">Schedule</a></li>
+ </ul>
+ </nav>
+</header>
+
+<main>
+ <section id="news">
+ <h2>Latest News</h2>
+ <article>
+ <h3>Western Dominates Rival Match</h3>
+ <p>Western University's rugby team secured a decisive victory against their long-time rivals...</p>
+ <a href="#">Read more</a>
+ </article>
+ <article>
+ <h3>New Coach Joins the Team</h3>
+ <p>We're excited to welcome Coach Johnson to the Western rugby family...</p>
+ <a href="#">Read more</a>
+ </article>
+ </section>
+
+ <section id="stats">
+ <h2>Stats & Standings</h2>
+ <div class="stats-grid">
+ <div>
+ <h3>Current Standings</h3>
+ <table>
+ <thead>
+ <tr>
+ <th>Team</th>
+ <th>W</th>
+ <th>L</th>
+ <th>Pts</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Western</td>
+ <td>5</td>
+ <td>1</td>
+ <td>15</td>
+ </tr>
+ <!-- Add more rows -->
+ </tbody>
+ </table>
+ </div>
+ <div>
+ <h3>Top Performers</h3>
+ <ul>
+ <li>John Doe - 8 Tries</li>
+ <li>Jane Smith - 120 Points</li>
+ <li>Mike Johnson - 75 Tackles</li>
+ </ul>
+ </div>
+ </div>
+ </section>
+
+ <section id="roster">
+ <h2>Team Roster</h2>
+ <div class="roster-grid">
+ <!-- Add player cards -->
+ </div>
+ </section>
+
+ <section id="schedule">
+ <h2>Upcoming Games</h2>
+ <ul>
+ <li>Oct 15: vs. State University</li>
+ <li>Oct 22: @ City College</li>
+ <li>Oct 29: vs. Tech Institute</li>
+ </ul>
+ </section>
+</main>
+
+<footer>
+ <p>Western University Rugby Club</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..624a869
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://westernrugby.scroll.pub
+metaTags
+editButton /edit.html
+title Western University Rugby News & Stats
+style.css
+body.html
+script.js
\ No newline at end of file
diff --git a/prompt.json b/prompt.json
new file mode 100644
index 0000000..7edabc8
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "58f170f8-94cf-4daa-bdfb-251633bee0cd",
+ "object": "chat.completion",
+ "created": 1735387510,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nwesternrugby.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://westernrugby.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Western University Rugby News & Stats\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Western University Rugby</h1>\n <nav>\n <ul>\n <li><a href=\"#news\">News</a></li>\n <li><a href=\"#stats\">Stats & Standings</a></li>\n <li><a href=\"#roster\">Roster</a></li>\n <li><a href=\"#schedule\">Schedule</a></li>\n </ul>\n </nav>\n</header>\n\n<main>\n <section id=\"news\">\n <h2>Latest News</h2>\n <article>\n <h3>Western Dominates Rival Match</h3>\n <p>Western University's rugby team secured a decisive victory against their long-time rivals...</p>\n <a href=\"#\">Read more</a>\n </article>\n <article>\n <h3>New Coach Joins the Team</h3>\n <p>We're excited to welcome Coach Johnson to the Western rugby family...</p>\n <a href=\"#\">Read more</a>\n </article>\n </section>\n\n <section id=\"stats\">\n <h2>Stats & Standings</h2>\n <div class=\"stats-grid\">\n <div>\n <h3>Current Standings</h3>\n <table>\n <thead>\n <tr>\n <th>Team</th>\n <th>W</th>\n <th>L</th>\n <th>Pts</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>Western</td>\n <td>5</td>\n <td>1</td>\n <td>15</td>\n </tr>\n <!-- Add more rows -->\n </tbody>\n </table>\n </div>\n <div>\n <h3>Top Performers</h3>\n <ul>\n <li>John Doe - 8 Tries</li>\n <li>Jane Smith - 120 Points</li>\n <li>Mike Johnson - 75 Tackles</li>\n </ul>\n </div>\n </div>\n </section>\n\n <section id=\"roster\">\n <h2>Team Roster</h2>\n <div class=\"roster-grid\">\n <!-- Add player cards -->\n </div>\n </section>\n\n <section id=\"schedule\">\n <h2>Upcoming Games</h2>\n <ul>\n <li>Oct 15: vs. State University</li>\n <li>Oct 22: @ City College</li>\n <li>Oct 29: vs. Tech Institute</li>\n </ul>\n </section>\n</main>\n\n<footer>\n <p>Western University Rugby Club</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #800000;\n --secondary-color: #FFD700;\n --background-color: #F5F5F5;\n --text-color: #333;\n --font-family: 'Segoe UI', system-ui, sans-serif;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: var(--font-family);\n line-height: 1.6;\n color: var(--text-color);\n background-color: var(--background-color);\n padding: 20px;\n}\n\nheader {\n background: var(--primary-color);\n color: white;\n padding: 2rem;\n text-align: center;\n margin-bottom: 2rem;\n border-radius: 10px;\n}\n\nh1 {\n font-size: 2.5rem;\n margin-bottom: 1rem;\n}\n\nnav ul {\n list-style: none;\n display: flex;\n justify-content: center;\n gap: 2rem;\n}\n\nnav a {\n color: white;\n text-decoration: none;\n font-weight: bold;\n transition: color 0.3s;\n}\n\nnav a:hover {\n color: var(--secondary-color);\n}\n\nsection {\n margin-bottom: 3rem;\n padding: 2rem;\n background: white;\n border-radius: 10px;\n box-shadow: 0 2px 5px rgba(0,0,0,0.1);\n}\n\nh2 {\n color: var(--primary-color);\n margin-bottom: 1.5rem;\n}\n\n.stats-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n}\n\ntable {\n width: 100%;\n border-collapse: collapse;\n}\n\nth, td {\n padding: 0.75rem;\n text-align: left;\n border-bottom: 1px solid #ddd;\n}\n\nth {\n background-color: var(--primary-color);\n color: white;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n margin-top: 2rem;\n color: #666;\n}\n\n@media (max-width: 768px) {\n h1 {\n font-size: 2rem;\n }\n \n nav ul {\n flex-direction: column;\n gap: 1rem;\n }\n \n .stats-grid {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\n// Initialize the roster grid with player cards\nconst rosterGrid = document.querySelector('.roster-grid');\nconst players = [\n { name: 'John Doe', position: 'Fly-half', number: 10 },\n { name: 'Jane Smith', position: 'Fullback', number: 15 },\n { name: 'Mike Johnson', position: 'Prop', number: 1 }\n];\n\nplayers.forEach(player => {\n const card = document.createElement('div');\n card.className = 'player-card';\n card.innerHTML = `\n <h3>${player.name}</h3>\n <p>${player.position}</p>\n <p>#${player.number}</p>\n `;\n rosterGrid.appendChild(card);\n});\n\n// Smooth scrolling for navigation links\ndocument.querySelectorAll('nav a').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---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 265,
+ "completion_tokens": 1426,
+ "total_tokens": 1691,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 265
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..6e3eeb6
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# westernrugby.scroll.pub
+Website generated by DeepSeek from prompt: i want website for my schools rugby news and announcements with stats standings, rosters, etc. make the page nice and interactive. make it for Western University
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..db2beff
--- /dev/null
+++ b/script.js
@@ -0,0 +1,28 @@
+// Initialize the roster grid with player cards
+const rosterGrid = document.querySelector('.roster-grid');
+const players = [
+ { name: 'John Doe', position: 'Fly-half', number: 10 },
+ { name: 'Jane Smith', position: 'Fullback', number: 15 },
+ { name: 'Mike Johnson', position: 'Prop', number: 1 }
+];
+
+players.forEach(player => {
+ const card = document.createElement('div');
+ card.className = 'player-card';
+ card.innerHTML = `
+ <h3>${player.name}</h3>
+ <p>${player.position}</p>
+ <p>#${player.number}</p>
+ `;
+ rosterGrid.appendChild(card);
+});
+
+// Smooth scrolling for navigation links
+document.querySelectorAll('nav a').forEach(anchor => {
+ anchor.addEventListener('click', function(e) {
+ e.preventDefault();
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..1fe1b27
--- /dev/null
+++ b/style.css
@@ -0,0 +1,110 @@
+:root {
+ --primary-color: #800000;
+ --secondary-color: #FFD700;
+ --background-color: #F5F5F5;
+ --text-color: #333;
+ --font-family: 'Segoe UI', system-ui, sans-serif;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
+
+body {
+ font-family: var(--font-family);
+ line-height: 1.6;
+ color: var(--text-color);
+ background-color: var(--background-color);
+ padding: 20px;
+}
+
+header {
+ background: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ margin-bottom: 2rem;
+ border-radius: 10px;
+}
+
+h1 {
+ font-size: 2.5rem;
+ margin-bottom: 1rem;
+}
+
+nav ul {
+ list-style: none;
+ display: flex;
+ justify-content: center;
+ gap: 2rem;
+}
+
+nav a {
+ color: white;
+ text-decoration: none;
+ font-weight: bold;
+ transition: color 0.3s;
+}
+
+nav a:hover {
+ color: var(--secondary-color);
+}
+
+section {
+ margin-bottom: 3rem;
+ padding: 2rem;
+ background: white;
+ border-radius: 10px;
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
+}
+
+h2 {
+ color: var(--primary-color);
+ margin-bottom: 1.5rem;
+}
+
+.stats-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
+ gap: 2rem;
+}
+
+table {
+ width: 100%;
+ border-collapse: collapse;
+}
+
+th, td {
+ padding: 0.75rem;
+ text-align: left;
+ border-bottom: 1px solid #ddd;
+}
+
+th {
+ background-color: var(--primary-color);
+ color: white;
+}
+
+footer {
+ text-align: center;
+ padding: 1rem;
+ margin-top: 2rem;
+ color: #666;
+}
+
+@media (max-width: 768px) {
+ h1 {
+ font-size: 2rem;
+ }
+
+ nav ul {
+ flex-direction: column;
+ gap: 1rem;
+ }
+
+ .stats-grid {
+ grid-template-columns: 1fr;
+ }
+}
\ No newline at end of file