Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
fix: images for home & contents (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNumericite authored Sep 26, 2022
1 parent 6a1cdc8 commit 1b5a474
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tumeplay-vitrine/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,13 @@ const Home = ({
/>
<meta
property="og:image"
content="https://tumeplay.fabrique.social.gouv.fr/logo-tumeplay.svg"
content="https://tumeplay.fabrique.social.gouv.fr/logo-tumeplay-share.png"
key="image"
/>
<meta property="og:url" content="https://tumeplay.fr" key="url" />
<link
rel="icon"
href="https://tumeplay.fabrique.social.gouv.fr/logo-tumeplay.svg"
href="https://tumeplay.fabrique.social.gouv.fr/logo-tumeplay-share.png"
/>
<meta name="robots" content="all" />
</Head>
Expand Down
13 changes: 10 additions & 3 deletions tumeplay-vitrine/pages/posts/[id]/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,16 @@ const ThemePage = ({ post }: PostCardProps) => {
}
key="description"
/>
<meta property="og:image" content="/logo-tumeplay.svg" key="image" />
<meta property="og:url" content="https://tumeplay.com" key="url" />
<link rel="icon" href="/logo-tumeplay.svg" />
<meta
property="og:image"
content={post.etiquette?.image.url || "/logo-tumeplay-share.png"}
key="image"
/>
<meta property="og:url" content="https://tumeplay.fr" key="url" />
<link
rel="icon"
href={post.etiquette?.image.url || "/logo-tumeplay-share.png"}
/>
</Head>
<Container
maxW={["auto", "auto", "3xl"]}
Expand Down
Binary file modified tumeplay-vitrine/public/favicon.ico
Binary file not shown.
Binary file added tumeplay-vitrine/public/logo-tumeplay-share.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1b5a474

Please sign in to comment.