Skip to content

Commit

Permalink
fix: metadata for registration page
Browse files Browse the repository at this point in the history
  • Loading branch information
hstove committed Sep 18, 2023
1 parent f03b84d commit 949e307
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion web/pages/accounts/[address]/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ import { Layout } from '@components/layout';
import { Register } from '@components/p/register';
import { withSSRProps } from '@common/page-utils';

export const getServerSideProps = withSSRProps();
export const getServerSideProps = withSSRProps(() => {
return {
meta: {
title: 'Register your BNS name',
description: 'Quickly and easily register your name on .btc, .stx, and many more.',
},
};
});

const RegisterPage: NextPage & { authRequired?: boolean } = () => {
return (
Expand Down
9 changes: 8 additions & 1 deletion web/pages/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ import { Layout } from '@components/layout';
import { Register } from '@components/p/register';
import { withSSRProps } from '@common/page-utils';

export const getServerSideProps = withSSRProps();
export const getServerSideProps = withSSRProps(() => {
return {
meta: {
title: 'Register your BNS name',
description: 'Quickly and easily register your name on .btc, .stx, and many more.',
},
};
});

const RegisterPage: NextPage & { authRequired?: boolean } = () => {
return (
Expand Down

0 comments on commit 949e307

Please sign in to comment.