Skip to content

Instantly share code, notes, and snippets.

@bnymn
Created October 10, 2021 18:07
Show Gist options
  • Save bnymn/8a4c8003e7effeb4856fbd61506f2a16 to your computer and use it in GitHub Desktop.
Save bnymn/8a4c8003e7effeb4856fbd61506f2a16 to your computer and use it in GitHub Desktop.
The final version of index.tsx
import type { NextPage } from 'next'
import Head from 'next/head'
import LoginForm from '../components/login-form'
const Home: NextPage = () => {
return (
<div>
<Head>
<title>Login Page</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
</Head>
<main className="vh-100 d-flex justify-content-center align-items-center">
<LoginForm/>
</main>
</div>
)
}
export default Home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment