panel glowny poprawki
This commit is contained in:
+1476
-416
File diff suppressed because it is too large
Load Diff
@@ -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
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user