From 1e62b250b10a12fcc98237f625967beb1d8558d9 Mon Sep 17 00:00:00 2001 From: Guryash Date: Sat, 8 Jun 2024 17:16:26 +1200 Subject: [PATCH] fix: files --- web/src/components/Footer.tsx | 7 ++++++- web/src/components/Hero.tsx | 31 +++++++++++++++++++++++++++++++ web/src/screens/HomeScreen.tsx | 24 ++---------------------- 3 files changed, 39 insertions(+), 23 deletions(-) create mode 100644 web/src/components/Hero.tsx diff --git a/web/src/components/Footer.tsx b/web/src/components/Footer.tsx index cb4221a9..d1d870b7 100644 --- a/web/src/components/Footer.tsx +++ b/web/src/components/Footer.tsx @@ -1,7 +1,12 @@ import { FaFacebook, FaInstagram } from "react-icons/fa"; import peacockLogo from "../assets/peacock-logo.png"; import whiteName from "../assets/auis_white.png"; -import { FacebookLink, InstagramLink, LinkedinLink, githubLink } from "../data/data"; +import { + FacebookLink, + InstagramLink, + LinkedinLink, + githubLink, +} from "../data/data"; import { AiOutlineGithub, AiOutlineLinkedin } from "react-icons/ai"; const Footer = () => { diff --git a/web/src/components/Hero.tsx b/web/src/components/Hero.tsx new file mode 100644 index 00000000..73d50683 --- /dev/null +++ b/web/src/components/Hero.tsx @@ -0,0 +1,31 @@ +import auisLogo from "../assets/peacock.png"; +import auisAbbrev from "../assets/AUIS_black 3.png"; + +export default function Hero() { + return ( + <> +
+
+
+
+ AUIS logo +

+ Not a member? +

+
+ Sign-Up +
+
+
+ AUIS logo +
+
+
+
+ + ); +} diff --git a/web/src/screens/HomeScreen.tsx b/web/src/screens/HomeScreen.tsx index c87e96ac..a45ed11e 100644 --- a/web/src/screens/HomeScreen.tsx +++ b/web/src/screens/HomeScreen.tsx @@ -1,29 +1,9 @@ -import auisLogo from "../assets/peacock.png"; -import auisAbbrev from "../assets/AUIS_black 3.png"; - +import Hero from "@components/Hero"; export default function HomeScreen() { return (
-
-
-
-
- AUIS logo -

- Not a member? -

-
- Sign-Up -
-
- -
- AUIS logo -
-
-
-
+
); }