Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

remove duplicate logos and names on sharepage

Francis Caodaccd22ab23e
diff --git a/src/app/share/[...shareId]/SharePage.tsx b/src/app/share/[...shareId]/SharePage.tsx
index 95c2cdac2..35d44c7ab 100644
--- a/src/app/share/[...shareId]/SharePage.tsx
+++ b/src/app/share/[...shareId]/SharePage.tsx
@@ -96,8 +96,6 @@ export function SharePage({ shareId, path = '' }: { shareId: string; path?: stri
}
const { websiteId, parameters = {}, whiteLabel } = shareToken;
- const logoName = whiteLabel?.name || 'umami';
- const logoImage = whiteLabel?.image;
// Redirect to only allowed section - return null while redirecting
if (
@@ -128,16 +126,6 @@ export function SharePage({ shareId, path = '' }: { shareId: string; path?: stri
return <ShareNav shareId={shareId} parameters={parameters} onItemClick={close} />;
}}
</MobileMenuButton>
- <Row alignItems="center" justifyContent="center" gap>
- {whiteLabel?.image ? (
- <img src={logoImage} alt={logoName} style={{ height: 24 }} />
- ) : (
- <Icon>
- <Logo />
- </Icon>
- )}
- <Text weight="bold">{logoName}</Text>
- </Row>
</Grid>
</Row>
<Column