metadata for scheduling etc

main
Elias Almqvist 5 months ago
parent 1d82cb58ff
commit d89a889cc7
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 17
      src/app/meeting/page.tsx

@ -1,12 +1,25 @@
"use client"; import Link from "next/link";
import { redirect } from "next/navigation"; import { redirect } from "next/navigation";
const SCHEDULING_URL = "https://cal.com/elias-almqvist-d33wxo"; const SCHEDULING_URL = "https://cal.com/elias-almqvist-d33wxo";
export const metadata = {
title: "Schedule a meeting with Elias",
description: "Schedule a meeting with Elias Almqvist",
};
// Redirect to the external URL // Redirect to the external URL
const Page = () => { const Page = () => {
redirect(SCHEDULING_URL); redirect(SCHEDULING_URL);
return (
<div className="h-full flex flex-col justify-center items-center space-y-2">
<span className="animate-pulse text-2xl font-mono">
Redirecting to the scheduling page...
</span>
<Link href={SCHEDULING_URL}>Click here if you are not redirected</Link>
</div>
);
}; };
export default Page; export default Page;

Loading…
Cancel
Save