Skip to content

Add gamehub carousel#103

Merged
kcw-grunt merged 5 commits into
developfrom
add-gamehub-carousel
Apr 26, 2026
Merged

Add gamehub carousel#103
kcw-grunt merged 5 commits into
developfrom
add-gamehub-carousel

Conversation

@kcw-grunt

@kcw-grunt kcw-grunt commented Apr 26, 2026

Copy link
Copy Markdown
Collaborator

📱 Description

Adds a new gamehub carousel feature that cycles through three interactive game-related sections: a FallinMoji game card, a MoonPay top-up integration card, and a social media engagement card. The carousel automatically rotates every 15 seconds and includes new background artwork, color adjustments, and layout improvements to support the expanded game hub content.

Platform

  • iOS

🎯 Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 🔧 Refactoring (code change that neither fixes a bug nor adds a feature)
  • 📚 Documentation update
  • 🎨 UI/UX improvement
  • ⚡ Performance improvement
  • 🧪 Test addition or improvement
  • ⚙️ CI/CD change

📋 Changes

New Components Added

  • GameHubCarouselBentoView.swift – Main carousel container that rotates through three game hub cards with automatic 15-second interval advancement and manual swipe navigation
  • GameHubBentoView.swift (new location: Game Hub Bentos folder) – FallinMoji game card with gradient text and demo game view
  • MoonPayView.swift – Integration card for cryptocurrency top-up via MoonPay partner
  • SocialsView.swift – Social media engagement card with call-to-action for following social channels
  • StaticBackgroundView.swift – Reusable background component with gradient and image overlay for MoonPay and Socials cards
  • Game hub artwork assets – Star background, welcome background, MoonPay section background, and socials section background images

Modifications

  • BentoBackgroundHelpers.swift – Added StaticBackgroundView struct for static image backgrounds; updated maskGradientStops in MainGradientStyle.darkStyle to use custom color stops instead of black
  • NewMainView.swift – Replaced GridWaveContentView with LinearGradient for dark theme background; refactored LTC price and favorites bento layout into a GeometryReader wrapper with adjusted height proportions; added socialsURL property
  • FavouritesBentoView.swift – Reduced favoriteTileSize from height * 0.4 to height * 0.2 for more compact display
  • TransactionHistoryBentoView.swift – Added frame height binding that adapts based on detailIsShowing state
  • Brainwallet+Color.swift – Added spacing and comment formatting to BentoColor struct
  • Localizable.xcstrings – Updated localization strings (content not fully visible in diff)
  • project.pbxproj – Updated Xcode project file to include new files and asset groups

Removals

  • GameHubBentoView.swift (old location: Bento Views folder) – Moved to new Game Hub Bentos subfolder and integrated into carousel architecture; old standalone version deleted

📊 Statistics

  • Additions: 541 lines
  • Deletions: 164 lines
  • Files Changed: 24
  • Commits: 4

🧪 Tests Status

  • Tests ran successfully locally?
  • Code coverage percentage of the codebase: 8.9%

📸 Screenshots/Videos

Action Carousel
add-carousel

🎯 Reviewers

@josikie
@kcw-grunt


Draft Status: This PR is currently in draft mode and ready for review feedback.

@kcw-grunt
kcw-grunt requested a review from josikie April 26, 2026 13:13
@kcw-grunt kcw-grunt self-assigned this Apr 26, 2026
@kcw-grunt kcw-grunt added enhancement New feature or request ios labels Apr 26, 2026
Languages: ar, de, es-419, fa-IR, fr, hi, id, it, ja, ko, pa, pl, pt-BR, nl, ru, sv, th, tr, uk, zh-Hans, zh-Hant
Triggered by: 4349d41
@gruntsoftware gruntsoftware deleted a comment from github-actions Bot Apr 26, 2026
@kcw-grunt
kcw-grunt merged commit bd0e8e8 into develop Apr 26, 2026
0 of 2 checks passed
@kcw-grunt
kcw-grunt deleted the add-gamehub-carousel branch May 3, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ios

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant