Security recovery: hold sweep, dashboard updates, and admin fixes.

This commit is contained in:
Michilis
2026-07-01 05:51:38 +00:00
parent 38526f17b5
commit cacc52ec24
45 changed files with 1452 additions and 474 deletions
+9 -3
View File
@@ -59,7 +59,9 @@ export async function generateMetadata(): Promise<Metadata> {
if (!event) {
return {
title: 'Spanglish Language Exchange Events in Asunción',
// Title already carries the brand, so bypass the "%s Spanglish"
// template to avoid doubling it.
title: { absolute: 'Spanglish Language Exchange Events in Asunción' },
description:
'Practice English and Spanish at relaxed social events in Asunción. Meet locals and internationals. Join the next Spanglish meetup.',
};
@@ -76,7 +78,9 @@ export async function generateMetadata(): Promise<Metadata> {
const description = `Next event: ${eventDate} ${event.title}. Practice English and Spanish at relaxed social events in Asunción. Meet locals and internationals.`;
return {
title: 'Spanglish Language Exchange Events in Asunción',
// Title already carries the brand, so bypass the "%s Spanglish"
// template to avoid doubling it.
title: { absolute: 'Spanglish Language Exchange Events in Asunción' },
description,
openGraph: {
title: 'Spanglish Language Exchange Events in Asunción',
@@ -142,7 +146,9 @@ function generateNextEventJsonLd(event: NextEvent) {
: 'https://schema.org/SoldOut',
url: `${siteUrl}/events/${event.slug}`,
},
image: event.bannerUrl || `${siteUrl}/images/og-image.jpg`,
image: event.bannerUrl
? (event.bannerUrl.startsWith('http') ? event.bannerUrl : `${siteUrl}${event.bannerUrl}`)
: `${siteUrl}/images/og-image.jpg`,
url: `${siteUrl}/events/${event.slug}`,
};
}