From 49bc7dc60a4a093b5d6e378b092739cde226c7ad Mon Sep 17 00:00:00 2001 From: Leons Aleksandrovs <58330666+Skrazzo@users.noreply.github.com> Date: Sun, 6 Jul 2025 22:04:12 +0300 Subject: [PATCH 1/6] Prepeared for template creation --- frontend/src/components/Header.tsx | 17 ++++++--- frontend/src/components/ui/button.tsx | 15 +++++++- frontend/src/layouts/Authorised.tsx | 2 +- frontend/src/routeTree.gen.ts | 48 ++++++++++++++++++++++-- frontend/src/routes/index.tsx | 2 +- frontend/src/routes/templates/create.tsx | 16 ++++++++ frontend/src/routes/templates/index.tsx | 24 ++++++++++++ 7 files changed, 113 insertions(+), 11 deletions(-) create mode 100644 frontend/src/routes/templates/create.tsx create mode 100644 frontend/src/routes/templates/index.tsx diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index 0cf105f..eca394b 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -1,14 +1,21 @@ import { Link } from "@tanstack/react-router"; -import { House } from "lucide-react"; +import { House, LayoutTemplate } from "lucide-react"; + +const linkClass = { className: "flex items-center gap-2" }; +const iconProps = { size: 20 }; export default function Header() { return ( -
-