From 339ea578b20ba81a0c00c6e051c9d404f5ce2d3d Mon Sep 17 00:00:00 2001 From: ilikepizza107 <90655367+ilikepizza107@users.noreply.github.com> Date: Mon, 4 Nov 2024 10:27:28 -0600 Subject: [PATCH] 11/2 -> Past events, LA NEXUS XVII, Vods Somino 6 Put Birdhouse 13 on the main page too --- Calendar/Calendar.js | 26 ++++++++++++-- index js/indexEventsList.js | 66 +++++++++++++++++------------------ past-events/pastEvents2024.js | 53 ++++++++++++++++++++++++---- 3 files changed, 103 insertions(+), 42 deletions(-) diff --git a/Calendar/Calendar.js b/Calendar/Calendar.js index fe2e158..50937fb 100644 --- a/Calendar/Calendar.js +++ b/Calendar/Calendar.js @@ -2078,7 +2078,7 @@ function showCalendar(month, year) { updateLinkAndImage(); // Initially update link and image fadeInOut(image); // Start fade-in/out animation // Start cycling events - //MMDX + Birdhouse 13 + //MMDX + Birdhouse 13 + LA NEXUS XVII } else if(month === 10 && date === 16 && year === 2024) { const events = [ @@ -2090,6 +2090,10 @@ function showCalendar(month, year) { { link: "https://www.start.gg/tournament/birdhouse-13-charity-for-the-foodbank/details", imageSrc: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F723673%2Fimage-1aeb7b34779d59e9909f10cf735714c3-optimized.jpg&ehk=e2h9y%2FCTF7Aw7%2FGVtqZinnCqeudWtq%2FxFsTFRF0ZZg8%3D&w=280&h=280&r=0" + }, + { + link: "https://www.start.gg/tournament/la-nexus-xvii/details", + imageSrc: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F727138%2Fimage-7ab76bac26ade3b8758f0670081a4209-optimized.png&ehk=Qg64TBf4HmR69ichFld9TAFau9v9T1v9kY%2Bo7n6Cthw%3D&w=280&h=280&r=0" } ]; @@ -2235,7 +2239,25 @@ function showCalendar(month, year) { updateLinkAndImage(); // Initially update link and image fadeInOut(image); // Start fade-in/out animation // Start cycling events - + + //Somino 6 + } else if (month === 0 && (date === 25) && year === 2025) { + // Example link with image + let link = document.createElement("a"); + link.href = "https://www.start.gg/tournament/somnio-6/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%2F704301%2Fimage-7860f2d53c5c19158a1af5bb595b62f2-optimized.png&ehk=Lvf0cBp42V7xFlwNJ8bxtOnyYKPG5AFv3lZxf8Pd1LQ%3D&w=280&h=280&r=0"; + + image.classList.add("calendarImg"); + + + link.appendChild(image); + cell.appendChild(link); + + + // LUST 50 } else if (month === 1 && (date === 1 || date === 2) && year === 2025) { // Example link with image let link = document.createElement("a"); diff --git a/index js/indexEventsList.js b/index js/indexEventsList.js index 519ff62..a77a3e3 100644 --- a/index js/indexEventsList.js +++ b/index js/indexEventsList.js @@ -118,39 +118,6 @@ eventName.appendChild(location); const eventsData = [ - { - name: "Beachin", - date: "11/1/24 - 11/3/24", - location: "Sunny Isles Beach, FL, USA", - description: "Huge vibes going down on Saturday Night in the friendlies room of a certain major event down in Florida", - imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F686090%2Fimage-684569cc3ea9311290b0ea4112e96952-optimized.png&ehk=QzjLADSfuKgzgjCzafkZLcvUzaGH%2Fu69WSLcT4QYIMo%3D&w=280&h=280&r=0", - link: "https://www.start.gg/tournament/beachin/details", - rankImg: false, - trailer: "", - stream: "https://www.twitch.tv/rome0_ssb" - }, - { - name: "Homecoming", - date: "11/2/24", - location: "Cincinnati, OH, USA", - description: "A reunion tournament celebrating the 10 Year Anniversary of Project M's heyday in Southwest Ohio! Now featuring HDR Singles and a Cobalt X side bracket, with P+ characters banned", - imageUrl: "https://github.com/pkzstar/plus-side/blob/main/images/upcoming%20events/homecominglogo.png?raw=true", - link: "https://smashboards.com/threads/homecoming-p-hdr-nov-9th-2024.523550/", - rankImg: true, - trailer: "", - stream: "" - }, - { - name: "Cougar Smash: HAUNTED", - date: "11/2/24", - location: "Charleston, SC, USA", - description: "Presented By Cougar Smash & the CofC Esports Club", - imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F716061%2Fimage-3c7c7a6766ea7269c9284590b58b5656-optimized.png&ehk=mwUw41n4GIi6x3pDGKRLiGS2RCga8XU%2Be1HXVvyAg30%3D&w=280&h=280&r=0", - link: "https://www.start.gg/tournament/cougar-smash-haunted/details", - rankImg: false, - trailer: "", - stream: "" - }, { name: "Show Me Your Moves 24", date: "11/9/24", @@ -184,6 +151,28 @@ const eventsData = [ trailer: "", stream: "" }, + { + name: "Birdhouse 13 Charity for the Foodbank", + date: "11/16/24", + location: "Normal, IL, USA", + description: "Bloomington-Normal's Premiere Smash Regional Returns! The ISU Smash team is happy to announce the 13th iteration of Bird House!", + imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F723673%2Fimage-1aeb7b34779d59e9909f10cf735714c3-optimized.jpg&ehk=e2h9y%2FCTF7Aw7%2FGVtqZinnCqeudWtq%2FxFsTFRF0ZZg8%3D&w=280&h=280&r=0", + link: "https://www.start.gg/tournament/birdhouse-13-charity-for-the-foodbank/details", + rankImg: false, + trailer: "", + stream: "" + }, + { + name: "LA NEXUS XVII", + date: "11/16/24", + location: "Baton Rouge, LA, USA", + description: "BATON ROUGE SMASH IS BACK, THIS TIME AT THE NEXUS LOUISIANA TECH PARK!", + imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F727138%2Fimage-7ab76bac26ade3b8758f0670081a4209-optimized.png&ehk=Qg64TBf4HmR69ichFld9TAFau9v9T1v9kY%2Bo7n6Cthw%3D&w=280&h=280&r=0", + link: "https://www.start.gg/tournament/la-nexus-xvii/details", + rankImg: false, + trailer: "", + stream: "" + }, { name: "Pissmas 5", date: "11/29/24 - 12/1/24", @@ -228,6 +217,17 @@ const eventsData = [ trailer: "", stream: "" }, + { + name: "Somnio 6", + date: "1/25/25", + location: "Eindhoven, Netherlands", + description: "FROM THE PEOPLE THAT BROUGHT YOU DREAMHACK ROTTERDAM 2019 & 2022, SECTOR Z, NL ARCADIAN AND MORE!", + imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F704301%2Fimage-7860f2d53c5c19158a1af5bb595b62f2-optimized.png&ehk=Lvf0cBp42V7xFlwNJ8bxtOnyYKPG5AFv3lZxf8Pd1LQ%3D&w=280&h=280&r=0", + link: "https://www.start.gg/tournament/somnio-6/details", + rankImg: false, + trailer: "", + stream: "" + }, { name: "LUST 50", date: "2/1/25 - 2/2/25", diff --git a/past-events/pastEvents2024.js b/past-events/pastEvents2024.js index cd4ac14..b95d6c2 100644 --- a/past-events/pastEvents2024.js +++ b/past-events/pastEvents2024.js @@ -110,12 +110,51 @@ function createPastEventElement(eventData) { // Sample data for past event const eventData = [ + { + eventTitle: "Cougar Smash: HAUNTED", + imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F716061%2Fimage-3c7c7a6766ea7269c9284590b58b5656-optimized.png&ehk=mwUw41n4GIi6x3pDGKRLiGS2RCga8XU%2Be1HXVvyAg30%3D&w=280&h=280&r=0", + eventUrl: "https://www.start.gg/tournament/cougar-smash-haunted/details", + date: "November 2 2024", + location: "Ohio", + entrants: 10, + first: "knight", + second: "likeanegg", + third: "SmashBob SquarePants", + vodsUrl: "", + hideRankImage: true + }, + { + eventTitle: "Homecoming", + imageUrl: "https://github.com/pkzstar/plus-side/blob/main/images/upcoming%20events/homecominglogo.png?raw=true", + eventUrl: "https://smashboards.com/threads/homecoming-p-hdr-nov-9th-2024.523550/", + date: "November 2 2024", + location: "Ohio", + entrants: 33, + first: "essy", + second: "moxi", + third: "Peppy", + vodsUrl: "", + hideRankImage: true + }, + { + eventTitle: "Beachin", + imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F686090%2Fimage-684569cc3ea9311290b0ea4112e96952-optimized.png&ehk=QzjLADSfuKgzgjCzafkZLcvUzaGH%2Fu69WSLcT4QYIMo%3D&w=280&h=280&r=0", + eventUrl: "https://www.start.gg/tournament/beachin/details", + date: "November 1-3 2024", + location: "Florida", + entrants: 34, + first: "Dirtboy", + second: "Shenanigans", + third: "Forrest", + vodsUrl: "", + hideRankImage: false + }, { eventTitle: "College Park Mutiny: THE HORROR!", imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F718217%2Fimage-909fd918014a0f14666628f9d2dacb2c-optimized.png&ehk=StdABTKuhDnUDTEa7oRlh7V3y9EXS0xzJLBubh84ZaU%3D&w=280&h=280&r=0", eventUrl: "https://www.start.gg/tournament/college-park-mutiny-the-horror/details", date: "October 19 2024", - location: "College Park", + location: "Maryland", entrants: 7, first: "Counterpicker Kevin", second: "8va", @@ -128,7 +167,7 @@ const eventData = [ imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F707279%2Fimage-c671e5249610d692af2e9390a5bd39b6-optimized.png&ehk=%2FfxMt4ldJJRdMBSJ2rkkrUGI06gxa%2FUO8cw2J2cGfHU%3D&w=280&h=280&r=0", eventUrl: "https://www.start.gg/tournament/eugg-s-the-monthly-grindhouse-now-slaying/details", date: "October 19 2024", - location: "Edinboro", + location: "Ohio", entrants: 9, first: "Vaporeon", second: "Aluminis", @@ -141,7 +180,7 @@ const eventData = [ imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F714806%2Fimage-4b2bd45378c5b445ed7f2f3f4e86c090-optimized.png&ehk=r%2BlFLh3znnbmPo1yNdvCPZhzHggYSdFVi5t4wfk8s5Q%3D&w=280&h=280&r=0", eventUrl: "https://www.start.gg/tournament/candlehog-4/details", date: "October 19 2024", - location: "Wallingford", + location: "Connecticut", entrants: 21, first: "Flarp", second: "Imogen Heat", @@ -154,7 +193,7 @@ const eventData = [ imageUrl: "https://www.bing.com/th?pid=Sgg&qlt=100&u=https%3A%2F%2Fimages.start.gg%2Fimages%2Ftournament%2F694928%2Fimage-d570f648aa26ccea66517f31a2dccda5-optimized.png&ehk=wQJOmHo9Afn6nRwa%2FwDShMfftHg7tIqqjo%2BnGCznW8s%3D&w=280&h=280&r=0", eventUrl: "https://www.start.gg/tournament/tussleopolis/details", date: "October 19 2024", - location: "Normal", + location: "Illinois", entrants: 60, first: "Shiny Zubat", second: "SipMastah", @@ -167,7 +206,7 @@ const eventData = [ imageUrl: "https://github.com/pkzstar/plus-side/blob/main/images/upcoming%20events/Masters8Logo.png?raw=true", eventUrl: "https://www.start.gg/tournament/the-masters-eight-the-best-in-texas-finale/details", date: "October 19 2024", - location: "Austin", + location: "Texas", entrants: 16, first: "Salt", second: "Apathy", @@ -211,7 +250,7 @@ const eventData = [ first: "Xtreme", second: "Moist", third: "Shenanigans", - vodsUrl: "", + vodsUrl: "https://www.youtube.com/playlist?list=PLL2RqAT-Fg9Z0eAjw3LMBtnrboTFzBLTL", hideRankImage: true }, { @@ -237,7 +276,7 @@ const eventData = [ first: "Chaloopy", second: "metroid", third: "ORLY", - vodsUrl: "", + vodsUrl: "https://youtube.com/playlist?list=PLJIkd-7ajnoWCVsCmbWKoStMFijjfPoG2&si=-VrPbJgRg_brTvPN", hideRankImage: true }, {