Skip to content

Commit

Permalink
feat(seo): disable robot for few pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 committed Feb 19, 2024
1 parent 7b88065 commit 114dc1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/(account)/forgot-password/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { codeSchema, emailSchema, passwordSchema } from '../schemas';

export const metadata: Metadata = {
title: 'Forgot Password',
robots: { index: false, follow: false },
};

const sendCodeSchema = z.object({
Expand Down
1 change: 1 addition & 0 deletions src/app/(account)/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import Settings from './Settings';

export const metadata: Metadata = {
title: 'Settings',
robots: { index: false, follow: false },
};

export default async function SettingsPage() {
Expand Down
1 change: 1 addition & 0 deletions src/app/admin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import MemberForm from './MemberForm';

export const metadata: Metadata = {
title: 'Admin Panel',
robots: { index: false, follow: false },
};

const queryMembers = async () => {
Expand Down

0 comments on commit 114dc1f

Please sign in to comment.