import { APP_VERSION } from "../lib/version";

type PageFooterProps = {
  note?: string;
};

export function PageFooter({ note }: PageFooterProps) {
  return (
    <footer className="mt-12 text-center text-xs text-gray-500">
      <p>Prosento - (c) 2026 All Rights Reserved</p>
      {note ? <p className="mt-1">{note}</p> : null}
      <p className="mt-1">Version {APP_VERSION}</p>
    </footer>
  );
}
