Skip to content

Commit

Permalink
fix: files
Browse files Browse the repository at this point in the history
  • Loading branch information
gmat224 committed Jun 8, 2024
1 parent 15fcc3c commit 1e62b25
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 23 deletions.
7 changes: 6 additions & 1 deletion web/src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -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 = () => {
Expand Down
31 changes: 31 additions & 0 deletions web/src/components/Hero.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import auisLogo from "../assets/peacock.png";
import auisAbbrev from "../assets/AUIS_black 3.png";

export default function Hero() {
return (
<>
<div className=" min-h-[calc(100vh-70px)] bg-gradient-to-br from-orange-500 to-orange-50">
<div className="p-4 flex-row">
<div className="grid grid-cols-1 md:grid-cols-2 place-items-center">
<div className="grid grid-rows-3 place-items-center">
<img
src={auisAbbrev}
alt="AUIS logo"
className="h-auto max-w-lg rounded-lg"
/>
<p className="py: text-3xl text-black text-center font-bold justify-self-stretch pt-6">
Not a member?
</p>
<div className="btn text-red-50 justify-self-stretch">
Sign-Up
</div>
</div>
<div>
<img src={auisLogo} alt="AUIS logo" className="ml-70" />
</div>
</div>
</div>
</div>
</>
);
}
24 changes: 2 additions & 22 deletions web/src/screens/HomeScreen.tsx
Original file line number Diff line number Diff line change
@@ -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 (
<div>
<div className="min-h-[calc(100%)] bg-gradient-to-br from-orange-500 to-orange-50">
<div className="p-4 flex-row">
<div className="grid grid-cols-1 md:grid-cols-2 place-items-center">
<div className="grid grid-rows-3 place-items-center">
<img src={auisAbbrev} alt="AUIS logo" className="h-auto max-w-lg rounded-lg" />
<p className="py: text-3xl text-black text-center font-bold justify-self-stretch pt-6">
Not a member?
</p>
<div className="btn text-red-50 justify-self-stretch">
Sign-Up
</div>
</div>

<div>
<img src={auisLogo} alt="AUIS logo" className="ml-70" />
</div>
</div>
</div>
</div>
<Hero/>
</div>
);
}

0 comments on commit 1e62b25

Please sign in to comment.