From fc4fbf9e81aff17b5fbc15ebff076b612d598113 Mon Sep 17 00:00:00 2001 From: Gabriel Pelouze Date: Fri, 15 Sep 2023 11:24:21 +0200 Subject: [PATCH 1/2] add credits --- vre-panel/components/Footer.tsx | 22 ++++++++ vre-panel/pages/about.tsx | 50 ++++++++++++++++++ vre-panel/pages/index.tsx | 6 ++- vre-panel/pages/vlabs/[slug].tsx | 6 ++- .../public/logo-lifewatch-eric-medium.png | Bin 0 -> 27622 bytes vre-panel/public/logo-lifewatch-eric.png | Bin 0 -> 20697 bytes vre-panel/public/logo-uva-medium.png | Bin 0 -> 21973 bytes vre-panel/public/logo-uva.png | Bin 0 -> 18541 bytes 8 files changed, 80 insertions(+), 4 deletions(-) create mode 100644 vre-panel/components/Footer.tsx create mode 100644 vre-panel/pages/about.tsx create mode 100644 vre-panel/public/logo-lifewatch-eric-medium.png create mode 100644 vre-panel/public/logo-lifewatch-eric.png create mode 100644 vre-panel/public/logo-uva-medium.png create mode 100644 vre-panel/public/logo-uva.png diff --git a/vre-panel/components/Footer.tsx b/vre-panel/components/Footer.tsx new file mode 100644 index 0000000..2ba157d --- /dev/null +++ b/vre-panel/components/Footer.tsx @@ -0,0 +1,22 @@ +import React from "react"; +import Link from "next/link"; + +const Footer: React.FC = () => { + + return ( +
+

+ Powered by NaaVRE / LifeWatch ERIC VLIC ( + + About + + ) +

+
+ ) +} + +export default Footer diff --git a/vre-panel/pages/about.tsx b/vre-panel/pages/about.tsx new file mode 100644 index 0000000..ab19bce --- /dev/null +++ b/vre-panel/pages/about.tsx @@ -0,0 +1,50 @@ +import Link from 'next/link'; +import getConfig from 'next/config' + +import {Nav} from '../templates/Nav'; + +const About = ({}) => { + + const { publicRuntimeConfig } = getConfig() + + return ( +
+
+ + ) +}; + +export default About; diff --git a/vre-panel/pages/index.tsx b/vre-panel/pages/index.tsx index df97b2a..39ea379 100644 --- a/vre-panel/pages/index.tsx +++ b/vre-panel/pages/index.tsx @@ -4,6 +4,7 @@ import Link from 'next/link'; import {NewVREDialog} from '../components/NewVREDialog'; import {Nav} from '../templates/Nav'; +import Footer from '../components/Footer'; import {PaasConfigContext} from '../context/PaasConfig'; const getSlug = (title: string) => { @@ -40,9 +41,9 @@ const VLabs = ({}) => { }, []); return ( -
+