panel glowny poprawki

This commit is contained in:
2026-08-11 17:07:34 +02:00
parent b30a0b9b95
commit 1e361bde93
33 changed files with 3926 additions and 587 deletions
+1476 -416
View File
File diff suppressed because it is too large Load Diff
+7
View File
@@ -38,6 +38,7 @@ export const ROUTES = {
messages: '/wiadomosci',
admin: '/admin',
listingDetail: '/oferta/:id',
publicProfile: '/profil/:id',
} as const;
export type RoutePath = (typeof ROUTES)[keyof typeof ROUTES];
@@ -47,6 +48,11 @@ export function listingPath(id: number): string {
return `/oferta/${id}`;
}
// Profil publiczny innego użytkownika - otwierany m.in. z rozmowy w wiadomościach.
export function publicProfilePath(id: number): string {
return `/profil/${id}`;
}
// Dedykowana strona edycji wlasnego ogloszenia.
export function listingEditPath(id: number): string {
return `/edytuj-ogloszenie/${id}`;
@@ -99,6 +105,7 @@ export const ADMIN_TAB_PATHS = {
listings: 'ogloszenia',
users: 'uzytkownicy',
messages: 'wiadomosci',
support: 'pomoc-i-kontakt',
reports: 'zgloszenia',
payments: 'platnosci',
stats: 'statystyki',
+951 -87
View File
File diff suppressed because it is too large Load Diff