REFACTOR: HomePage and ResultsPage for improved data handling

This commit is contained in:
Chris-1010
2025-02-16 14:19:51 +00:00
parent 557aeb9091
commit bd091b079a
9 changed files with 239 additions and 185 deletions

View File

@@ -1,5 +1,3 @@
import { useEffect } from "react";
export default function GoogleLogin() {
const handleLoginClick = (e: React.MouseEvent<HTMLButtonElement>) => {
e.preventDefault();
@@ -15,7 +13,8 @@ export default function GoogleLogin() {
//w-full basis-[90%] (% size of original container)
className="flex w-full max-w-[19em] basis-[90%] flex-grow flex-shrink items-center justify-start bg-white text-gray-600
font-semibold py-[0.15em] pl-[0.3em] pr-[0.6em] rounded shadow-md flex-grow flex-shrink
hover:bg-gray-100 active:bg-gray-200 sm:max-w-[18em] mx-[1em]">
hover:bg-gray-100 active:bg-gray-200 sm:max-w-[18em] mx-[1em]"
>
<img
src="../../../images/icons/google-icon.png"
alt="Google logo"