From 268c04a7451ff2c46d502c528bb926e6307abaf7 Mon Sep 17 00:00:00 2001 From: Hannah Holzheu <hh062@hdm-stuttgart.de> Date: Wed, 13 Dec 2023 17:20:28 +0100 Subject: [PATCH] added Grandma Component #34 --- growbros-frontend/src/components/Grandma.tsx | 12 ++++++++++++ growbros-frontend/src/stylesheets/FilterPage.css | 0 2 files changed, 12 insertions(+) create mode 100644 growbros-frontend/src/components/Grandma.tsx create mode 100644 growbros-frontend/src/stylesheets/FilterPage.css diff --git a/growbros-frontend/src/components/Grandma.tsx b/growbros-frontend/src/components/Grandma.tsx new file mode 100644 index 0000000..c582a61 --- /dev/null +++ b/growbros-frontend/src/components/Grandma.tsx @@ -0,0 +1,12 @@ +function Grandma(props: any) { + const grandmaInfo: String = props.grandmaInfo; + + return ( + <div> + <img src="../../public/recources/images/Grandma.png"></img> + <div className="grandmaInfo">{grandmaInfo}</div> + </div> + ); +} + +export default Grandma; diff --git a/growbros-frontend/src/stylesheets/FilterPage.css b/growbros-frontend/src/stylesheets/FilterPage.css new file mode 100644 index 0000000..e69de29 -- GitLab