From eabb559c66beddb2a47138630855ee8a1ab8cb4b Mon Sep 17 00:00:00 2001 From: Katja Lutz Date: Mon, 27 Jun 2022 21:59:07 +0200 Subject: [PATCH] feat: add welcoming text to WelcomeModal --- src/components/WelcomeModal.tsx | 325 +++++++++++++++++++++++++++----- 1 file changed, 280 insertions(+), 45 deletions(-) diff --git a/src/components/WelcomeModal.tsx b/src/components/WelcomeModal.tsx index 2d08fa1..57f69fb 100644 --- a/src/components/WelcomeModal.tsx +++ b/src/components/WelcomeModal.tsx @@ -18,12 +18,20 @@ import FreeIcon from "~icons/noto/seedling"; import PrivacyIcon from "~icons/noto/princess"; import AgileIcon from "~icons/noto/person-bouncing-ball"; import ResultIcon from "~icons/noto/chequered-flag"; +import HugIcon from "~icons/noto/hugging-face"; import Modal, { ModalCloseButton } from "./Modal"; import { LocalStoreContext } from "~/stores"; import createAccordion from "./Accordion"; import typer from "typer-js"; import "typer-js/dist/typer.min.css"; -import { getDisplayDate, getHost, onClickFocus, shuffle } from "~/util"; +import { + externalLink, + getDisplayDate, + getDomain, + getHost, + onClickFocus, + shuffle, +} from "~/util"; import { capitalize } from "froebel"; export const description = @@ -121,6 +129,23 @@ const WelcomeModal: Component = (props) => { > ); + // I hope Randomness will guarantee a fair sequence <3 + const thankYouRahelAndFredi = shuffle([ + <> + Fredi Niklaus ( + + RemedyIT + + ) + , + "Rahel Lutz", + ]); + thankYouRahelAndFredi.splice(1, 0, " und "); + return (