mirror of
https://github.com/umami-software/umami.git
synced 2026-02-17 02:55:38 +01:00
New schema for pixels and links.
This commit is contained in:
parent
c60e8b3d23
commit
88639dfe83
67 changed files with 993 additions and 208 deletions
|
|
@ -1,25 +1,6 @@
|
|||
'use client';
|
||||
import { Column, Icon, Row, Text } from '@umami/react-zen';
|
||||
import { WebsiteSettingsPage } from '@/app/(main)/settings/websites/[websiteId]/WebsiteSettingsPage';
|
||||
import { LinkButton } from '@/components/common/LinkButton';
|
||||
import { Arrow } from '@/components/icons';
|
||||
import { useNavigation } from '@/components/hooks';
|
||||
|
||||
export function SettingsPage({ websiteId }: { websiteId: string }) {
|
||||
const { pathname } = useNavigation();
|
||||
return (
|
||||
<Column gap>
|
||||
<Row marginTop="3">
|
||||
<LinkButton href={pathname.replace('/settings', '')}>
|
||||
<Row alignItems="center" gap>
|
||||
<Icon rotate={180}>
|
||||
<Arrow />
|
||||
</Icon>
|
||||
<Text>Back</Text>
|
||||
</Row>
|
||||
</LinkButton>
|
||||
</Row>
|
||||
<WebsiteSettingsPage websiteId={websiteId} />
|
||||
</Column>
|
||||
);
|
||||
return <WebsiteSettingsPage websiteId={websiteId} />;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue