Skip to content

addi g2a link - #148

Merged
Julian-Louis merged 3 commits into
mainfrom
add-ig-modal
Aug 21, 2026
Merged

addi g2a link#148
Julian-Louis merged 3 commits into
mainfrom
add-ig-modal

Conversation

@Julian-Louis

@Julian-Louis Julian-Louis commented Aug 21, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features
    • Added a purchase callout for SimRail merchandise and related products.
    • Included a prominent link to the official G2A affiliate page, opening in a new tab.
    • Added affiliate-disclosure text for transparency.
    • Improved the callout’s layout and responsiveness on mobile devices.

@Julian-Louis Julian-Louis self-assigned this Aug 21, 2026
@Julian-Louis
Julian-Louis merged commit fc9ab20 into main Aug 21, 2026
1 check was pending
@Julian-Louis
Julian-Louis deleted the add-ig-modal branch August 21, 2026 12:43
@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 6e074ac3-9cbf-4c5e-876b-1486ad545391

📥 Commits

Reviewing files that changed from the base of the PR and between 839535c and a475a9d.

📒 Files selected for processing (3)
  • packages/common/links.ts
  • packages/home/src/Home.tsx
  • packages/home/src/styles/Home.module.css

📝 Walkthrough

Walkthrough

The home page now includes a responsive “Get the game” purchase section. The section uses a shared G2A affiliate URL, opens the link in a new tab, includes sponsored-link attributes, and displays an affiliate disclosure.

Changes

Purchase callout

Layer / File(s) Summary
Affiliate link integration
packages/common/links.ts, packages/home/src/Home.tsx
The shared G2A_AFFILIATE_URL constant is exported and used by the home page purchase section. The section includes SimRail branding, sponsored-link attributes, and commission disclosure text.
Purchase callout styling
packages/home/src/styles/Home.module.css
The callout includes desktop layout, typography, hover styling, and responsive mobile rules.

Estimated code review effort: 2 (Simple) | ~10 minutes

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch add-ig-modal

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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