diff --git a/src/components/header.tsx b/src/components/header.tsx new file mode 100644 index 0000000..de87534 --- /dev/null +++ b/src/components/header.tsx @@ -0,0 +1,23 @@ +import { Header as KvibHeader } from "@kvib/react"; + +export function Header() { + return ( +
+ + +
+ ); +} + +function WarningBanner() { + return ( +
+

+ Denne siden er under utvikling. Vi er ikke helt sikre på at alt funker + som det skal. +

+

Alt innhold blir liggende offentlig tilgjengelig.

+

Vær forsiktig med å legge inn sensitiv/hemmelig informasjon.

+
+ ); +} diff --git a/src/routes/__root.tsx b/src/routes/__root.tsx index 0da51e7..c30992d 100644 --- a/src/routes/__root.tsx +++ b/src/routes/__root.tsx @@ -1,4 +1,5 @@ -import { FooterInline, Header, KvibProvider } from "@kvib/react"; +import { Header } from "@/components/header"; +import { FooterInline, KvibProvider } from "@kvib/react"; import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { createRootRoute, Outlet } from "@tanstack/react-router"; @@ -9,9 +10,7 @@ export const Route = createRootRoute({
-
-
-
+