Skip to content

Instantly share code, notes, and snippets.

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