feat: page titles

This commit is contained in:
Nevo David 2024-03-09 20:35:05 +07:00
parent 27183220a4
commit 1ae0638d3c
4 changed files with 25 additions and 4 deletions

View File

@ -1,5 +1,10 @@
import { ForgotReturn } from '@gitroom/frontend/components/auth/forgot-return';
import { Metadata } from 'next';
export const metadata: Metadata = {
title: 'Gitroom Forgot Password',
description: '',
};
export default async function Auth(params: { params: { token: string } }) {
return <ForgotReturn token={params.params.token} />;
}

View File

@ -1,4 +1,10 @@
import {Forgot} from "@gitroom/frontend/components/auth/forgot";
import {Metadata} from "next";
export const metadata: Metadata = {
title: 'Gitroom Forgot Password',
description: '',
};
export default async function Auth() {
return (

View File

@ -1,4 +1,10 @@
import {Login} from "@gitroom/frontend/components/auth/login";
import {Metadata} from "next";
export const metadata: Metadata = {
title: 'Gitroom Login',
description: '',
};
export default async function Auth() {
return (

View File

@ -1,7 +1,11 @@
import {Register} from "@gitroom/frontend/components/auth/register";
import { Register } from '@gitroom/frontend/components/auth/register';
import { Metadata } from 'next';
export const metadata: Metadata = {
title: 'Gitroom Register',
description: '',
};
export default async function Auth() {
return (
<Register />
);
return <Register />;
}