"use client"

import { useTranslations } from "next-intl"
import { Cannabis } from "lucide-react"

export function PortalFooter() {
  const t = useTranslations("portal")

  return (
    <footer className="mt-auto border-t bg-muted/30">
      <div className="mx-auto flex max-w-5xl items-center justify-between px-4 sm:px-6 lg:px-8 py-4">
        <div className="flex items-center gap-2 text-xs text-muted-foreground">
          <Cannabis className="h-3 w-3" />
          <span>{t("footerText")}</span>
        </div>
        <div className="text-xs text-muted-foreground">
          &copy; {new Date().getFullYear()} CannaManage
        </div>
      </div>
    </footer>
  )
}
