Skip to content

Instantly share code, notes, and snippets.

@Josh4324
Created October 31, 2022 12:59
Show Gist options
  • Save Josh4324/bbd4f932c915d4ef8d6efa720e97f3ca to your computer and use it in GitHub Desktop.
Save Josh4324/bbd4f932c915d4ef8d6efa720e97f3ca to your computer and use it in GitHub Desktop.
login.js
import React, { useState, useRef } from "react";
import Link from "next/link";
export default function Login() {
return (
<div>
<div className="form">
<h2 className="white">Login</h2>
<div>
<input className="input" placeholder="Enter Email" />
</div>
<div>
<input
className="input"
placeholder="Enter Password"
type="password"
/>
</div>
<div>
{/* eslint-disable-next-line @next/next/no-html-link-for-pages */}
<Link href="/signup">Signup</Link>
</div>
<button className="but">Login</button>
</div>
</div>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment