Skip to content

Commit

Permalink
fix: metadata for views
Browse files Browse the repository at this point in the history
  • Loading branch information
Nabhag8848 committed Aug 13, 2024
1 parent 574bf59 commit 1adae84
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/revert-next/app/dashboard/apikeys/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { auth } from '@clerk/nextjs/server';
import { Clipboard, Header } from '@revertdotdev/components';
import { fetchAccountDetails } from '@revertdotdev/lib/api';
import { Metadata } from 'next';

export const metadata: Metadata = {
title: 'Revert | API Keys',
};

export default async function Page() {
const { userId } = auth();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { auth } from '@clerk/nextjs/server';
import { TabsContent, ListOfRecentApiCalls } from '@revertdotdev/components';
import { fetchAccountDetails } from '@revertdotdev/lib/api';
import { Metadata } from 'next';

export const metadata: Metadata = {
title: 'Revert | Integrations',
};

export default async function Page({ params }: { params: { appId: string } }) {
const { appId } = params;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
import { auth } from '@clerk/nextjs/server';
import { AppSettings, TabsContent } from '@revertdotdev/components';
import { fetchAccountDetails } from '@revertdotdev/lib/api';
import { Metadata } from 'next';

export const revalidate = 0;

export const metadata: Metadata = {
title: 'Revert | Integrations',
};

export default async function Page({ params }: { params: { appId: string } }) {
const { appId } = params;
const { userId } = auth();
Expand Down
5 changes: 5 additions & 0 deletions packages/revert-next/app/dashboard/integrations/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ import {
import { CreatedApplications, ApplicationCards } from '@revertdotdev/components';
import { Icons } from '@revertdotdev/icons';
import { fetchAccountDetails } from '@revertdotdev/lib/api';
import { Metadata } from 'next';

export const metadata: Metadata = {
title: 'Revert | Integrations',
};

export default async function Page() {
const { userId } = auth();
Expand Down
5 changes: 5 additions & 0 deletions packages/revert-next/app/dashboard/onboarding/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { Metadata } from 'next';
import '../../globals.css';

export const metadata: Metadata = {
title: 'Revert | Onboarding',
};

export default function OnBoardingLayout({
children,
}: Readonly<{
Expand Down
Binary file modified packages/revert-next/app/favicon.ico
Binary file not shown.

0 comments on commit 1adae84

Please sign in to comment.