###📝 Catatan: Project ini dibuat untuk tugas kuliah dan tidak terhubung dengan server pembayaran nyata. Semua fitur topup hanya simulasi untuk demo purposes.
Selamat datang di Website TopUp Game Premium! Ini adalah platform topup game modern dengan tampilan yang memukau dan animasi spektakuler. Website ini dibuat menggunakan Next.js 14, TypeScript, Tailwind CSS, dan Framer Motion untuk memberikan pengalaman pengguna terbaik.
- 🎮 Top Up - Halaman utama dengan 5 kategori game lengkap
- 🔍 Check Transaction - Sistem pencarian transaksi dengan nomor invoice
- 🏆 Leaderboard - Ranking top spender dengan animasi podium yang keren
- 📱 Credit - Pembelian pulsa & paket data untuk 7 provider Indonesia
- 🆕 New Release - Game-game terbaru dan trending
- ⚡ Direct Topup - Topup langsung tanpa perlu login akun game
- 🔐 Via Login - Topup melalui login akun game
- 🎬 Entertainment - Layanan streaming & subscription
- 🎫 Voucher - Voucher digital dan game store
- 💥 Splash Animation - Animasi loading spektakuler saat klik game (sesuai gambar No 10-11)
- 🌊 Smooth Transitions - Transisi halus antar halaman dan komponen
- ✨ Hover Effects - Efek hover yang responsif dan interaktif
- 🔮 Glass Morphism - Efek kaca modern dengan backdrop blur
- 🌈 Dynamic Gradients - Efek cahaya dan gradient yang berubah dinamis
- ⭐ Floating Particles - Background dengan efek partikel bergerak
- 💫 Loading Skeletons - Loading states yang smooth
- 🎪 Staggered Animations - Animasi bertahap yang terkoordinasi
- 📱 Mobile First - Dioptimalkan untuk mobile
- 💻 Desktop Perfect - Tampilan sempurna di semua ukuran layar
- 👆 Touch Friendly - Interface ramah untuk perangkat sentuh
- 🌙 Dark Mode - Desain gelap yang nyaman untuk mata
- ⚛️ Next.js 14 - React framework dengan App Router
- 📝 TypeScript - Type safety untuk kode yang reliable
- 🎨 Tailwind CSS - Utility-first CSS framework
- 🎬 Framer Motion - Library animasi React yang powerful
- 🎯 Lucide React - Icon library modern dan ringan
- Node.js 18.0 atau lebih baru
- npm 9.0+ atau yarn
- Git untuk version control
- Clone repository:
git clone <repository-url>
cd "Project Web Topup"- Install dependencies:
npm install- Jalankan development server:
npm run dev- Buka browser dan akses:
http://localhost:3000
npm run dev # Jalankan development server
npm run build # Build untuk production
npm run start # Jalankan production server
npm run lint # Linting kode
npm run type-check # Type checking TypeScript# Install Vercel CLI
npm i -g vercel
# Login ke Vercel
vercel login
# Deploy ke production
vercel --prodnpm run build
npm run export
# Upload folder 'out' ke Netlifynpm run build
npm run export
# Upload semua file di folder 'out' ke public_htmlProject Web Topup/
├── 📁 app/ # Next.js 14 App Router
│ ├── 🎨 globals.css # Global styles
│ ├── 📄 layout.tsx # Root layout
│ └── 🏠 page.tsx # Homepage utama
├── 📁 components/ # Komponen React
│ ├── 🎮 GameGrid.tsx # Grid game dengan animasi
│ ├── 🎯 GameDetail.tsx # Modal detail game & form topup
│ ├── 💥 SplashAnimation.tsx # Animasi splash screen
│ ├── ⭐ FeaturedGames.tsx # Featured games carousel
│ ├── 📊 Statistics.tsx # Statistik website
│ └── 📁 pages/ # Halaman individual
│ ├── 🔍 CheckTransaction.tsx
│ ├── 🏆 Leaderboard.tsx
│ └── 📱 Credit.tsx
├── 📁 public/ # Static assets
│ └── 📁 images/ # Gambar (bisa custom)
│ ├── 🎮 games/ # Icon game
│ ├── 🖼️ banners/ # Banner game
│ └── 📱 providers/ # Icon provider pulsa
├── 📁 types/ # TypeScript types
└── ⚙️ Config files
Website ini dirancang agar Anda dapat dengan mudah mengganti semua gambar dengan asset sendiri:
Lokasi: public/images/games/
- Format: JPG, PNG, WebP, SVG
- Ukuran optimal: 256x256px (rasio 1:1)
- Ukuran file: < 100KB
Lokasi: public/images/banners/
- Format: JPG, PNG, WebP
- Ukuran optimal: 1920x1080px (rasio 16:9)
- Ukuran file: < 500KB
Lokasi: public/images/providers/
- Format: JPG, PNG, SVG
- Ukuran optimal: 128x128px
- Provider: Telkomsel, Indosat, XL, Tri, Smartfren, By U, AXIS
Setelah menambah gambar, update path di app/page.tsx:
{
id: 1,
name: 'Mobile Legends',
icon: '/images/games/ml-custom-icon.jpg', // Ganti dengan gambar Anda
banner: '/images/games/ml-custom-banner.jpg', // Ganti dengan gambar Anda
category: 'new-release',
description: 'Top up Diamond Mobile Legends terbaik!',
isPopular: true
}Edit file tailwind.config.js:
colors: {
'primary': '#6366f1', // Warna utama (biru indigo)
'secondary': '#8b5cf6', // Warna kedua (ungu)
'accent': '#06b6d4', // Warna aksen (cyan)
'dark': '#0f172a', // Background gelap
'dark-light': '#1e293b', // Background gelap terang
}Edit file app/page.tsx pada array gameData:
{
id: 100,
name: 'Game Baru Keren',
icon: '/images/games/game-baru-icon.jpg',
banner: '/images/games/game-baru-banner.jpg',
category: 'new-release', // atau kategori lain
description: 'Deskripsi game baru yang menarik',
isPopular: true
}Edit di file app/page.tsx:
const [visibleItems, setVisibleItems] = useState(12) // Default 8, ubah sesuai keinginan
const loadMore = () => {
setVisibleItems(prev => prev + 12) // Increment per load more
}- Chrome 90+ (Direkomendasikan) ✅
- Firefox 88+ ✅
- Safari 14+ ✅
- Edge 90+ ✅
- Lighthouse Score: 95+ 🏆
- Core Web Vitals: Optimized ✅
- Loading Speed: < 2s ⚡
- Mobile Score: 90+ 📱
Sudah include meta tags optimal di app/layout.tsx:
- Title & Description SEO friendly
- Open Graph untuk social media
- Twitter Cards untuk share yang menarik
- Favicon dan Apple Touch Icons
- Gunakan
npm run devuntuk development server - Test di multiple devices dengan browser dev tools
- Optimize images sebelum upload
- Check console untuk error atau warning
- Use TypeScript untuk better code quality
- Consistent spacing menggunakan Tailwind classes
- Color harmony dengan color palette yang ada
- Animation duration yang tidak terlalu cepat/lambat
- Loading states untuk semua interactive elements
- Error handling yang user-friendly
- Test build sebelum deploy (
npm run build) - Environment variables untuk API keys
- Domain setup di Vercel dashboard
- HTTPS enforcement untuk security
- Analytics setup untuk monitoring
MIT License
Jika ada pertanyaan, bug, atau butuh bantuan:
- 📧 Email: aderama4a@gmail.com
- 📱 WhatsApp: +62 xxx-xxxx-xxxx
- 💬 Telegram: rama_xd
- 🐛 Issues: GitHub Issues
- Frontend Developer: Rama-X2
- UI/UX Designer: Berdasarkan mockup (Client Provided)
- Animation Specialist: Framer Motion Implementation
- Design Reference: (Client Provided)
- Icons: Lucide React
- Fonts: Inter (Google Fonts)
- Color Palette: Custom gradient scheme
- Framework: Next.js 14 with App Router
- Language: TypeScript untuk type safety
- Styling: Tailwind CSS untuk utility-first CSS
- Animations: Framer Motion untuk smooth animations
- Icons: Lucide React untuk modern icons
- Deployment: Vercel untuk seamless hosting
# Clone dan setup
git clone <repo-url> && cd "Project Web Topup"
npm install
# Development
npm run dev # Start development server
npm run build # Build untuk production
npm run start # Start production server
# Deploy ke Vercel (Recommended)
npm i -g vercel && vercel --prod
# Or manual deploy
npm run build && npm run export🎮 Dibuat dengan ❤️ menggunakan Next.js 14, TypeScript, dan Tailwind CSS
Website TopUp Game Premium - Platform terpercaya untuk kebutuhan gaming Anda
📝 Catatan: Project ini dibuat untuk tugas kuliah dan tidak terhubung dengan server pembayaran nyata. Semua fitur topup hanya simulasi untuk demo purposes.