Added signup and register pages and links to them
parent
7c9b3b83d6
commit
ddc0def393
|
@ -1,6 +1,6 @@
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import logo from "../assets/logo.png";
|
import logo from "../assets/logo.png";
|
||||||
import { motion } from "framer-motion"
|
import { motion } from "framer-motion";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
FaBars,
|
FaBars,
|
||||||
|
@ -16,8 +16,7 @@ import Logo from "./Logo";
|
||||||
export default function TopNav() {
|
export default function TopNav() {
|
||||||
const [showAll, setShowAll] = useState(false);
|
const [showAll, setShowAll] = useState(false);
|
||||||
const [SideNav, setSideNav] = useState(false);
|
const [SideNav, setSideNav] = useState(false);
|
||||||
const sideNav = useRef()
|
const sideNav = useRef();
|
||||||
|
|
||||||
|
|
||||||
const listItems = [
|
const listItems = [
|
||||||
{
|
{
|
||||||
|
@ -84,7 +83,7 @@ export default function TopNav() {
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-col items-start justify-center headerHover">
|
<div className="flex flex-col items-start justify-center headerHover">
|
||||||
<p className="text-sm mdl:text-xs text-white mdl:text-gray-200 text-lightText font-light">
|
<p className="text-sm mdl:text-xs text-white mdl:text-gray-200 text-lightText font-light">
|
||||||
Hello, sign in
|
Hello, <Link className="text-green hover:text-sky_blue hover:underline cursor-pointer" to={"/signin"}>sign in</Link>
|
||||||
</p>
|
</p>
|
||||||
<p className="text-sm font-semibold -mt-1 text-white hidden mdl:inline-flex">
|
<p className="text-sm font-semibold -mt-1 text-white hidden mdl:inline-flex">
|
||||||
Accounts & list{" "}
|
Accounts & list{" "}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import React from "react";
|
import React from "react";
|
||||||
|
import { Link } from "react-router-dom";
|
||||||
import logo from "../../assets/logo.png";
|
import logo from "../../assets/logo.png";
|
||||||
import Logo from "../../components/Logo";
|
import Logo from "../../components/Logo";
|
||||||
|
|
||||||
|
@ -6,7 +7,7 @@ const Register = () => {
|
||||||
return (
|
return (
|
||||||
<div className="w-full">
|
<div className="w-full">
|
||||||
<div className="w-[400px] mx-auto bg-gray-100 pb-2 my-9 border border-zinc-500">
|
<div className="w-[400px] mx-auto bg-gray-100 pb-2 my-9 border border-zinc-500">
|
||||||
<form>
|
<form onSubmit={(e)=>e.preventDefault()}>
|
||||||
<div className="w-full p-3 flex justify-center text-white text-lg bg-darkBrown">
|
<div className="w-full p-3 flex justify-center text-white text-lg bg-darkBrown">
|
||||||
<Logo />
|
<Logo />
|
||||||
</div>
|
</div>
|
||||||
|
@ -14,6 +15,7 @@ const Register = () => {
|
||||||
<h3 className="w-full text-lg py-2 font-titleFont italic text-center">
|
<h3 className="w-full text-lg py-2 font-titleFont italic text-center">
|
||||||
Register
|
Register
|
||||||
</h3>
|
</h3>
|
||||||
|
<p className="text-sm w-full flex justify-center">Already have an account, <Link className="text-green hover:text-sky_blue hover:underline cursor-pointer" to={'/signin'}>sign-in</Link></p>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex py-2">
|
<div className="flex py-2">
|
||||||
<div className="px-2 flex flex-col gap-2">
|
<div className="px-2 flex flex-col gap-2">
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import logo from "../../assets/logo.png";
|
|
||||||
import Logo from "../../components/Logo";
|
import Logo from "../../components/Logo";
|
||||||
|
|
||||||
const Signin = () => {
|
const Signin = () => {
|
||||||
return (
|
return (
|
||||||
<div className="w-full">
|
<div className="w-full">
|
||||||
<div className="w-[300px] mx-auto bg-gray-100 pb-2 my-9 border border-zinc-500">
|
<div className="w-[300px] mx-auto bg-gray-100 pb-2 my-9 border border-zinc-500">
|
||||||
<form>
|
<form onSubmit={(e)=>e.preventDefault()}>
|
||||||
<div className="w-full p-3 flex justify-center text-white text-lg bg-darkBrown">
|
<div className="w-full p-3 flex justify-center text-white text-lg bg-darkBrown">
|
||||||
<Logo />
|
<Logo />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue