mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-02 11:51:48 -05:00
23 lines
810 B
TypeScript
23 lines
810 B
TypeScript
import Link from "next/link";
|
|
|
|
export default function LegalFooter() {
|
|
if (!process.env.NEXT_PUBLIC_IMPRINT_URL && !process.env.NEXT_PUBLIC_PRIVACY_URL) return null;
|
|
return (
|
|
<div className="top-0 z-10 w-full border-b bg-white">
|
|
<div className="mx-auto max-w-lg p-3 text-center text-sm text-slate-400">
|
|
{process.env.NEXT_PUBLIC_IMPRINT_URL && (
|
|
<Link href={process.env.NEXT_PUBLIC_IMPRINT_URL} target="_blank">
|
|
Imprint
|
|
</Link>
|
|
)}
|
|
{process.env.NEXT_PUBLIC_IMPRINT_URL && process.env.NEXT_PUBLIC_PRIVACY_URL && <span> | </span>}
|
|
{process.env.NEXT_PUBLIC_PRIVACY_URL && (
|
|
<Link href={process.env.NEXT_PUBLIC_PRIVACY_URL} target="_blank">
|
|
Privacy Policy
|
|
</Link>
|
|
)}
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|