fix(dashboard): remove self-hosting tag 🤦

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-03-26 19:34:15 +01:00
parent c540778825
commit ee80b47b0d
2 changed files with 10 additions and 5 deletions

View File

@@ -97,7 +97,7 @@ export default function LayoutMenu({
</div>
</ProjectLink>
)}
{!process.env.SELF_HOSTED && (
{process.env.SELF_HOSTED && (
<a
className="rounded p-2 row items-center gap-2 hover:bg-def-200"
href="https://openpanel.dev/supporter"
@@ -218,11 +218,13 @@ export default function LayoutMenu({
))}
</div>
</div>
<div className="mt-auto w-full">
<div className={cn('text-sm w-full text-center')}>
Self-hosted instance
{process.env.SELF_HOSTED && (
<div className="mt-auto w-full ">
<div className={cn('text-sm w-full text-center')}>
Self-hosted instance
</div>
</div>
</div>
)}
</>
);
}

View File

@@ -53,6 +53,9 @@ export function Footer() {
<li>
<Link href="/contact">Contact</Link>
</li>
<li>
<Link href="/supporter">Become a supporter</Link>
</li>
</ul>
</div>