feat(nav): Add Android App download link to sidebar
This commit is contained in:
parent
34b34bd5b5
commit
b95302c451
1 changed files with 13 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { Link, useLocation } from 'react-router-dom';
|
import { Link, useLocation } from 'react-router-dom';
|
||||||
import { motion } from 'framer-motion';
|
import { motion } from 'framer-motion';
|
||||||
import { ChevronRight, LayoutDashboard, Database, ClipboardList, ShieldCheck, Settings, Users, Box, ThermometerSun, Sprout } from 'lucide-react';
|
import { ChevronRight, LayoutDashboard, Database, ClipboardList, ShieldCheck, Settings, Users, Box, ThermometerSun, Sprout, Smartphone } from 'lucide-react';
|
||||||
import { usePermissions } from '../../hooks/usePermissions';
|
import { usePermissions } from '../../hooks/usePermissions';
|
||||||
import { getFilteredNavSections, type NavSection as NavSectionType, type NavItem } from '../../lib/navigation';
|
import { getFilteredNavSections, type NavSection as NavSectionType, type NavItem } from '../../lib/navigation';
|
||||||
import { cn } from '../../lib/utils';
|
import { cn } from '../../lib/utils';
|
||||||
|
|
@ -29,6 +29,18 @@ export function Sidebar({ onItemClick }: SidebarProps) {
|
||||||
onItemClick={onItemClick}
|
onItemClick={onItemClick}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|
||||||
|
<div className="pt-4 border-t border-[var(--color-border-subtle)] mt-4">
|
||||||
|
<a
|
||||||
|
href="/veridian-v2.apk"
|
||||||
|
className="group flex items-center gap-3 px-3 py-2 rounded-lg text-slate-600 dark:text-[var(--color-text-tertiary)] hover:bg-slate-100 dark:hover:bg-slate-900 hover:text-slate-900 dark:hover:text-slate-200 transition-all duration-200"
|
||||||
|
>
|
||||||
|
<div className="p-1.5 rounded-md bg-[var(--color-bg-tertiary)] text-[var(--color-text-tertiary)] group-hover:bg-slate-200 dark:group-hover:bg-slate-800 transition-all duration-300">
|
||||||
|
<Smartphone size={14} strokeWidth={2} />
|
||||||
|
</div>
|
||||||
|
<span className="truncate text-[13px] tracking-tight">Download Android App</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue