diff --git a/next-app/src/app/kiarva/layout.tsx b/next-app/src/app/kiarva/layout.tsx new file mode 100644 index 0000000..9a897f1 --- /dev/null +++ b/next-app/src/app/kiarva/layout.tsx @@ -0,0 +1,15 @@ +export default function Layout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( +
+
+
+ {children} +
+
+
+ ); +} diff --git a/next-app/src/app/kiarva/page.tsx b/next-app/src/app/kiarva/page.tsx index 6d8a908..47170b6 100644 --- a/next-app/src/app/kiarva/page.tsx +++ b/next-app/src/app/kiarva/page.tsx @@ -5,6 +5,28 @@ import { TrackPageViewIfEnabled } from "@/util/cookiesHandling"; // simport Iframe from "react-iframe"; +export default function KiarvaIFramePage(): ReactElement { + TrackPageViewIfEnabled(); + + const kiarva_hostname = "https://kiarva.scilifelab.se/"; + + return ( + + ); +} /* + +// The following code is not used in the current version of the app. It is kept here for reference. +/* +"use client"; + +import { ReactElement } from "react"; +import { TrackPageViewIfEnabled } from "@/util/cookiesHandling"; + +// simport Iframe from "react-iframe"; + export default function KiarvaIFramePage(): ReactElement { TrackPageViewIfEnabled(); @@ -14,8 +36,8 @@ export default function KiarvaIFramePage(): ReactElement { <>
@@ -48,3 +70,4 @@ export default function KiarvaIFramePage(): ReactElement { ); } +*/