Configuration Files:
config/shared/sections.ts & config/games/common.tsOverview
Shared sections are reusable components that appear on multiple pages:- Discord Banner - Call-to-action to join your Discord community
- Common Includes - Features included in all game server plans
config/shared/sections.ts
Quick Start
1
Edit the config file
Open
config/shared/sections.ts:2
Add to your pages
3
Test it
Discord Banner
A prominent call-to-action banner encouraging visitors to join your Discord server.Configuration
Fields
Note: The Discord URL is automatically pulled from your
socialLinks in config/branding.ts. Make sure you have a Discord link configured there.
Example
Where It Appears
The Discord Banner is commonly used on:- Bottom of product pages (games, VPS, dedicated)
- After contact form submission
- Partner program page
- Knowledge base articles
Styling
The banner features:- Gradient background - Purple to indigo gradient
- White button - High contrast for visibility
- Auto-scales - Responsive on mobile
- Discord icon - Built-in Discord logo
Best Practices
Do:- Keep title under 5 words
- Highlight community size (โJoin 10K+ gamersโ)
- Mention benefits (support, giveaways, updates)
- Use action-oriented button text
- Write long descriptions (2 lines max)
- Use generic text (โClick hereโ)
- Forget to set Discord URL in branding config
- Place on every single page (too repetitive)
Common Includes (Game Plans)
Displays features included in all game server plans. Shown on individual game pages below pricing.Configuration File
config/games/common.ts
Feature Object
Each feature has:Available Colors
Use Tailwind color classes:blue-400purple-400cyan-400green-400orange-400pink-400yellow-400red-400
Icon Names
Find icons at lucide.dev/icons Common hosting icons:Shield- Security/DDoS protectionZap- Speed/instant setupHardDrive- Storage (NVMe, SSD)LifeBuoy- SupportDatabase- BackupsLock- Security/access controlGlobe- Domains/networkingGauge- Performance/uptimeServer- InfrastructureCloud- Cloud services
Grid Layout
Features automatically display in a responsive grid:- Mobile: 2 columns
- Desktop: 4 columns
Complete Example
Best Practices
Do:- Keep titles concise (2-3 words)
- Use 8 features for grid balance
- Pick contrasting colors
- Highlight genuine value-adds
- List too many features (8 max)
- Use long feature names
- Repeat colors consecutively
- Include features specific to certain plans only
Where It Appears
The Common Includes section shows on:- Individual game pages (below pricing)
- After plan comparison tables
- Game template pages
Usage Examples
Adding Discord Banner
Adding Common Includes
Troubleshooting
Discord banner not linking correctly
Problem: Button links to# instead of Discord
Solution: Add Discord to your socialLinks in config/branding.ts:

