RiftScope is the initial structure for a League of Legends stats website built with Next.js, TypeScript, and Tailwind CSS.
The current version focuses on a clean, mobile-first foundation with a gaming-inspired UI, reusable components, and placeholder pages that are ready for future Riot API integration.
- Next.js 14 with the App Router
- TypeScript
- Tailwind CSS
- ESLint
- Install dependencies:
npm install- Start the development server:
npm run dev- Open
http://localhost:3000
app/
layout.tsx Global layout and metadata
page.tsx Homepage
globals.css Tailwind imports and global styles
player-profile/page.tsx Player profile placeholder page
recent-matches/page.tsx Recent matches placeholder page
top-champions/page.tsx Top champions placeholder page
components/
feature-card.tsx Homepage feature links
placeholder-page.tsx Reusable placeholder layout
search-panel.tsx Riot ID search UI block
site-header.tsx Header with branding and navigation
package.json Scripts and dependencies
tailwind.config.ts Tailwind theme extensions
postcss.config.js Tailwind PostCSS integration
tsconfig.json TypeScript configuration
next.config.mjs Next.js configuration
/homepage with the RiftScope title, subtitle, Riot ID search bar, region selector, and CTA button/player-profileplaceholder page/recent-matchesplaceholder page/top-championsplaceholder page
- No external API is connected yet
- The search form is static on purpose
- Shared components are separated early to keep the codebase easy to scale
- Comments are included where they help explain intent without adding noise
npm run devstarts the local development servernpm run buildcreates a production buildnpm run startruns the production servernpm run lintruns linting