feat: setup database-driven admin user management
This commit is contained in:
@@ -4,11 +4,21 @@ import { ArrowRight, Calendar, Clock, MapPin, Music } from "lucide-react";
|
||||
import ScrollReveal from "@/components/ScrollReveal";
|
||||
|
||||
import prisma from "@/lib/prisma";
|
||||
import { buildMeta } from "@/lib/metadata";
|
||||
import type { Metadata } from "next";
|
||||
|
||||
export const metadata = {
|
||||
title: "Etkinlikler | Kite Beach Akyaka",
|
||||
description: "Mahmut Orhan konserinden Kitesurf festivallerine, Akyaka'daki en özel etkinlikler ve gün batımı partileri.",
|
||||
};
|
||||
export const revalidate = 3600;
|
||||
|
||||
export async function generateMetadata({ params }: { params: Promise<{ lang: string }> }): Promise<Metadata> {
|
||||
const { lang } = await params;
|
||||
return buildMeta(lang, "/etkinlikler", {
|
||||
title: "Etkinlikler | Kite Beach Akyaka",
|
||||
description: "Mahmut Orhan konserinden Kitesurf festivallerine, Akyaka'daki en özel etkinlikler ve gün batımı partileri.",
|
||||
}, {
|
||||
title: "Events | Kite Beach Akyaka",
|
||||
description: "From Mahmut Orhan concerts to Kitesurf festivals, the most special events and sunset parties in Akyaka.",
|
||||
});
|
||||
}
|
||||
|
||||
export default async function EventsPage({ params }: { params: Promise<{ lang: string }> }) {
|
||||
const { lang } = await params;
|
||||
|
||||
Reference in New Issue
Block a user