Skip to content

Commit

Permalink
Merge pull request #54 from Ashesi-Org/incorporate-api-endpoints
Browse files Browse the repository at this point in the history
correct paths
  • Loading branch information
Oheneba-Dade authored Dec 15, 2023
2 parents df1bf78 + 64cd2c3 commit 72360fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
7 changes: 2 additions & 5 deletions kente-krafters/src/pages/auth/login/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { NavLink } from "react-router-dom";
import { baseEndPoint } from "../../../../expressAPI/data";
import login_page_hero from "../../../assets/hero_page_img.png";
import google_logo from "../../../assets/logos/google.png";
import company_logo from "../../../assets/logos/woven_logo_1.png";

const Login = () => {
const handleLoginSubmit = (e) => {
Expand Down Expand Up @@ -50,11 +51,7 @@ const Login = () => {
<div className="container">
<form onSubmit={handleLoginSubmit}>
<div>
<img
src="src/assets/logos/woven_logo_1.png"
alt=""
className="w-1/4 mx-auto"
/>
<img src={company_logo} alt="" className="w-1/4 mx-auto" />
</div>
<div className="flex min-h-screen justify-center gap-16">
<div className="flex-1 justify-center">
Expand Down
17 changes: 6 additions & 11 deletions kente-krafters/src/pages/auth/register/Register.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { NavLink } from "react-router-dom";
import { baseEndPoint } from "../../../../expressAPI/data";
import login_page_hero from "../../../assets/hero_page_img.png";
import google_logo from "../../../assets/logos/google.png";
import company_logo from "../../../assets/logos/woven_logo_1.png";

const Register = () => {
const handleRegisterSubmit = (e) => {
Expand Down Expand Up @@ -50,11 +53,7 @@ const Register = () => {
return (
<div className="container">
<div>
<img
src="src/assets/logos/woven_logo_1.png"
alt=""
className="w-1/4 mx-auto"
/>
<img src={company_logo} alt="" className="w-1/4 mx-auto" />
</div>
<div className="flex min-h-screen justify-center">
<div className="flex-1">
Expand Down Expand Up @@ -109,7 +108,7 @@ const Register = () => {
<div className="flex flex-col space-y-2 mb-3.5">
<button className="bg-gray-300 px-4 py-2 rounded-lg border text-black max-w-md">
<img
src="src/assets/logos/google.png"
src={google_logo}
alt=""
className="w-6 mr-2 inline-block"
/>
Expand All @@ -124,11 +123,7 @@ const Register = () => {
</div>

<div className="flex-1 justify-center">
<img
src="src/assets/hero_page_img.png"
alt=""
className="w mx-auto"
/>
<img src={login_page_hero} alt="" className="w mx-auto" />
</div>
</div>
</div>
Expand Down

0 comments on commit 72360fc

Please sign in to comment.