diff --git a/public/icon-192.png b/public/icon-192.png new file mode 100644 index 0000000..c60a041 Binary files /dev/null and b/public/icon-192.png differ diff --git a/public/icon-512.png b/public/icon-512.png new file mode 100644 index 0000000..0de1452 Binary files /dev/null and b/public/icon-512.png differ diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest new file mode 100644 index 0000000..6e0f6dd --- /dev/null +++ b/public/manifest.webmanifest @@ -0,0 +1,14 @@ +{ + "name": "top-tickets", + "short_name": "top-tickets", + "description": "Helpdesk for support@top-sysops.ru, Telegram, and the web.", + "start_url": "/dashboard", + "scope": "/", + "display": "standalone", + "background_color": "#f8f7fb", + "theme_color": "#6d28d9", + "icons": [ + { "src": "/icon-192.png", "sizes": "192x192", "type": "image/png", "purpose": "any" }, + { "src": "/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" } + ] +} diff --git a/src/app/(admin)/layout.tsx b/src/app/(admin)/layout.tsx index 50f1fcc..5320b16 100644 --- a/src/app/(admin)/layout.tsx +++ b/src/app/(admin)/layout.tsx @@ -3,7 +3,7 @@ import Link from "next/link"; import { Ticket } from "lucide-react"; import { getCurrentSession } from "@/lib/auth/session"; import { LogoutButton } from "./logout-button"; -import { NavLinks } from "./nav-links"; +import { NavShell } from "./nav-shell"; import { ThemeToggle } from "./theme-toggle"; import { SettingsMenu } from "./settings-menu"; import { NotificationToggle } from "./notification-toggle"; @@ -21,18 +21,18 @@ export default async function AdminLayout({ children }: { children: React.ReactN return (