Repository navigation
feat: Free Game Claimer 4.0 on its page - #18
Merged
Merged
Conversation
- 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.
5 tasks
✅ Deploy Preview for rainbow-halva-839807 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates
/free-game-claimerfor the extension's 4.0 release.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 tohttps://svitspindler.com/free-game-claimer#whats-new.public/llms.txtis updated the same way.ScrollToTopnow 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:scrollYwas 2. English visitors only reached the section because Chrome scrolls to the hash again atload. 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 prerenderedbuild/free-game-claimer/index.htmlcontains<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.vite preview, with Netlify's/free-game-claimer→/free-game-claimer/index.htmlrewrite reproduced by a route. I opened/free-game-claimer#whats-newat 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.VITE_API_HOSTis unset. The same happens onmain.Not changed / not verified
Test plan
/free-game-claimer#whats-newand check that the page opens at "What's new in 4.0"./free-game-claimer#whats-newand check that it opens at "Novosti v različici 4.0"./free-game-claimerwithout 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.