-
Notifications
You must be signed in to change notification settings - Fork 0
feat(frontend): tredje visning – utstillingsrad for spillkort #56
Closed
+783
−278
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…gning i sidefeltet
Feat/theme
La til linje for å tvinge runner til å kjøre begge jobber uansett om en av de feiler silk at vi kan se om feilen ligger på backend eller frontend
Oppretter pnpm store hvis den ikke eksisterer
pls fungere nå ...
Feat/search suggestions
Feat/list from db
|
Lukker: endringene er allerede i dev, og PR-en pekte feil mot main. |
Sign in
to join this conversation on GitHub.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Legger til en tredje visning av søkeresultatene, «utstilling», ved siden av «liste» og «rutenett». Hvert spill vises som én bred rad med stort bilde til venstre og tittel, alle sjangre, rating og Metacritic til høyre.
Endringer:
types/game.ts: ny felles typeGameView('list' | 'grid' | 'showcase'), så visningene er definert ett stedGameCard.tsx: støttershowcase. Viser alle sjangre og Metacritic i alle visninger unntatt rutenettGameCard.css: ny seksjon for utstillingsraden: stort bilde, større tittel, store tall for rating/Metacritic, favoritt-knapp nederst. Bildet legger seg over teksten under 640pxGameList.tsx: brukerGameViewApp.tsx: ny knapp «utstilling» i visningsvalget (medaria-pressedsom de andre)KI-bruk: Claude ble brukt til å lage skisser av tre alternativer og foreslå kodeendringene. Jeg valgte alternativ, la inn endringene selv og testet i nettleseren.
Related Issue
Closes #55
Changes made
Checklist
Skjermbilder