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

Adds game lists that auto-update with itch.io + logo animation #9

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

deboraprudencio
Copy link

@deboraprudencio deboraprudencio commented Dec 20, 2023

Main change:

  • Changed "Nossos projetos" section to add lists that update with our itch.io collections (scraped from the website with google sheets). This way we can showcase the games on the website!

Other small changes:

  • Added a cool little css animation to the logo at the top;
  • Added Lato font with dynamic weight, to allow for a lighter font in the body of the sections (previously changing the weight did nothing;
  • Increased the section padding a bit to add more black space;
  • Changed link and scrollbar colors to our signature red.

@Kazuo256
Copy link
Member

Does the scrapping auto-update or is it something we have to run everytime we have a new project on itch.io?

I just need some time do pull this and test it locally, so I'll come back to merge it later.

@deboraprudencio
Copy link
Author

Does the scrapping auto-update or is it something we have to run everytime we have a new project on itch.io?

I just need some time do pull this and test it locally, so I'll come back to merge it later.

It should update automatically. The way this works is: the scraping is done with google sheets formulas in this sheet, and then loadGameList.js fetches it using Google Sheets API (I used an API key linked to my account and the sheet is public).

I couldn't determine or find documentation on the frequency that the sheet updates formulas with the sheet closed / from API calls. However, from my tests, it seems to be about every hour.

Take all the time you need to test and I appreciate all feedback since this is my first pull request ever and first time doing many of these things like scraping with sheets and API calls in javascript!!!

@Kazuo256
Copy link
Member

I think something wrong happened here

image

Maybe it's because "Queijo" does not have a thumbnail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants