Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/lib/components/shell/AppShell.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import CableIcon from "@lucide/svelte/icons/cable";
import CalendarDaysIcon from "@lucide/svelte/icons/calendar-days";
import ChartBarIcon from "@lucide/svelte/icons/chart-bar";
import ClipboardCheckIcon from "@lucide/svelte/icons/clipboard-check";
import CloudSunIcon from "@lucide/svelte/icons/cloud-sun";
import CompassIcon from "@lucide/svelte/icons/compass";
import GavelIcon from "@lucide/svelte/icons/gavel";
import GraduationCapIcon from "@lucide/svelte/icons/graduation-cap";
Expand Down Expand Up @@ -216,6 +217,11 @@ function buildShellNavGroups(
icon: SparklesIcon,
label: copy.nav.youngEvents,
},
{
href: "/catalog/weather",
icon: CloudSunIcon,
label: copy.nav.weather,
},
{ href: "/news", icon: ScrollTextIcon, label: copy.nav.news },
];
const usageLinks: ShellLink[] = [
Expand Down Expand Up @@ -402,6 +408,11 @@ function buildMobileSecondaryNavGroups(
icon: SparklesIcon,
label: copy.nav.youngEvents,
},
{
href: "/catalog/weather",
icon: CloudSunIcon,
label: copy.nav.weather,
},
{
href: "/news",
icon: ScrollTextIcon,
Expand Down
3 changes: 3 additions & 0 deletions src/lib/shell/layout-server-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const layoutMessages = {
publications: enUsMessages.publications,
profile: enUsMessages.profile,
theme: enUsMessages.theme,
weather: enUsMessages.weather,
youngEvents: enUsMessages.youngEvents,
},
"zh-cn": {
Expand All @@ -30,6 +31,7 @@ const layoutMessages = {
publications: zhCnMessages.publications,
profile: zhCnMessages.profile,
theme: zhCnMessages.theme,
weather: zhCnMessages.weather,
youngEvents: zhCnMessages.youngEvents,
},
};
Expand Down Expand Up @@ -70,6 +72,7 @@ export function buildLayoutCopy(locale: LayoutLocale) {
news: messages.publications.title,
todos: messages.meDashboard.nav.todos.title,
transitMap: messages.metadata.pages.busMap,
weather: messages.weather.title,
youngEvents: messages.youngEvents.title,
mobileApp: messages.metadata.pages.mobileApp,
prestoBot: messages.metadata.pages.prestoBot,
Expand Down