feat: fix alot of issues
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@kooltab/dashboard",
|
||||
"name": "@kooltap/dashboard",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
@@ -11,7 +11,7 @@
|
||||
"clean": "echo 'clean'"
|
||||
},
|
||||
"dependencies": {
|
||||
"@kooltab/shared": "workspace:*",
|
||||
"@kooltap/shared": "workspace:*",
|
||||
"@radix-ui/react-alert-dialog": "^1.0.5",
|
||||
"@radix-ui/react-dialog": "^1.0.5",
|
||||
"@radix-ui/react-dropdown-menu": "^2.0.6",
|
||||
|
||||
@@ -84,7 +84,7 @@ export default function DashboardLayout({
|
||||
<button onClick={() => setSidebarOpen(!sidebarOpen)} className="p-2">
|
||||
{sidebarOpen ? <X className="h-5 w-5" /> : <Menu className="h-5 w-5" />}
|
||||
</button>
|
||||
<span className="font-semibold">KoolTab</span>
|
||||
<span className="font-semibold">KoolTap</span>
|
||||
<div className="w-9" />
|
||||
</div>
|
||||
|
||||
@@ -105,7 +105,7 @@ export default function DashboardLayout({
|
||||
>
|
||||
<div className="flex flex-col h-full">
|
||||
<div className="p-6 border-b">
|
||||
<h2 className="text-xl font-bold">KoolTab</h2>
|
||||
<h2 className="text-xl font-bold">KoolTap</h2>
|
||||
{venue && (
|
||||
<p className="text-sm text-muted-foreground mt-1">{venue.name}</p>
|
||||
)}
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Providers } from './providers';
|
||||
const inter = Inter({ subsets: ['latin'] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'KoolTab - Remote Tab Control',
|
||||
title: 'KoolTap - Remote Tab Control',
|
||||
description: 'Manage tabs remotely across your venue',
|
||||
};
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ export default function LoginPage() {
|
||||
<div className="min-h-screen flex items-center justify-center bg-gradient-to-br from-slate-100 to-slate-200 p-4">
|
||||
<Card className="w-full max-w-md">
|
||||
<CardHeader className="space-y-1 text-center">
|
||||
<CardTitle className="text-2xl font-bold">KoolTab</CardTitle>
|
||||
<CardTitle className="text-2xl font-bold">KoolTap</CardTitle>
|
||||
<CardDescription>Remote Tab Control Dashboard</CardDescription>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
|
||||
@@ -335,13 +335,13 @@ export function LanguageProvider({ children }: { children: ReactNode }) {
|
||||
const [lang, setLangState] = useState<Lang>('en');
|
||||
|
||||
useEffect(() => {
|
||||
const stored = localStorage.getItem('kooltab-lang') as Lang | null;
|
||||
const stored = localStorage.getItem('kooltap-lang') as Lang | null;
|
||||
if (stored === 'en' || stored === 'nl') setLangState(stored);
|
||||
}, []);
|
||||
|
||||
function setLang(l: Lang) {
|
||||
setLangState(l);
|
||||
localStorage.setItem('kooltab-lang', l);
|
||||
localStorage.setItem('kooltap-lang', l);
|
||||
}
|
||||
|
||||
function t(key: string, params?: Record<string, string | number>): string {
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
"@/*": [
|
||||
"./src/*"
|
||||
],
|
||||
"@kooltab/shared": [
|
||||
"@kooltap/shared": [
|
||||
"../../packages/shared/src"
|
||||
]
|
||||
},
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user