Changes to western-rugby.scroll.pub

root
root
24 days ago
Initial commit
body.html
Changed around line 1
+
+
+
+ Western Rugby Logo
+

Western Rugby

+
+
+
+
+
+
+
+
+
+
+
+
+

Home of the Mustangs Rugby

+

Excellence in athletics and academics

+
+
+
+
+

Latest News

+
+
+
+
+

Mustangs Advance to Finals

+

Western defeats Queens in thrilling semifinal match...

+
+
+
+
+
+
+
+

Current Standings

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
PositionTeamPlayedWonLostPoints
+
+
+
+
+

Team Roster

+
+
+
+
+
+
+
+
+
+

Contact

+

Western University Athletics

+

London, Ontario, Canada

+

N6A 3K7

+
+
+

Quick Links

+
    +
    +
    +
    +

    Follow Us

    +
    + FB
    + TW
    + IG
    +
    +
    +
    +
    index.scroll
    Changed around line 1
    + buildHtml
    + baseUrl https://western-rugby.scroll.pub
    + metaTags
    + editButton /edit.html
    + title Western University Rugby - News, Stats & Updates
    + style.css
    + body.html
    + script.js
    prompt.json
    Changed around line 1
    + {
    + "id": "msg_01JHhUDb2LnBw98uGBkV5hMd",
    + "type": "message",
    + "role": "assistant",
    + "model": "claude-3-5-sonnet-20241022",
    + "content": [
    + {
    + "type": "text",
    + "text": "I'll help create a website for Western University's rugby program.\n\nSuggested domain name: western-rugby.scroll.pub\n\n---domain---\nwestern-rugby.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://western-rugby.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Western University Rugby - News, Stats & Updates\nstyle.css\nbody.html\nscript.js\n---body.html---\n
    \n \n
    \n\n
    \n
    \n
    \n

    Home of the Mustangs Rugby

    \n

    Excellence in athletics and academics

    \n
    \n
    \n\n
    \n

    Latest News

    \n
    \n
    \n
    \n
    \n

    Mustangs Advance to Finals

    \n

    Western defeats Queens in thrilling semifinal match...

    \n Read More\n
    \n
    \n \n
    \n
    \n\n
    \n

    Current Standings

    \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    PositionTeamPlayedWonLostPoints
    \n
    \n
    \n\n
    \n

    Team Roster

    \n
    \n \n
    \n
    \n
    \n\n
    \n
    \n
    \n

    Contact

    \n

    Western University Athletics

    \n

    London, Ontario, Canada

    \n

    N6A 3K7

    \n
    \n
    \n

    Quick Links

    \n \n
    \n
    \n

    Follow Us

    \n
    \n FB\n TW\n IG\n
    \n
    \n
    \n
    \n---style.css---\n:root {\n --primary-color: #4f2683;\n --secondary-color: #ffffff;\n --accent-color: #ffd200;\n --text-color: #333333;\n --transition: all 0.3s ease;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n line-height: 1.6;\n color: var(--text-color);\n}\n\n/* Header & Navigation */\nheader {\n background: var(--primary-color);\n position: fixed;\n width: 100%;\n top: 0;\n z-index: 1000;\n box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n}\n\n.main-nav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1rem 5%;\n max-width: 1400px;\n margin: 0 auto;\n}\n\n.logo {\n display: flex;\n align-items: center;\n gap: 1rem;\n}\n\n.logo h1 {\n color: var(--secondary-color);\n font-size: 1.5rem;\n}\n\n.nav-links {\n display: flex;\n gap: 2rem;\n list-style: none;\n}\n\n.nav-links a {\n color: var(--secondary-color);\n text-decoration: none;\n font-weight: 500;\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--accent-color);\n}\n\n/* Hero Section */\n#hero {\n height: 80vh;\n background: linear-gradient(rgba(79,38,131,0.8), rgba(79,38,131,0.8)),\n url('images/hero-bg.jpg') center/cover;\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n color: var(--secondary-color);\n margin-top: 70px;\n}\n\n.hero-content h2 {\n font-size: 3.5rem;\n margin-bottom: 1rem;\n animation: fadeInUp 1s ease;\n}\n\n/* Sections */\n.section {\n padding: 5rem 5%;\n max-width: 1400px;\n margin: 0 auto;\n}\n\n/* News Grid */\n.news-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n.news-card {\n background: white;\n border-radius: 10px;\n overflow: hidden;\n box-shadow: 0 4px 15px rgba(0,0,0,0.1);\n transition: var(--transition);\n}\n\n.news-card:hover {\n transform: translateY(-5px);\n}\n\n.news-image {\n height: 200px;\n background: #ddd;\n}\n\n.news-content {\n padding: 1.5rem;\n}\n\n/* Standings Table */\n.standings-table {\n overflow-x: auto;\n margin-top: 2rem;\n}\n\ntable {\n width: 100%;\n border-collapse: collapse;\n}\n\nth, td {\n padding: 1rem;\n text-align: left;\n border-bottom: 1px solid #ddd;\n}\n\nth {\n background: var(--primary-color);\n color: var(--secondary-color);\n}\n\n/* Roster Grid */\n.roster-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n margin-top: 2rem;\n}\n\n/* Footer */\nfooter {\n background: var(--primary-color);\n color: var(--secondary-color);\n padding: 3rem 5%;\n}\n\n.footer-content {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n max-width: 1400px;\n margin: 0 auto;\n}\n\n/* Mobile Responsiveness */\n.mobile-menu-btn {\n display: none;\n}\n\n@media (max-width: 768px) {\n .mobile-menu-btn {\n display: block;\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: var(--secondary-color);\n margin: 5px 0;\n transition: var(--transition);\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: var(--primary-color);\n flex-direction: column;\n padding: 1rem;\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .hero-content h2 {\n font-size: 2.5rem;\n }\n}\n\n/* Animations */\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---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile Menu Toggle\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 const spans = mobileMenuBtn.querySelectorAll('span');\n spans[0].classList.toggle('rotate-45');\n spans[1].classList.toggle('opacity-0');\n spans[2].classList.toggle('rotate-negative-45');\n });\n\n // Sample Standings Data\n const standingsData = [\n { position: 1, team: 'Western', played: 10, won: 8, lost: 2, points: 40 },\n { position: 2, team: 'Queens', played: 10, won: 7, lost: 3, points: 35 },\n { position: 3, team: 'McMaster', played: 10, won: 6, lost: 4, points: 30 },\n // Add more teams as needed\n ];\n\n // Populate Standings Table\n const standingsBody = document.getElementById('standings-body');\n standingsData.forEach(team => {\n const row = document.createElement('tr');\n row.innerHTML = `\n ${team.position}\n ${team.team}\n ${team.played}\n ${team.won}\n ${team.lost}\n ${team.points}\n `;\n standingsBody.appendChild(row);\n });\n\n // Sample Roster Data\n const rosterData = [\n { name: 'John Smith', position: 'Prop', number: 1 },\n { name: 'Mike Johnson', position: 'Hooker', number: 2 },\n { name: 'David Wilson', position: 'Lock', number: 3 },\n // Add more players as needed\n ];\n\n // Populate Roster Grid\n const rosterGrid = document.getElementById('roster-grid');\n rosterData.forEach(player => {\n const playerCard = document.createElement('div');\n playerCard.className = 'player-card';\n playerCard.innerHTML = `\n

    ${player.name}

    \n

    Position: ${player.position}

    \n

    Number: ${player.number}

    \n `;\n rosterGrid.appendChild(playerCard);\n });\n\n // Smooth Scrolling 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---end---\n\nThis creates a modern, responsive website for Western University's rugby program with a purple and white color scheme (Western's colors). The site includes:\n\n1. Fixed header with navigation\n2. Hero section with animated text\n3. News section with card layout\n4. Standings table\n5. Team roster grid\n6. Mobile-responsive design\n7. Interactive elements\n8. Smooth scrolling\n9. Accessible navigation\n10. SEO-friendly structure\n\nThe site uses CSS Grid and Flexbox for layouts, includes animations, and follows modern web development best practices. All content is placeholder and can be easily updated with real data."
    + }
    + ],
    + "stop_reason": "end_turn",
    + "stop_sequence": null,
    + "usage": {
    + "input_tokens": 302,
    + "cache_creation_input_tokens": 0,
    + "cache_read_input_tokens": 0,
    + "output_tokens": 3313
    + }
    + }
    readme.scroll
    Changed around line 1
    + # western-rugby.scroll.pub
    + Website generated by Claude 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
    script.js
    Changed around line 1
    + document.addEventListener('DOMContentLoaded', () => {
    + // Mobile Menu Toggle
    + const mobileMenuBtn = document.querySelector('.mobile-menu-btn');
    + const navLinks = document.querySelector('.nav-links');
    +
    + mobileMenuBtn.addEventListener('click', () => {
    + navLinks.classList.toggle('active');
    + const spans = mobileMenuBtn.querySelectorAll('span');
    + spans[0].classList.toggle('rotate-45');
    + spans[1].classList.toggle('opacity-0');
    + spans[2].classList.toggle('rotate-negative-45');
    + });
    +
    + // Sample Standings Data
    + const standingsData = [
    + { position: 1, team: 'Western', played: 10, won: 8, lost: 2, points: 40 },
    + { position: 2, team: 'Queens', played: 10, won: 7, lost: 3, points: 35 },
    + { position: 3, team: 'McMaster', played: 10, won: 6, lost: 4, points: 30 },
    + // Add more teams as needed
    + ];
    +
    + // Populate Standings Table
    + const standingsBody = document.getElementById('standings-body');
    + standingsData.forEach(team => {
    + const row = document.createElement('tr');
    + row.innerHTML = `
    + ${team.position}
    + ${team.team}
    + ${team.played}
    + ${team.won}
    + ${team.lost}
    + ${team.points}
    + `;
    + standingsBody.appendChild(row);
    + });
    +
    + // Sample Roster Data
    + const rosterData = [
    + { name: 'John Smith', position: 'Prop', number: 1 },
    + { name: 'Mike Johnson', position: 'Hooker', number: 2 },
    + { name: 'David Wilson', position: 'Lock', number: 3 },
    + // Add more players as needed
    + ];
    +
    + // Populate Roster Grid
    + const rosterGrid = document.getElementById('roster-grid');
    + rosterData.forEach(player => {
    + const playerCard = document.createElement('div');
    + playerCard.className = 'player-card';
    + playerCard.innerHTML = `
    +

    ${player.name}

    +

    Position: ${player.position}

    +

    Number: ${player.number}

    + `;
    + rosterGrid.appendChild(playerCard);
    + });
    +
    + // Smooth Scrolling for Navigation
    + document.querySelectorAll('a[href^="#"]').forEach(anchor => {
    + anchor.addEventListener('click', function (e) {
    + e.preventDefault();
    + document.querySelector(this.getAttribute('href')).scrollIntoView({
    + behavior: 'smooth'
    + });
    + });
    + });
    + });
    style.css
    Changed around line 1
    + :root {
    + --primary-color: #4f2683;
    + --secondary-color: #ffffff;
    + --accent-color: #ffd200;
    + --text-color: #333333;
    + --transition: all 0.3s ease;
    + }
    +
    + * {
    + margin: 0;
    + padding: 0;
    + box-sizing: border-box;
    + }
    +
    + body {
    + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    + line-height: 1.6;
    + color: var(--text-color);
    + }
    +
    + /* Header & Navigation */
    + header {
    + background: var(--primary-color);
    + position: fixed;
    + width: 100%;
    + top: 0;
    + z-index: 1000;
    + box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    + }
    +
    + .main-nav {
    + display: flex;
    + justify-content: space-between;
    + align-items: center;
    + padding: 1rem 5%;
    + max-width: 1400px;
    + margin: 0 auto;
    + }
    +
    + .logo {
    + display: flex;
    + align-items: center;
    + gap: 1rem;
    + }
    +
    + .logo h1 {
    + color: var(--secondary-color);
    + font-size: 1.5rem;
    + }
    +
    + .nav-links {
    + display: flex;
    + gap: 2rem;
    + list-style: none;
    + }
    +
    + .nav-links a {
    + color: var(--secondary-color);
    + text-decoration: none;
    + font-weight: 500;
    + transition: var(--transition);
    + }
    +
    + .nav-links a:hover {
    + color: var(--accent-color);
    + }
    +
    + /* Hero Section */
    + #hero {
    + height: 80vh;
    + background: linear-gradient(rgba(79,38,131,0.8), rgba(79,38,131,0.8)),
    + url('images/hero-bg.jpg') center/cover;
    + display: flex;
    + align-items: center;
    + justify-content: center;
    + text-align: center;
    + color: var(--secondary-color);
    + margin-top: 70px;
    + }
    +
    + .hero-content h2 {
    + font-size: 3.5rem;
    + margin-bottom: 1rem;
    + animation: fadeInUp 1s ease;
    + }
    +
    + /* Sections */
    + .section {
    + padding: 5rem 5%;
    + max-width: 1400px;
    + margin: 0 auto;
    + }
    +
    + /* News Grid */
    + .news-grid {
    + display: grid;
    + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    + gap: 2rem;
    + margin-top: 2rem;
    + }
    +
    + .news-card {
    + background: white;
    + border-radius: 10px;
    + overflow: hidden;
    + box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    + transition: var(--transition);
    + }
    +
    + .news-card:hover {
    + transform: translateY(-5px);
    + }
    +
    + .news-image {
    + height: 200px;
    + background: #ddd;
    + }
    +
    + .news-content {
    + padding: 1.5rem;
    + }
    +
    + /* Standings Table */
    + .standings-table {
    + overflow-x: auto;
    + margin-top: 2rem;
    + }
    +
    + table {
    + width: 100%;
    + border-collapse: collapse;
    + }
    +
    + th, td {
    + padding: 1rem;
    + text-align: left;
    + border-bottom: 1px solid #ddd;
    + }
    +
    + th {
    + background: var(--primary-color);
    + color: var(--secondary-color);
    + }
    +
    + /* Roster Grid */
    + .roster-grid {
    + display: grid;
    + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    + gap: 2rem;
    + margin-top: 2rem;
    + }
    +
    + /* Footer */
    + footer {
    + background: var(--primary-color);
    + color: var(--secondary-color);
    + padding: 3rem 5%;
    + }
    +
    + .footer-content {
    + display: grid;
    + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    + gap: 2rem;
    + max-width: 1400px;
    + margin: 0 auto;
    + }
    +
    + /* Mobile Responsiveness */
    + .mobile-menu-btn {
    + display: none;
    + }
    +
    + @media (max-width: 768px) {
    + .mobile-menu-btn {
    + display: block;
    + background: none;
    + border: none;
    + cursor: pointer;
    + }
    +
    + .mobile-menu-btn span {
    + display: block;
    + width: 25px;
    + height: 3px;
    + background: var(--secondary-color);
    + margin: 5px 0;
    + transition: var(--transition);
    + }
    +
    + .nav-links {
    + display: none;
    + position: absolute;
    + top: 100%;
    + left: 0;
    + right: 0;
    + background: var(--primary-color);
    + flex-direction: column;
    + padding: 1rem;
    + }
    +
    + .nav-links.active {
    + display: flex;
    + }
    +
    + .hero-content h2 {
    + font-size: 2.5rem;
    + }
    + }
    +
    + /* Animations */
    + @keyframes fadeInUp {
    + from {
    + opacity: 0;
    + transform: translateY(20px);
    + }
    + to {
    + opacity: 1;
    + transform: translateY(0);
    + }
    + }