Files
pawol.nu/app/sipote/layout.js
T

45 lines
1.3 KiB
JavaScript
Raw Normal View History

const siteName = process.env.NEXT_PUBLIC_SITE_NAME || 'PAWÒL-NU. Paroles et traductions.'
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://pawol.nu'
const orgFullName = process.env.NEXT_PUBLIC_ORG_FULL_NAME || process.env.NEXT_PUBLIC_ORG_NAME || 'ORGANISATION KA INTERNATIONALE'
const twitterHandle = `@${process.env.NEXT_PUBLIC_TWITTER_USERNAME || 'OrganisationKA'}`
const sipoteTitle = `${siteName} | Soutenir ${orgFullName} !`
2023-07-22 13:08:28 +04:00
export const metadata = {
title: sipoteTitle,
2023-07-22 13:08:28 +04:00
description: 'Vous pouvez nous soutenir via Liberapay ou PayPal',
openGraph: {
title: sipoteTitle,
2023-07-22 13:08:28 +04:00
description: 'Vous pouvez nous soutenir via Liberapay ou PayPal.',
url: `${siteUrl}/sipote`,
siteName,
2023-07-22 13:08:28 +04:00
images: [
{
url: `${siteUrl}/sipote.png`,
2023-07-22 13:08:28 +04:00
width: 500,
height: 500
}
],
locale: 'fr_FR',
type: 'website'
},
twitter: {
site: twitterHandle,
2023-07-22 13:08:28 +04:00
card: 'summary_large_image',
title: sipoteTitle,
2023-07-22 13:08:28 +04:00
description: 'Vous pouvez nous soutenir via Liberapay ou PayPal.',
creator: twitterHandle,
2023-07-22 13:08:28 +04:00
images: {
url: `${siteUrl}/sipote.png`,
alt: `Sipòte ${process.env.NEXT_PUBLIC_ORG_NAME || 'OKI'}`,
2023-07-22 13:08:28 +04:00
},
}
}
export default async function SipoteLayout({children}) {
return (
<section>
{children}
</section>
)
}