import { usePathname } from 'next/navigation';
const BASE_URL = 'https://deskbtm.com';
const SITE_NAME = 'Deskbtm';
const DEFAULT_TITLE = "I'm an indie hacker";
const DEFAULT_DESCRIPTION = 'No inspiration is spared.';
const DEFAULT_KEYWORDS =
'deskbtm,nawb,aqua,indiebase,win32ffi,indie studio,javascript,app,application,developer,software,vs droid';
function App({ pageProps }) {
const metaUrl = usePathname();
return (
<OpenGraphProvider
baseUrl={BASE_URL}
description={DEFAULT_DESCRIPTION}
imageUrl="/og.webp"
siteName={SITE_NAME}
title={DEFAULT_TITLE}
twitterCard="summary_large_image"
twitterSite="@deskbtm"
twitterCreator="@deskbtm"
url={metaUrl!}
>
<OpenGraphHead />
<Component {...pageProps} />
</OpenGraphProvider>
);
}
-
Notifications
You must be signed in to change notification settings - Fork 0
deskbtm/next-og
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Next.js open graph protocol component
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published