mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
19 lines
546 B
TypeScript
19 lines
546 B
TypeScript
"use client";
|
|
import { useSidebar } from "@/components/ui/sidebar";
|
|
import { env } from "@/env.mjs";
|
|
|
|
export type SideBarFooterCreditProps = {};
|
|
|
|
export const SideBarFooterCredit = (props: SideBarFooterCreditProps) => {
|
|
const { state } = useSidebar();
|
|
|
|
return (
|
|
<>
|
|
{state === "expanded" && (
|
|
<div className="text-center mb-2">
|
|
<h1 className="text-[10px]">Portabase Community Edition v{env.NEXT_PUBLIC_PROJECT_VERSION}</h1>
|
|
</div>
|
|
)}
|
|
</>
|
|
);
|
|
}; |