Skip to content

Commit

Permalink
Merge pull request #41 from uug-ai/feature-login-optimization
Browse files Browse the repository at this point in the history
Feature: login optimization
  • Loading branch information
cedricve authored Sep 19, 2024
2 parents e50f2bd + a653adf commit df556ec
Show file tree
Hide file tree
Showing 6 changed files with 107 additions and 181 deletions.
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@hookform/resolvers": "^3.5.0",
"@reduxjs/toolkit": "^2.2.5",
"@testing-library/jest-dom": "^6.4.6",
"@uug-ai/ui": "^1.0.36",
"@uug-ai/ui": "^1.0.39",
"autoprefixer": "^10.4.19",
"cookies-next": "^4.2.1",
"next": "14",
Expand Down
Binary file added ui/public/BG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
69 changes: 0 additions & 69 deletions ui/src/app/signin/components/Facescan.tsx

This file was deleted.

16 changes: 9 additions & 7 deletions ui/src/app/signin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ import {
Stack,
Password,
Row,
Logo,
FaceScan,
Logo
} from "../../components/ui";
import React from "react";
import SignInForm from "./components/SignInForm";
import { getServerSession } from "next-auth";
import { redirect } from "next/navigation";
import FaceScan from "./components/Facescan";
import Background from "./components/Background";
import Image from "next/image";
import BG from "../../../public/BG.png"


export default async function Signin() {
const session = await getServerSession();
Expand All @@ -36,13 +38,13 @@ export default async function Signin() {
<Socials className="mt-auto self-center justify-self-end p-8" />
</Box>
<Box className="flex justify-center items-center w-full relative">
<Background className="absolute"/>
<FaceScan className="opacity-30"/>
<Image src={BG} alt="background image" layout="fill"></Image>
<FaceScan className="absolute size-96"/>
<Row className="absolute bottom-3 gap-2 place-content-end mr-10">
<Text>
<Text className="text-white">
A product made by
</Text>
<Logo/>
<Logo color="white" className="h-min"/>
</Row>
</Box>
</Row>
Expand Down
Loading

0 comments on commit df556ec

Please sign in to comment.