diff --git a/package-lock.json b/package-lock.json index 4f4598a..d70aa12 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,6 +43,9 @@ "tailwindcss": "^3.4.1", "typescript": "^5.2.2", "vite": "^5.0.8" + }, + "engines": { + "node": ">=22.0.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/public/_redirects b/public/_redirects new file mode 100644 index 0000000..ad37e2c --- /dev/null +++ b/public/_redirects @@ -0,0 +1 @@ +/* /index.html 200 diff --git a/src/App.tsx b/src/App.tsx index 8306762..fa9b8bb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,73 +1,76 @@ import { BrowserRouter as Router, Routes, Route, Link } from 'react-router-dom'; import './App.css'; -import { Key, ShieldCheck } from 'lucide-react'; -import { ThemeProvider } from './hooks/use-theme' +import { Key, ShieldCheck, FileText, ExternalLink } from 'lucide-react'; +import { ThemeProvider } from './hooks/use-theme'; +import { ToastProvider } from './hooks/use-toast'; import { ThemeToggle } from './components/ui/theme-toggle'; // Import page components import Keys from './components/pages/Keys'; +import Templates from './components/pages/Templates'; import ActivationKeyEditor from './components/pages/ActivationKeyEditor'; function App() { const menuItems = [ - { title: "Activation Key Editor", icon: ShieldCheck, path: "/" }, + { title: "Editor", icon: ShieldCheck, path: "/" }, + { title: "Templates", icon: FileText, path: "/templates" }, { title: "Keys", icon: Key, path: "/keys" }, ]; return ( + -
-