Skip to content

Commit

Permalink
social media: add proper tweet card img for sharing website
Browse files Browse the repository at this point in the history
  • Loading branch information
flsilva committed Jan 23, 2024
1 parent a6d77c8 commit 8c87af3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Binary file added public/tweet-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 3 additions & 5 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ export const metadata: Metadata = {
description: 'Free and Open Source Task Manager.',
siteName: 'OpenTask',
url: 'https://opentask.app',
images: [{ url: 'https://opentask.app/logo-text-512x512.png' }],
images: [{ url: 'https://opentask.app/tweet-card.png' }],
},
twitter: {
card: 'summary',
site: 'https://opentask.app',
title: 'OpenTask',
description: 'Free and Open Source Task Manager.',
images: [{ url: 'https://opentask.app/logo-text-512x512.png' }],
images: [{ url: 'https://opentask.app/tweet-card.png' }],
creator: '@flsilva7',
},
icons: {
Expand Down Expand Up @@ -149,9 +149,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<html lang="en" className="h-full antialiased">
<body className={`${inter.className} flex flex-col h-full`}>
<InstallPwaProvider>{children}</InstallPwaProvider>
<Suspense>
<GaNextScriptNavigation gaId="G-C6TYTB01NE" />
</Suspense>
<GaNextScriptNavigation gaId="G-C6TYTB01NE" />
</body>
</html>
);
Expand Down

0 comments on commit 8c87af3

Please sign in to comment.