Merge branch 'analytics' into dev

# Conflicts:
#	.gitignore
#	src/app/api/share/[slug]/route.ts
#	src/app/share/[...shareId]/SharePage.tsx
This commit is contained in:
Mike Cao 2026-01-22 17:44:45 -08:00
commit adea3e9b1c
7 changed files with 148 additions and 62 deletions

View file

@ -56,7 +56,7 @@ export function SharePage({ shareId, path = '' }: { shareId: string; path?: stri
return null;
}
const { websiteId, parameters = {} } = shareToken;
const { websiteId, parameters = {}, whiteLabel } = shareToken;
// Check if the requested path is allowed
const pageKey = path || '';
@ -84,10 +84,11 @@ export function SharePage({ shareId, path = '' }: { shareId: string; path?: stri
</Column>
<PageBody gap>
<WebsiteProvider websiteId={websiteId}>
<WebsiteHeader showActions={false} />
<Header whiteLabel={whiteLabel} />
<Column>
<PageComponent websiteId={websiteId} />
</Column>
<Footer whiteLabel={whiteLabel} />
</WebsiteProvider>
</PageBody>
</Grid>