feat: Add user display in navigation

misc: styling/css cleanup
This commit is contained in:
2025-11-26 10:43:34 -05:00
parent 21b112f460
commit d671fbc130
5 changed files with 169 additions and 97 deletions

20
src/utils/navAssets.js Normal file
View File

@@ -0,0 +1,20 @@
export const padlockIconSvg = `
<svg class="w-4 h-4" fill="none" stroke="currentColor" stroke-width="2.2" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" d="M8.5 11V9a3.5 3.5 0 1 1 7 0v2" />
<rect x="7" y="11" width="10" height="8.5" rx="1.8" />
<circle cx="12" cy="15" r="1.2" fill="currentColor" />
</svg>
`;
export const userIconSvg = `
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="9" r="3.2" />
<path d="M5.5 19.5a6.5 6.5 0 0 1 13 0" />
</svg>
`;
export const externalLinkIconSvg = `
<svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"></path>
</svg>
`;