mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Refactoring beer by id page, add delete comment
Refactored the comments ui into various new components, added the delete beer comment by id feature.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import RegisterUserForm from '@/components/RegisterUserForm';
|
||||
import FormPageLayout from '@/components/ui/forms/BeerPostFormPageLayout';
|
||||
import FormPageLayout from '@/components/ui/forms/FormPageLayout';
|
||||
import Layout from '@/components/ui/Layout';
|
||||
import redirectIfLoggedIn from '@/getServerSideProps/redirectIfLoggedIn';
|
||||
import { NextPage } from 'next';
|
||||
@@ -13,7 +13,12 @@ const RegisterUserPage: NextPage = () => {
|
||||
<title>Register User</title>
|
||||
<meta name="description" content="Register a new user" />
|
||||
</Head>
|
||||
<FormPageLayout headingText="Register User" headingIcon={BiUser}>
|
||||
<FormPageLayout
|
||||
headingText="Register User"
|
||||
headingIcon={BiUser}
|
||||
backLink="/"
|
||||
backLinkText="Back to home"
|
||||
>
|
||||
<RegisterUserForm />
|
||||
</FormPageLayout>
|
||||
</Layout>
|
||||
|
||||
Reference in New Issue
Block a user