diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index 59dd95e..db5cc47 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -3,10 +3,12 @@ import { GameComponent } from './pages/game/game.component'; import { WelcomeComponent } from './pages/welcome/welcome.component'; import { ProfileComponent } from './pages/profile/profile.component'; import { ChallengesComponent } from './pages/challenges/challenges.component'; +import { GamesComponent } from './pages/games/games.component'; export const routes: Routes = [ { path: '', component: WelcomeComponent }, { path: 'profile', component: ProfileComponent }, + { path: 'games', component: GamesComponent }, { path: 'challenges', component: ChallengesComponent }, { path: 'game/:gameId', component: GameComponent }, { path: '**', redirectTo: '' } diff --git a/src/app/components/toolbar/toolbar.component.css b/src/app/components/toolbar/toolbar.component.css index 6f5da3a..859c441 100644 --- a/src/app/components/toolbar/toolbar.component.css +++ b/src/app/components/toolbar/toolbar.component.css @@ -165,6 +165,30 @@ padding: 0 3px; } +/* ============ GAMES BUTTON ============ */ +.nc-games-btn { + display: inline-flex; + align-items: center; + gap: 6px; + height: 36px; + padding: 0 14px; + border: 1px solid var(--nc-border); + background: transparent; + color: var(--nc-text-muted); + font-family: inherit; + font-size: 11px; + font-weight: 600; + letter-spacing: 0.1em; + text-transform: uppercase; + cursor: pointer; + transition: background 0.15s, color 0.15s; +} + +.nc-games-btn:hover { + background: var(--nc-accent-hover); + color: var(--nc-text); +} + /* ============ PROFILE BUTTON ============ */ .nc-profile { display: flex; diff --git a/src/app/components/toolbar/toolbar.component.html b/src/app/components/toolbar/toolbar.component.html index 5526099..6bcfdfe 100644 --- a/src/app/components/toolbar/toolbar.component.html +++ b/src/app/components/toolbar/toolbar.component.html @@ -101,6 +101,18 @@ } + + +