Skip to content

The open-source AI receptionist for businesses. Answers every call, books the appointment and hands over to a person when needed. You own the code and the data.

Nav: server icon for Server admin (PR 1901)

Janik3bb31f7dffcc
diff --git a/apps/web/src/shell/Nav.tsx b/apps/web/src/shell/Nav.tsx
index a55bbd00..5f1159e9 100644
--- a/apps/web/src/shell/Nav.tsx
+++ b/apps/web/src/shell/Nav.tsx
@@ -129,7 +129,7 @@ export function Nav({ open, docked = false, collapsed = false, onToggleCollapsed
<hr className="nav-sep" />
<NavItem label={pages.settings.title} icon="gear" keys={['G', 'S']} current={isSettingsRoute(route)} onClick={go(() => on.onPage('settings'))}
count={reviewCount} badge={reviewCount ? <span className="nav-n" title={t('shell.nav.reviewTip')}>{reviewCount}</span> : null} />
- {isInstanceAdmin && <NavItem muted label={pages.admin.title} icon="shield" keys={['G', 'D']}
+ {isInstanceAdmin && <NavItem muted label={pages.admin.title} icon="server" keys={['G', 'D']}
title={t('shell.nav.adminTip')} onClick={go(() => on.onPage('admin'))} />}
<div className="nav-foot">
<HelpMenu navOpen={open} onReport={kind => go(() => openReport(kind))()} />
diff --git a/apps/web/src/shell/commands.ts b/apps/web/src/shell/commands.ts
index 14dead1e..d778cae2 100644
--- a/apps/web/src/shell/commands.ts
+++ b/apps/web/src/shell/commands.ts
@@ -456,7 +456,7 @@ export function commandGroups(c: CommandContext): CommandGroup<Command>[] {
? [
{
label: t('shell.command.goToServerAdmin'),
- icon: 'shield',
+ icon: 'server',
shortcut: ['G', 'D'],
run: () => c.goPage('admin'),
} satisfies Command,
diff --git a/apps/web/src/ui/icons.ts b/apps/web/src/ui/icons.ts
index 808b0629..69e48eba 100644
--- a/apps/web/src/ui/icons.ts
+++ b/apps/web/src/ui/icons.ts
@@ -192,9 +192,9 @@ export const icons = {
],
],
server: [
- ['rect', { x: 2, y: 2, width: 20, height: 8, rx: 2 }],
- ['rect', { x: 2, y: 14, width: 20, height: 8, rx: 2 }],
- ['path', { d: 'M6 6h.01M6 18h.01' }],
+ ['rect', { x: 3.5, y: 3.5, width: 17, height: 7, rx: 2 }],
+ ['rect', { x: 3.5, y: 13.5, width: 17, height: 7, rx: 2 }],
+ ['path', { d: 'M7.5 7h.01M7.5 17h.01' }],
],
// pencil and copy follow Lucide (pencil, copy; ISC license).
pencil: [