Skip to content

Commit

Permalink
fix stack-auth#103 No Open Graph Meta Tags Present (stack-auth#125)
Browse files Browse the repository at this point in the history
* fix stack-auth#103 No Open Graph Meta Tags Present

* fixed bugs

---------

Co-authored-by: Zai Shi <[email protected]>
  • Loading branch information
Riteshyadavanshi and fomalhautb authored Jul 3, 2024
1 parent 5345020 commit 8ce360e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file added apps/dashboard/public/open-graph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions apps/dashboard/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@ import { RouterProvider } from '@/components/router';
import { CSPostHogProvider, UserIdentity } from './providers';

export const metadata: Metadata = {
metadataBase: new URL(process.env.NEXT_PUBLIC_STACK_URL || ''),
title: {
default: 'Stack Auth Dashboard',
template: '%s | Stack Auth',
},
description: 'Stack Auth is the fastest way to add authentication to your web app.',
openGraph:{
images: [`${process.env.NEXT_PUBLIC_STACK_URL}/open-graph-image.png`]
}
};

const fontSans = FontSans({
Expand Down

0 comments on commit 8ce360e

Please sign in to comment.