Footer

Footer component with user profile and logout functionality.

Usage

1
2
3
4
5
6
7
8
9
10
import { Footer } from "@/components/Footer"

export default function Layout() {
  return (
    <div>
      <main>{children}</main>
      <Footer user={user} type="desktop" />
    </div>
  )
}

Props

user

User object containing profile information.

Type: {firstName: string, lastName: string, email: string}

type

Footer display type.

Type: "desktop" | “mobile"