Skip to content

Scheduling infrastructure for absolutely everyone.

removing settings from bottom nav for all languages, truncate length (#979)

Peer Richelsen4d5b5663c0bf
diff --git a/components/Shell.tsx b/components/Shell.tsx
index 11caafad709..40a9360703c 100644
--- a/components/Shell.tsx
+++ b/components/Shell.tsx
@@ -257,7 +257,7 @@ export default function Shell(props: {
<nav className="fixed bottom-0 flex w-full bg-white shadow bottom-nav md:hidden">
{/* note(PeerRich): using flatMap instead of map to remove settings from bottom nav */}
{navigation.flatMap((item, itemIdx) =>
- item.name === "Settings" ? (
+ item.href === "/settings/profile" ? (
[]
) : (
<Link key={item.name} href={item.href}>
@@ -276,7 +276,7 @@ export default function Shell(props: {
)}
aria-hidden="true"
/>
- <span>{item.name}</span>
+ <span className="truncate">{item.name}</span>
</a>
</Link>
)