Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #103 No Open Graph Meta Tags Present #113

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added apps/dashboard/public/logo.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("https://stack-auth.com/"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The base url should use the DASHBOARD_BASE_URL env var

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also please make sure the formatting is aligned with the other part of the project

title: {
default: 'Stack Auth Dashboard',
template: '%s | Stack Auth',
},
description: 'Stack Auth is the fastest way to add authentication to your web app.',
openGraph:{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

images:["https://stack-auth.com/logo.png"]
}
};

const fontSans = FontSans({
Expand Down