pages and menus

This commit is contained in:
Timur Ercan
2022-12-08 16:04:22 +01:00
parent 08b6957b27
commit ca6fb819c8
5 changed files with 25 additions and 16 deletions

View File

@@ -1,4 +1,5 @@
import { LockClosedIcon } from "@heroicons/react/20/solid";
import Link from "next/link";
import Logo from "./logo";
export default function Example() {
@@ -75,18 +76,17 @@ export default function Example() {
</div>
<div>
<button
type="submit"
className="group relative flex w-full justify-center rounded-md border border-transparent bg-neon py-2 px-4 text-sm font-medium text-white hover:bg-neon-dark focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
>
<span className="absolute inset-y-0 left-0 flex items-center pl-3">
<LockClosedIcon
className="h-5 w-5 text-neon-dark group-hover:text-neon"
aria-hidden="true"
/>
</span>
Sign in
</button>
<Link href="/dashboard">
<button className="group relative flex w-full justify-center rounded-md border border-transparent bg-neon py-2 px-4 text-sm font-medium text-white hover:bg-neon-dark focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2">
<span className="absolute inset-y-0 left-0 flex items-center pl-3">
<LockClosedIcon
className="h-5 w-5 text-neon-dark group-hover:text-neon"
aria-hidden="true"
/>
</span>
Sign in
</button>
</Link>
</div>
</form>
</div>