Apps component displays download buttons for Geometry Dash across multiple platforms: iOS, Android (Google Play), and Steam.
Features
- Three platform download links (iOS, Android, Steam)
- Responsive grid layout
- Hover scale animations
- Bootstrap grid system integration
- External links with security attributes
Usage
- Basic Usage
- With Other Components
src/pages/index.astro
Component Code
The Apps component is a static component displaying three download options:src/components/Apps.astro
Download Links
The component includes links to three platforms:| Platform | URL | Package/App ID |
|---|---|---|
| iOS (App Store) | https://apps.apple.com/us/app/geometry-dash/id625334537 | id625334537 |
| Android (Google Play) | https://play.google.com/store/apps/details?id=com.robtopx.geometryjump | com.robtopx.geometryjump |
| Steam | https://store.steampowered.com/app/322170/Geometry_Dash/ | 322170 |
Responsive Layout
The component uses Bootstrap’s responsive grid system:Breakpoint Behavior
- Extra small devices (
< 576px): 2 columns (col-6) - Small devices (
≥ 576px): 3 columns (col-sm-4) - Medium+ devices (
≥ 768px): 3 columns (col-md-4)
Styling Features
Hover Scale Animation
All download buttons have a hover scale effect:Container Sizing
The component container has a fixed max-width:Responsive Images
All images use Bootstrap’s.img-fluid class:
Accessibility
All links:- Open in new tabs (
target="_blank") - Should include
rel="noopener noreferrer"for security (recommended enhancement) - Use descriptive image alt text (recommended enhancement)
Customization
Adding New Platform
To add a new platform (e.g., Nintendo Switch):src/components/Apps.astro
Making it Dynamic
To accept custom app links as props:src/components/Apps.astro
