diff --git a/package.json b/package.json index f08c123..e20667a 100644 --- a/package.json +++ b/package.json @@ -10,9 +10,10 @@ "preview": "vite preview" }, "dependencies": { + "@firebase/auth": "^1.7.1", "bootstrap": "^5.3.3", "firebase": "^10.11.0", - "firebase-tools": "^13.7.3", + "googleapis": "^134.0.0", "react": "^18.2.0", "react-bootstrap": "^2.10.2", "react-dom": "^18.2.0", diff --git a/src/pages/index/IndexPage.tsx b/src/pages/index/IndexPage.tsx index cbc1779..1c60ae6 100644 --- a/src/pages/index/IndexPage.tsx +++ b/src/pages/index/IndexPage.tsx @@ -3,6 +3,7 @@ import {Footer} from "../../components/Footer.tsx"; import "./IndexPage.scss" import {Link} from "react-router-dom"; +import { signInWithGoogle } from '../../utils/authentication'; interface Props { user?: string @@ -10,45 +11,45 @@ interface Props { function IndexPage({ user }: Props) { return (<> -
-
-
-
-
-

Budget-19

-

Budgeting. Made difficult.

-
+
+
+
+
+
+

Budget-19

+

Budgeting. Made difficult.

-
-
-
-

Login

-
-
- - - -
-
- - - -
+
+
+
+
+

Login

+
+
+ +
+
+ + +
+