From b3cfc03d718a62446954e8fe16daea57f34573fb Mon Sep 17 00:00:00 2001 From: liliana <liliana.sanfilippo@uni-bielefeld.de> Date: Thu, 4 Jul 2024 17:54:36 +0200 Subject: [PATCH] impressum temp pleacement --- src/components/Footer.tsx | 4 ++-- src/contents/impressum.tsx | 2 +- src/contents/index.tsx | 1 + src/pages.ts | 11 ++++++++++- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 52ae0ff9..fd0a926d 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -12,7 +12,7 @@ export function Footer() { <div className="container"> <div className="col zweirem"> <span className="left"> - <a href="{{ url_for('pages', page='impressum') }}" className="middle">Impressum</a> + <a href="../impressum" className="middle">Impressum</a> </span> <span className="right"> <a href="https://www.linkedin.com/in/igem-bielefeld-cebitec"> @@ -37,7 +37,7 @@ export function Footer() { <div className="col-sm-8"> <div className="row align-items-center"> <div className="col"> - <a href="https://2024.igem.wiki/bielefeld-cebitec/partners"> + <a href="../partners"> <h6 className="alink">Spornsors and partners</h6> </a> </div> diff --git a/src/contents/impressum.tsx b/src/contents/impressum.tsx index 83d798c4..fa18ac8a 100644 --- a/src/contents/impressum.tsx +++ b/src/contents/impressum.tsx @@ -1,7 +1,7 @@ //import { Inspirations, InspirationLink } from "../components"; /* import { Sidebar } from "react-pro-sidebar"; */ -export function Home() { +export function Impressum() { return ( <> <div className="row"> diff --git a/src/contents/index.tsx b/src/contents/index.tsx index 2ec44d0c..e45485ed 100644 --- a/src/contents/index.tsx +++ b/src/contents/index.tsx @@ -28,5 +28,6 @@ export * from "./sustainable.tsx"; */ // Contribution export * from "./Bfh.tsx"; export * from "./wiki.tsx"; +export * from "./impressum.tsx"; diff --git a/src/pages.ts b/src/pages.ts index 70c417c5..ebfb77b4 100644 --- a/src/pages.ts +++ b/src/pages.ts @@ -12,7 +12,8 @@ Safety, Team, /* Sustainable, */ - Wiki + Wiki, + Impressum } from "./contents"; interface Base { @@ -61,6 +62,14 @@ const Pages: (Page | Folder)[] = [ lead: "In the iGEM Competition, we celebrate student effort and achievement. The Attributions form helps the judges differentiate between what students accomplished from how their external collaborators supported them. Therefore, teams must clearly explain on the standard Project Attributions form what work they have conducted by themselves and what has been done by others.", navlist: [""], }, + { + name: "Impressum", + title: "Impressum", + path: "/impressum", + component: Impressum, + lead: "In the iGEM Competition, we celebrate student effort and achievement. The Attributions form helps the judges differentiate between what students accomplished from how their external collaborators supported them. Therefore, teams must clearly explain on the standard Project Attributions form what work they have conducted by themselves and what has been done by others.", + navlist: [""], + }, ], }, { -- GitLab