Skip to content

feat: Free Game Claimer 4.0 on its page - #18

Merged
spin311 merged 1 commit into
mainfrom
feat/fgc-4-0
Nov 30, 2026
Merged

spin311 merged 1 commit into
mainfrom
feat/fgc-4-0

Conversation

@spin311

@spin311 spin311 commented Nov 30, 2026

Copy link
Copy Markdown
Owner

Summary

Updates /free-game-claimer for the extension's 4.0 release.

  • New "What's new in 4.0" section with the anchor id whats-new (also in the sidebar), in English and Slovenian. It has three points: Epic's limited-time 100%-off sales (on by default), Epic's weekly free Android and iPhone/iPad (EU only) games (opt-in), and captcha help (the claim tab comes forward, and the popup's warning has Try again). The extension's popup will link to https://svitspindler.com/free-game-claimer#whats-new.
  • Existing content brought up to date: a new feature item "More free Epic games"; "Store status" now mentions that warnings explain what went wrong and that Report a problem opens a prefilled GitHub issue; getting-started step 3 and privacy now name the new access requests (Epic's mobile store, and store.epicgames.com on Firefox); a new FAQ entry, "Does it claim Epic's free mobile games?".
  • SEO: the meta description now names PC and mobile games and 100%-off sales. The SoftwareApplication JSON-LD description and og/twitter descriptions come from it. public/llms.txt is updated the same way.
  • Fix: ScrollToTop now honours the URL hash. It always scrolled to the top when a page mounted. Visitors who get a client render instead of hydration (Slovenian or dark mode saved) landed at the top of /free-game-claimer#faq. I checked this on the live site with Slovenian saved: scrollY was 2. English visitors only reached the section because Chrome scrolls to the hash again at load. The fix scrolls to the hash's element once per page. In-page sidebar clicks still scroll smoothly.

Verified

  • npm run lint, npx tsc --noEmit, check-translations, check-sitemap, check-netlify-routes: all pass. The repo has no test script.
  • npm run build: passes. The prerendered build/free-game-claimer/index.html contains <section id="whats-new"> with the three points, the sidebar link #whats-new, and the new meta, og and twitter descriptions and JSON-LD description.
  • Checked with Playwright on vite preview, with Netlify's /free-game-claimer → /free-game-claimer/index.html rewrite reproduced by a route. I opened /free-game-claimer#whats-new at 1440×900 and 375×812, in English (hydrated) and Slovenian (client render). In all four the section lands at the top of the viewport (offset 0 to −8px, heading fully visible), the sidebar highlights "What's new" / "Novosti", and there is no horizontal overflow.
  • Regressions: a load without a hash starts at the top, client-side navigation from home starts at the top, and the sidebar links to #whats-new and #faq still scroll there.
  • Console: no React or hydration errors. The only errors are the API fetches (user count, stars), which fail locally because VITE_API_HOST is unset. The same happens on main.

Not changed / not verified

  • The screenshots on the page (settings, Free Games tab) are from before 4.0 and don't show the new switches.
  • The home page project card, the donate page's project line and the OG share image still say "Epic, Steam, GOG, IndieGala and Prime Gaming". That is still correct, so I left them.
  • Not checked in Firefox or Safari, and not checked on the Netlify deploy preview.

Test plan

  • On the Netlify deploy preview, open /free-game-claimer#whats-new and check that the page opens at "What's new in 4.0".
  • Switch to Slovenian with the flag, reload /free-game-claimer#whats-new and check that it opens at "Novosti v različici 4.0".
  • Open /free-game-claimer without a hash and check that it starts at the top. Click "FAQ" in the sidebar and check that it scrolls smoothly, and that the FAQ has 8 questions, including the mobile-games one.
  • Check that the page source's meta description mentions "PC and mobile, plus 100%-off sales".

- New "What's new in 4.0" section (id "whats-new", in the sidebar too): Epic's
  limited-time 100%-off sales, Epic's free Android and iPhone/iPad games, and
  captcha help. The extension's popup links to /free-game-claimer#whats-new.
- Features, getting-started step 3, privacy and FAQ now cover the 100%-off
  sales, the mobile games and "Report a problem"; meta description (and with
  it the JSON-LD description) and llms.txt mention mobile games and sales.
- ScrollToTop now opens a page at its #hash section instead of always at the
  top. Before, a visitor who gets a client render (Slovenian or dark mode
  saved) landed at the top of /free-game-claimer#faq.
@netlify

netlify Bot commented Nov 30, 2026

Copy link
Copy Markdown

✅ Deploy Preview for rainbow-halva-839807 ready!

Name Link
🔨 Latest commit 76c0eed
🔍 Latest deploy log https://app.netlify.com/projects/rainbow-halva-839807/deploys/6b0d799cade0a20693c88414
😎 Deploy Preview https://deploy-preview-18--rainbow-halva-839807.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@spin311
spin311 merged commit 059b134 into main Nov 30, 2026
5 checks passed
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.

1 participant