Add frontend

This commit is contained in:
Andras Schmelczer 2026-01-25 21:07:48 +00:00
parent ab704c0dc0
commit 77c9a40dbf
17 changed files with 9388 additions and 0 deletions

View file

@ -0,0 +1,16 @@
// Filter configuration constants
export const YEAR_MIN = 1995;
export const YEAR_MAX = 2024;
export const YEAR_STEP = 1;
export const PRICE_MIN = 0;
export const PRICE_MAX = 2000000;
export const PRICE_STEP = 50000;
export const DEFAULT_FILTERS = {
minYear: 2020,
maxYear: YEAR_MAX,
minPrice: PRICE_MIN,
maxPrice: PRICE_MAX,
};

View file

@ -0,0 +1,4 @@
import { clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
export const cn = (...inputs) => twMerge(clsx(inputs));