multiple breakpoints

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-06-20 23:25:18 +02:00
parent c07f0d302c
commit cf8617e809
48 changed files with 908 additions and 432 deletions

View File

@@ -0,0 +1,24 @@
const properties = {
has_profile: 'Has a profile',
name: 'Name',
path: 'Path',
origin: 'Origin',
referrer: 'Referrer',
referrer_name: 'Referrer name',
duration: 'Duration',
created_at: 'Created at',
country: 'Country',
city: 'City',
region: 'Region',
os: 'OS',
os_version: 'OS version',
browser: 'Browser',
browser_version: 'Browser version',
device: 'Device',
brand: 'Brand',
model: 'Model',
};
export function getPropertyLabel(property: string) {
return properties[property as keyof typeof properties] || property;
}