Compare commits

...

4 Commits

Author SHA1 Message Date
Renovate Bot
af60cf3c7a Update dependency ts-proto to v2.10.1 2026-01-12 11:04:59 +00:00
acc6bc4359 remove border from black theme 2026-01-12 11:21:45 +01:00
5dfe1fbb98 price rounding 2026-01-12 11:19:21 +01:00
fdbd88dd7e change $ to € 2026-01-12 11:14:42 +01:00
6 changed files with 21 additions and 17 deletions

View File

@ -53,7 +53,7 @@ importers:
version: 16.5.0 version: 16.5.0
ts-proto: ts-proto:
specifier: ^2.8.3 specifier: ^2.8.3
version: 2.8.3 version: 2.10.1
typescript: typescript:
specifier: ~5.9.3 specifier: ~5.9.3
version: 5.9.3 version: 5.9.3
@ -152,6 +152,9 @@ packages:
'@bufbuild/protobuf@2.10.1': '@bufbuild/protobuf@2.10.1':
resolution: {integrity: sha512-ckS3+vyJb5qGpEYv/s1OebUHDi/xSNtfgw1wqKZo7MR9F2z+qXr0q5XagafAG/9O0QPVIUfST0smluYSTpYFkg==} resolution: {integrity: sha512-ckS3+vyJb5qGpEYv/s1OebUHDi/xSNtfgw1wqKZo7MR9F2z+qXr0q5XagafAG/9O0QPVIUfST0smluYSTpYFkg==}
'@bufbuild/protobuf@2.10.2':
resolution: {integrity: sha512-uFsRXwIGyu+r6AMdz+XijIIZJYpoWeYzILt5yZ2d3mCjQrWUTVpVD9WL/jZAbvp+Ed04rOhrsk7FiTcEDseB5A==}
'@emnapi/core@1.7.1': '@emnapi/core@1.7.1':
resolution: {integrity: sha512-o1uhUASyo921r2XtHYOHy7gdkGLge8ghBEQHMWmyJFoXlpU58kIrhhN3w26lpQb6dspetweapMn2CSNwQ8I4wg==} resolution: {integrity: sha512-o1uhUASyo921r2XtHYOHy7gdkGLge8ghBEQHMWmyJFoXlpU58kIrhhN3w26lpQb6dspetweapMn2CSNwQ8I4wg==}
@ -425,7 +428,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==}
@ -990,11 +993,11 @@ packages:
ts-poet@6.12.0: ts-poet@6.12.0:
resolution: {integrity: sha512-xo+iRNMWqyvXpFTaOAvLPA5QAWO6TZrSUs5s4Odaya3epqofBu/fMLHEWl8jPmjhA0s9sgj9sNvF1BmaQlmQkA==} resolution: {integrity: sha512-xo+iRNMWqyvXpFTaOAvLPA5QAWO6TZrSUs5s4Odaya3epqofBu/fMLHEWl8jPmjhA0s9sgj9sNvF1BmaQlmQkA==}
ts-proto-descriptors@2.0.0: ts-proto-descriptors@2.1.0:
resolution: {integrity: sha512-wHcTH3xIv11jxgkX5OyCSFfw27agpInAd6yh89hKG6zqIXnjW9SYqSER2CVQxdPj4czeOhGagNvZBEbJPy7qkw==} resolution: {integrity: sha512-S5EZYEQ6L9KLFfjSRpZWDIXDV/W7tAj8uW7pLsihIxyr62EAVSiKuVPwE8iWnr849Bqa53enex1jhDUcpgquzA==}
ts-proto@2.8.3: ts-proto@2.10.1:
resolution: {integrity: sha512-TdXInqG+61pj/TvORqITWjvjTTsL1EZxwX49iEj89+xFAcqPT8tjChpAGQXzfcF4MJwvNiuoCEbBOKqVf3ds3g==} resolution: {integrity: sha512-4sOE1hCs0uobJgdRCtcEwdbc8MAyKP+LJqUIKxZIiKac0rPBlVKsRGEGo2oQ1MnKA2Wwk0KuGP2POkiCwPtebw==}
hasBin: true hasBin: true
tslib@2.8.1: tslib@2.8.1:
@ -1169,6 +1172,8 @@ snapshots:
'@bufbuild/protobuf@2.10.1': {} '@bufbuild/protobuf@2.10.1': {}
'@bufbuild/protobuf@2.10.2': {}
'@emnapi/core@1.7.1': '@emnapi/core@1.7.1':
dependencies: dependencies:
'@emnapi/wasi-threads': 1.1.0 '@emnapi/wasi-threads': 1.1.0
@ -1938,16 +1943,16 @@ snapshots:
dependencies: dependencies:
dprint-node: 1.0.8 dprint-node: 1.0.8
ts-proto-descriptors@2.0.0: ts-proto-descriptors@2.1.0:
dependencies: dependencies:
'@bufbuild/protobuf': 2.10.1 '@bufbuild/protobuf': 2.10.1
ts-proto@2.8.3: ts-proto@2.10.1:
dependencies: dependencies:
'@bufbuild/protobuf': 2.10.1 '@bufbuild/protobuf': 2.10.2
case-anything: 2.1.13 case-anything: 2.1.13
ts-poet: 6.12.0 ts-poet: 6.12.0
ts-proto-descriptors: 2.0.0 ts-proto-descriptors: 2.1.0
tslib@2.8.1: tslib@2.8.1:
optional: true optional: true

View File

@ -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"
/> />

View File

@ -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"

View File

@ -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"
/> />

View File

@ -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} />

View File

@ -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;