import type { Metadata } from 'next';

// Note: the page title for the listing lives on events/page.tsx, not here. A
// plain-string title in this layout would reset the root title template for the
// child /events/[id] route, stripping the brand suffix from event detail titles.
export const metadata: Metadata = {
  description: 'Discover upcoming English and Spanish language exchange events in Asunción. Social, friendly, and open to everyone.',
  alternates: {
    canonical: '/events',
  },
  openGraph: {
    title: 'Upcoming Language Exchange Events in Asunción – Spanglish',
    description: 'Discover upcoming English and Spanish language exchange events in Asunción. Social, friendly, and open to everyone.',
  },
};

export default function EventsLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return children;
}
