Compare commits
4 Commits
a4bfb35ca7
...
ca2b05a55b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca2b05a55b | ||
| acc6bc4359 | |||
| 5dfe1fbb98 | |||
| fdbd88dd7e |
18
frontend/pnpm-lock.yaml
generated
18
frontend/pnpm-lock.yaml
generated
@ -22,7 +22,7 @@ importers:
|
|||||||
version: 19.2.1(react@19.2.1)
|
version: 19.2.1(react@19.2.1)
|
||||||
react-router-dom:
|
react-router-dom:
|
||||||
specifier: ^7.10.1
|
specifier: ^7.10.1
|
||||||
version: 7.10.1(react-dom@19.2.1(react@19.2.1))(react@19.2.1)
|
version: 7.12.0(react-dom@19.2.1(react@19.2.1))(react@19.2.1)
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@eslint/js':
|
'@eslint/js':
|
||||||
specifier: ^9.39.1
|
specifier: ^9.39.1
|
||||||
@ -425,7 +425,7 @@ packages:
|
|||||||
resolution: {integrity: sha512-EcA07pHJouywpzsoTUqNh5NwGayl2PPVEJKUSinGGSxFGYn+shYbqMGBg6FXDqgXum9Ou/ecb+411ssw8HImJQ==}
|
resolution: {integrity: sha512-EcA07pHJouywpzsoTUqNh5NwGayl2PPVEJKUSinGGSxFGYn+shYbqMGBg6FXDqgXum9Ou/ecb+411ssw8HImJQ==}
|
||||||
engines: {node: ^20.19.0 || >=22.12.0}
|
engines: {node: ^20.19.0 || >=22.12.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0
|
vite: npm:rolldown-vite@7.2.5
|
||||||
|
|
||||||
acorn-jsx@5.3.2:
|
acorn-jsx@5.3.2:
|
||||||
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
|
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
|
||||||
@ -872,15 +872,15 @@ packages:
|
|||||||
resolution: {integrity: sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==}
|
resolution: {integrity: sha512-QgT5//D3jfjJb6Gsjxv0Slpj23ip+HtOpnNgnb2S5zU3CB26G/IDPGoy4RJB42wzFE46DRsstbW6tKHoKbhAxw==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
react-router-dom@7.10.1:
|
react-router-dom@7.12.0:
|
||||||
resolution: {integrity: sha512-JNBANI6ChGVjA5bwsUIwJk7LHKmqB4JYnYfzFwyp2t12Izva11elds2jx7Yfoup2zssedntwU0oZ5DEmk5Sdaw==}
|
resolution: {integrity: sha512-pfO9fiBcpEfX4Tx+iTYKDtPbrSLLCbwJ5EqP+SPYQu1VYCXdy79GSj0wttR0U4cikVdlImZuEZ/9ZNCgoaxwBA==}
|
||||||
engines: {node: '>=20.0.0'}
|
engines: {node: '>=20.0.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: '>=18'
|
react: '>=18'
|
||||||
react-dom: '>=18'
|
react-dom: '>=18'
|
||||||
|
|
||||||
react-router@7.10.1:
|
react-router@7.12.0:
|
||||||
resolution: {integrity: sha512-gHL89dRa3kwlUYtRQ+m8NmxGI6CgqN+k4XyGjwcFoQwwCWF6xXpOCUlDovkXClS0d0XJN/5q7kc5W3kiFEd0Yw==}
|
resolution: {integrity: sha512-kTPDYPFzDVGIIGNLS5VJykK0HfHLY5MF3b+xj0/tTyNYL1gF1qs7u67Z9jEhQk2sQ98SUaHxlG31g1JtF7IfVw==}
|
||||||
engines: {node: '>=20.0.0'}
|
engines: {node: '>=20.0.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: '>=18'
|
react: '>=18'
|
||||||
@ -1852,13 +1852,13 @@ snapshots:
|
|||||||
|
|
||||||
react-refresh@0.18.0: {}
|
react-refresh@0.18.0: {}
|
||||||
|
|
||||||
react-router-dom@7.10.1(react-dom@19.2.1(react@19.2.1))(react@19.2.1):
|
react-router-dom@7.12.0(react-dom@19.2.1(react@19.2.1))(react@19.2.1):
|
||||||
dependencies:
|
dependencies:
|
||||||
react: 19.2.1
|
react: 19.2.1
|
||||||
react-dom: 19.2.1(react@19.2.1)
|
react-dom: 19.2.1(react@19.2.1)
|
||||||
react-router: 7.10.1(react-dom@19.2.1(react@19.2.1))(react@19.2.1)
|
react-router: 7.12.0(react-dom@19.2.1(react@19.2.1))(react@19.2.1)
|
||||||
|
|
||||||
react-router@7.10.1(react-dom@19.2.1(react@19.2.1))(react@19.2.1):
|
react-router@7.12.0(react-dom@19.2.1(react@19.2.1))(react@19.2.1):
|
||||||
dependencies:
|
dependencies:
|
||||||
cookie: 1.1.1
|
cookie: 1.1.1
|
||||||
react: 19.2.1
|
react: 19.2.1
|
||||||
|
|||||||
@ -333,9 +333,9 @@ export function EditGame({ onShowToast }: Props) {
|
|||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
value={price}
|
value={price}
|
||||||
onChange={(e) => setPrice(Number(e.target.value.replace(',', '.')))}
|
onChange={(e) => setPrice(Math.ceil(Number(e.target.value.replace(',', '.'))))}
|
||||||
min="0"
|
min="0"
|
||||||
step="0.01"
|
step="1"
|
||||||
style={inputStyles}
|
style={inputStyles}
|
||||||
className="add-game-input"
|
className="add-game-input"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -78,7 +78,7 @@ export function GameFilter() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="filter-group">
|
<div className="filter-group">
|
||||||
<label htmlFor="max-price">Maximum price ($)</label>
|
<label htmlFor="max-price">Maximum price (€)</label>
|
||||||
<input
|
<input
|
||||||
id="max-price"
|
id="max-price"
|
||||||
type="number"
|
type="number"
|
||||||
|
|||||||
@ -463,9 +463,9 @@ export function GameList({ onShowToast }: Props) {
|
|||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
value={price}
|
value={price}
|
||||||
onChange={(e) => setPrice(Number(e.target.value.replace(',', '.')))}
|
onChange={(e) => setPrice(Math.ceil(Number(e.target.value.replace(',', '.'))))}
|
||||||
min="0"
|
min="0"
|
||||||
step="0.01"
|
step="1"
|
||||||
style={inputStyles}
|
style={inputStyles}
|
||||||
className="add-game-input"
|
className="add-game-input"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -86,7 +86,7 @@ export function FilteredGamesList({
|
|||||||
fontWeight: 600,
|
fontWeight: 600,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
${price === 0 ? "0 (Free)" : price}
|
{price === 0 ? "0 (Free)" : price}€
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<GameImage game={game} />
|
<GameImage game={game} />
|
||||||
|
|||||||
@ -129,7 +129,6 @@ ul {
|
|||||||
--secondary-bg: rgb(0, 0, 0, 0.7); /* Translucent cards */
|
--secondary-bg: rgb(0, 0, 0, 0.7); /* Translucent cards */
|
||||||
--secondary-alt-bg: rgb(20, 20, 20, 0.6); /* Translucent inputs */
|
--secondary-alt-bg: rgb(20, 20, 20, 0.6); /* Translucent inputs */
|
||||||
--tertiary-bg: rgb(40, 40, 40, 0.8);
|
--tertiary-bg: rgb(40, 40, 40, 0.8);
|
||||||
--border-color: rgb(255, 255, 255, 0.15);
|
|
||||||
--text-color: #ffffff;
|
--text-color: #ffffff;
|
||||||
--accent-color: #121212;
|
--accent-color: #121212;
|
||||||
--secondary-accent: #212121;
|
--secondary-accent: #212121;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user