Add games showcase with swiper and styles#687
Open
222448082Ashen wants to merge 2 commits intothoth-tech:mainfrom
Open
Add games showcase with swiper and styles#687222448082Ashen wants to merge 2 commits intothoth-tech:mainfrom
222448082Ashen wants to merge 2 commits intothoth-tech:mainfrom
Conversation
Introduces a new GameCardSwiper React component to display a games showcase carousel on the homepage. Adds three example game pages (Space Shooter, Platformer Adventure, Puzzle Master) under docs/games, and updates the Astro config to include new stylesheets and a sidebar section for games. Also adds related CSS for buttons and game cards, and updates the docs index to display the showcase.
✅ Deploy Preview for splashkit ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Updated scripts to append '-functions' to example URLs for overloaded functions, using api.json for detection. Enhanced fallback naming in api-pages-script.cjs for missing group names by formatting example names. Updated usage-example-references.json URLs to match new convention.
stelaukin
reviewed
Jan 21, 2026
stelaukin
left a comment
There was a problem hiding this comment.
I can't see any issues with this though I'm not very familiar with this area of the project. I'm not sure if astro.config.mjs should be committed. Will move to second review.
|
I have reviewed this PR and the changes meet the contribution guidelines. |
|
Reviewed the code changes and checked the deploy preview. |
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.
Description
The Games Showcase is an engaging feature to have on the homepage. It makes the site feel more dynamic and interactive, and it showcases the scope of what’s possible with SplashKit from visuals to gameplay mechanics. It also serves as a great source of inspiration for current and future students.
More than just a display, this feature encourages community involvement by giving students the chance to have their games featured publicly. It’s a fun and rewarding way for them to share their work, get recognition, and contribute to the broader SplashKit ecosystem. These updates help make that experience feel more polished and consistent with the rest of the site.
Summary of changes:
.sko-button) to be consistent with the SplashKit website theme.Type of change
How Has This Been Tested?
Verified the new Games Showcase component renders correctly on the homepage. Checked that the "Try Games" sidebar link works and navigates to the correct pages. Confirmed that the "Play Game" button appears only on playable games and launches the iframe correctly. Verified the new button styling across the affected pages.
Testing Checklist
Checklist
If involving code
If modified config files
Folders and Files Added/Modified
Additional Notes
The
GameCardSwipercomponent requires theswiperpackage which is already listed in dependencies. The button styles have been centralized in button-styles.css for easier maintenance.