Skip to content

Commit

Permalink
rebase form develop
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneleon1 committed Jun 21, 2024
1 parent 0b08f32 commit 4302d42
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Empty file.
4 changes: 2 additions & 2 deletions src/pages/Login.tsx → src/pages/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { FaFacebook } from 'react-icons/fa';
import HSButton from '@/components/form/HSButton';
import HSInput from '@/components/form/HSInput';

function Login() {
function SignIn() {
return (
<div className="flex justify-center items-center h-screen bg-white">
<div className="w-[90%] md:w-[60%] lg:w-[40%] p-6 shadow-lg border-[1px] border-grayLight rounded-md">
Expand Down Expand Up @@ -70,4 +70,4 @@ function Login() {
);
}

export default Login;
export default SignIn;
4 changes: 2 additions & 2 deletions src/routes/AppRoutes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BrowserRouter as Router, Route, Routes } from 'react-router-dom';
import HomeLayout from '@/layout/HomeLayout';
import Home from '@/pages/Home';
import ErrorPage from '@/pages/ErrorPage';
import Login from '@/pages/Login';
import SignIn from '@/pages/SignIn';

function AppRoutes() {
return (
Expand All @@ -11,7 +11,7 @@ function AppRoutes() {
<Route element={<HomeLayout />}>
<Route index path="/" element={<Home />} />
</Route>
<Route path="/login" element={<Login />} />
<Route path="/login" element={<SignIn />} />
<Route path="*" element={<ErrorPage />} />
{/* Add many routes as you want */}
</Routes>
Expand Down

0 comments on commit 4302d42

Please sign in to comment.