Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENHANCEMENT] (URGENT) {SMONLY} History Page Setup #18

Open
eshaane opened this issue May 12, 2024 · 4 comments
Open

[ENHANCEMENT] (URGENT) {SMONLY} History Page Setup #18

eshaane opened this issue May 12, 2024 · 4 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed Spartabots Member Only These issues are only available to be claimed by current Spartabots members. urgent

Comments

@eshaane
Copy link
Collaborator

eshaane commented May 12, 2024

Currently the History page on the website is pretty plain, the plan is to make the images of each robot clickable and the popup segment should be arranged in this way
image
(Alex's mockup)

For each year/game, the text will be altered, Performance area should have Blue banners if earned and Stats like QR and PNW Rank.

@eshaane eshaane changed the title [ENHANCEMENT] (ASAP) History Page Setup [ENHANCEMENT] (URGENT) {SMONLY} History Page Setup May 15, 2024
@eshaane eshaane added the Spartabots Member Only These issues are only available to be claimed by current Spartabots members. label May 15, 2024
@solar138
Copy link
Contributor

solar138 commented May 20, 2024

I added the following template to App.js:

<Route path="/history/2024" element={<HistoryPage
          year="2024"
          robotName="ARTEMIS"
          robotNameBlurb="The Goddess of the Hunt"
          splashImage="https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis"
          robotImage="https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis"
          robotInfo="Insert robot info here."
          gameImage="https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis"
          gameName="CRESCENDO"
          gameInfo="Insert game info here."
          performance={[
            {title: "Auburn Finalist", image: "https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"},
            {title: "Sammamish Semi-Finalist", image: "https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"}]}
          />} />

Though it's mostly filler text right now and it needs to be copy-pasted a few more times for the older years.
image

@eshaane
Copy link
Collaborator Author

eshaane commented May 21, 2024

Current Status of this Enhancement:

  • Page has been roughly drafted, changes need to be made.

TO DO:

  • Add a "Banner"/"Image" element to the performance tab, this is to display the banners we earned during the event if any were earned, this could also be a place to put our awards at the event, in the case of both a banner and an award we need 2 image elements, the banner being first and the award being second
  • Actual information needs to be put into the pages, currently, we have some filler "Lorem Ipsum" text, which needs to be changed to actual information, for game information the best source is Wikipedia, as far as robot information go off statistics in the discord server and what is visible in the images, the NAMING for the old robots pre-2018 is TBH, we may code name them later, use a placeholder when filling these out.

Completed:

  • Template converted into an actual webpage
  • 2024 almost finished

Media:

  • Gather IN-GAME images of all the robots as old as you can find, any new images should be sent in #media-uploads in the server. This task needs to be done IMMEDIATELY.

@eshaane eshaane added good first issue Good for newcomers help wanted Extra attention is needed labels May 21, 2024
@solar138
Copy link
Contributor

solar138 commented May 21, 2024

image
You can add more performance blocks by adding more array entries:

performance={[
            {title: "Auburn Finalist", image: "https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"},
            {title: "Auburn Finalist 2", image: "https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"},
            {title: "Auburn Finalist 3", image: "https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"},
            {title: "Auburn Finalist 4", image: "https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"},
            {title: "Sammamish Semi-Finalist", image: "https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"}]}
          />} />```

@eshaane
Copy link
Collaborator Author

eshaane commented May 21, 2024

image You can add more performance blocks by adding more array entries:

performance={[
            {title: "Auburn Finalist", image: "https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"},
            {title: "Auburn Finalist 2", image: "https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"},
            {title: "Auburn Finalist 3", image: "https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"},
            {title: "Auburn Finalist 4", image: "https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"},
            {title: "Sammamish Semi-Finalist", image: "https://res.cloudinary.com/spartasite/image/upload/f_auto,q_auto/Artemis", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"}]}
          />} />```

whoops i missed that, removed from todo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed Spartabots Member Only These issues are only available to be claimed by current Spartabots members. urgent
Projects
None yet
Development

No branches or pull requests

3 participants