import Image from "next/image"; import { Button } from "./ui/button"; import login from "@/app/actions/login"; import { getCurrentUser } from "@/lib/user"; import logout from "@/app/actions/logout"; import Link from "next/link"; export default async function Header() { const user = await getCurrentUser(); return (
Emblem of the European Federation

European Federation

{ user ? (
) : (
) }
) }