Add a static images manager and polish dashboard layout and fonts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-16 23:56:17 +03:30
co-authored by Cursor
parent e79211e3cd
commit b9024ad77a
57 changed files with 2025 additions and 122 deletions
+9 -2
View File
@@ -12,7 +12,11 @@ import { hasBusinessModule } from '../utils/businessModules'
import meshkeeLogo from '../assets/meshkee-logo.png'
import styles from './Sidebar.module.css'
export function Sidebar() {
interface SidebarProps {
open?: boolean
}
export function Sidebar({ open = false }: SidebarProps) {
const navigate = useNavigate()
const { user, logout } = useAuth()
const { locale } = useLocale()
@@ -65,7 +69,10 @@ export function Sidebar() {
}, [businessDomain, fallbackBusinessName, locale])
return (
<aside className={styles.sidebar}>
<aside
id="dashboard-sidebar"
className={`${styles.sidebar} ${open ? styles.open : ''}`}
>
<div className={styles.brand}>
<img
src={logoUrl || meshkeeLogo}