--- import BaseLayout from "./BaseLayout.astro"; const { title } = Astro.props; const navigation = [ { name: "Profile", href: "/settings/profile", icon: "user", color: "cyan" }, { name: "Account", href: "/settings/account", icon: "lock", color: "purple" }, { name: "Security", href: "/settings/security", icon: "shield", color: "orange" }, { name: "SSH Keys", href: "/settings/ssh-keys", icon: "key", color: "green" }, { name: "GPG Keys", href: "/settings/gpg-keys", icon: "lock", color: "pink" }, { name: "Access Tokens", href: "/settings/tokens", icon: "ticket", color: "yellow" }, ]; const icons: Record = { user: "M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z", lock: "M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z", shield: "M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z", key: "M15 7a2 2 0 012 2m4 0a6 6 0 01-7.743 5.743L11 17H9v2H7v2H4a1 1 0 01-1-1v-2.586a1 1 0 01.293-.707l5.964-5.964A6 6 0 1121 9z", ticket: "M15 5v2m0 4v2m0 4v2M5 5a2 2 0 00-2 2v3a2 2 0 110 4v3a2 2 0 002 2h14a2 2 0 002-2v-3a2 2 0 110-4V7a2 2 0 00-2-2H5z", }; const colors: Record = { cyan: { active: "bg-cyan-500/10 border-cyan-500/30", text: "text-cyan-400" }, purple: { active: "bg-purple-500/10 border-purple-500/30", text: "text-purple-400" }, orange: { active: "bg-orange-500/10 border-orange-500/30", text: "text-orange-400" }, green: { active: "bg-green-500/10 border-green-500/30", text: "text-green-400" }, pink: { active: "bg-pink-500/10 border-pink-500/30", text: "text-pink-400" }, yellow: { active: "bg-yellow-500/10 border-yellow-500/30", text: "text-yellow-400" }, }; const currentPath = Astro.url.pathname; ---