import Head from "next/head"; import Image from "next/image"; import styles from "../styles/Home.module.css"; import Link from "next/link"; import { useRouter } from "next/router"; import Title, { TitleEnum } from "../components/Title"; import React from "react"; export default function Home({}) { const router = useRouter(); return (
Fo

Welcome to Next.js!

Get started by editing{" "} pages/index.js

Second Page →

Link

router.push("/foo/bar/third")} className={styles.card} >

Third Page →

button, router.push()

Examples →

Discover and deploy boilerplate example Next.js projects.

Deploy →

Instantly deploy your Next.js site to a public URL with Vercel.

); }