Display L-UI; panel binary/process l-ui, agent lui-agent. Dirs /usr/local/l-ui, /etc/l-ui, /var/log/l-ui; DB /etc/l-ui/l-ui.db (name file drives it via GetName), probe.db beside it, cert /etc/l-ui/cert, bin /usr/local/l-ui/bin. Services l-ui.service / lui-agent.service, OpenRC lui-agent, l-ui.sh, cmd/lui-agent. Env prefix XUI_ -> LUI_ (code reads new prefix only). Release assets l-ui-linux-* / lui-agent-linux-*; Gitea repo rogue/l-ui is a placeholder pending user confirmation (see selfupdate.go note). Go module path github.com/mhsanaei/3x-ui/v3 intentionally kept. Versions unchanged: panel V2.6.0 / agent A2.5.0.
16 lines
661 B
TypeScript
16 lines
661 B
TypeScript
import { cn } from '@/lib/cn';
|
|
|
|
// Official L-UI logo (media/L-UI-{light,dark}.png from the upstream repo).
|
|
// Theme-aware via Tailwind's `dark:` variant. Pass a height class (e.g. `h-6`);
|
|
// width scales automatically (the artwork is 2:1).
|
|
export function Logo({ className }: { className?: string }) {
|
|
return (
|
|
<>
|
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
|
<img src="/logo-light.png" alt="L-UI" className={cn('w-auto dark:hidden', className)} />
|
|
{/* eslint-disable-next-line @next/next/no-img-element */}
|
|
<img src="/logo-dark.png" alt="L-UI" className={cn('hidden w-auto dark:block', className)} />
|
|
</>
|
|
);
|
|
}
|