Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pkzstar committed Dec 27, 2024
1 parent 35056af commit 9aa562a
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 23 deletions.
16 changes: 16 additions & 0 deletions Calendar/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2394,6 +2394,22 @@ function showCalendar(month, year) {
image.classList.add("calendarImg");


link.appendChild(image);
cell.appendChild(link);

//SC invitational
} else if (month === 11 && (date === 28) && year === 2024) {
// Example link with image
let link = document.createElement("a");
link.href = "https://www.start.gg/tournament/sc-p-2024-invitational/details";
link.target = "_blank";

let image = document.createElement("img");
image.src = "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F736576%2Fimage-599c24fd151b15cdce529dab4230ea4c-optimized.jpg&ehk=oRZ8IldqhidgsE7yWmkb4%2BHk8zw1SxjNiS4fSA4dWqI%3D&w=280&h=280&r=0";

image.classList.add("calendarImg");


link.appendChild(image);
cell.appendChild(link);

Expand Down
34 changes: 12 additions & 22 deletions index js/indexEventsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,28 +117,18 @@ eventName.appendChild(location);
// Sample event data (replace this with actual event data)
const eventsData = [

{
name: "Gecko Cavern 8 - The Holiday Special",
date: "12/21/24",
location: "Burwood, NSW, Australia",
description: "Happy Holidays everyone! Gecko Cavern 8 is on its way! Hosted at Club Burwood along Burwood Road on the top floor of the venue, Gecko Cavern is the tournament series for Project Plus in Sydney! We also feature other games such as Melee, Rivals, and more! ",
imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F738073%2Fimage-420abd763db6b7810c89ef2065605ff1-optimized.png&ehk=MBjOzveFlZdIUDxVuNGUBFEAHrLZfXPCBfF%2BBWQWTeA%3D&w=280&h=280&r=0",
link: "https://www.start.gg/tournament/gecko-cavern-8-the-holiday-special/details",
rankImg: false,
trailer: "",
stream: ""
},
{
name: "Bristol's The Basement Before Christmas 2: love actually",
date: "12/22/24",
location: "Bristol, UK",
description: "Bristol's premier Melee monthly is back for another very special event! We decided the last Sunday of this month would be inconvenient for most people, as it falls between Christmas and New Years and we know most people will be with family, so we're running a more laid back, side-event focused tournament.",
imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F734148%2Fimage-00d0282df9b5c493f4821289575651f5-optimized.png&ehk=M88s%2F4c%2FFI%2FoB6PWsQc4Mht2x1PACX6g6dJpnaoHlc4%3D&w=280&h=280&r=0",
link: "https://www.start.gg/tournament/bristol-s-the-basement-before-christmas-2-love-actually/details",
rankImg: false,
trailer: "",
stream: ""
},
//needs moving
// {
// name: "Bristol's The Basement Before Christmas 2: love actually",
// date: "12/22/24",
// location: "Bristol, UK",
// description: "Bristol's premier Melee monthly is back for another very special event! We decided the last Sunday of this month would be inconvenient for most people, as it falls between Christmas and New Years and we know most people will be with family, so we're running a more laid back, side-event focused tournament.",
// imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F734148%2Fimage-00d0282df9b5c493f4821289575651f5-optimized.png&ehk=M88s%2F4c%2FFI%2FoB6PWsQc4Mht2x1PACX6g6dJpnaoHlc4%3D&w=280&h=280&r=0",
// link: "https://www.start.gg/tournament/bristol-s-the-basement-before-christmas-2-love-actually/details",
// rankImg: false,
// trailer: "",
// stream: ""
// },
{
name: "Tennessee P+ Summit 2025",
date: "1/10/25 - 1/12/25",
Expand Down
28 changes: 27 additions & 1 deletion past-events/pastEvents2024.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,32 @@ function createPastEventElement(eventData) {
// Sample data for past event
const eventData = [

{
eventTitle: "SC P+ 2024 Invitational",
imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F736576%2Fimage-599c24fd151b15cdce529dab4230ea4c-optimized.jpg&ehk=oRZ8IldqhidgsE7yWmkb4%2BHk8zw1SxjNiS4fSA4dWqI%3D&w=280&h=280&r=0",
eventUrl: "https://www.start.gg/tournament/sc-p-2024-invitational/details",
date: "December 28 2024",
location: "South Carolina",
entrants: 16,
first: "",
second: "",
third: "",
vodsUrl: "",
hideRankImage: true
},
{
eventTitle: "Gecko Cavern 8",
imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F738073%2Fimage-420abd763db6b7810c89ef2065605ff1-optimized.png&ehk=MBjOzveFlZdIUDxVuNGUBFEAHrLZfXPCBfF%2BBWQWTeA%3D&w=280&h=280&r=0",
eventUrl: "https://www.start.gg/tournament/gecko-cavern-8-the-holiday-special/details",
date: "December 21 2024",
location: "Australia",
entrants: 21,
first: "RNGReallyNotGood",
second: "Michael",
third: "Goodie",
vodsUrl: "",
hideRankImage: true
},
{
eventTitle: "Lexyloo's Holiday Special",
imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F729400%2Fimage-a51ee329476a3535bce01532c7bbdde5-optimized.png&ehk=kCVMsgzq6I6yWzQWkHp%2BxLUp5%2FIdtr2Van9ixAciDm8%3D&w=280&h=280&r=0",
Expand All @@ -133,7 +159,7 @@ const eventData = [
first: "Dirtboy",
second: "Blitz",
third: "Krumpberry",
vodsUrl: "",
vodsUrl: "https://www.youtube.com/playlist?list=PLdxdm5Mb0WctwDLsN49Z6SpeZnOWZqSAo",
hideRankImage: false
},
{
Expand Down

0 comments on commit 9aa562a

Please sign in to comment.