White-label support.

This commit is contained in:
Mike Cao 2026-01-22 01:50:24 -08:00
parent 52d9dd2871
commit f84e67b0e6
6 changed files with 93 additions and 13 deletions

View file

@ -26,15 +26,17 @@ export function SharePage({ shareId }) {
return null;
}
const { whiteLabel } = shareToken;
return (
<Column backgroundColor="2">
<PageBody gap>
<Header />
<Header whiteLabel={whiteLabel} />
<WebsiteProvider websiteId={shareToken.websiteId}>
<WebsiteHeader showActions={false} />
<WebsitePage websiteId={shareToken.websiteId} />
</WebsiteProvider>
<Footer />
<Footer whiteLabel={whiteLabel} />
</PageBody>
</Column>
);