[Feat] UI - Add back favicon (#11728)

* add favicon on ui

* fix live check
This commit is contained in:
Ishaan Jaff 2025-06-14 11:13:42 -07:00 • committed by GitHub
parent 24df849c25
commit 6c8ff3f2c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 10 deletions

View file

@ -7,6 +7,7 @@ const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "LiteLLM Dashboard",
description: "LiteLLM Proxy Admin UI",
icons: { icon: "./favicon.ico" },
};
export default function RootLayout({

View file

@ -29,6 +29,7 @@ import {
TabPanels,
TabPanel,
Text,
Switch,
} from "@tremor/react";
import AuditLogs from "./audit_logs";
import { getTimeRangeDisplay } from "./logs_utils";
@ -161,16 +162,13 @@ export default function SpendLogsTable({
const LiveTailControls = () => {
return (
<div className="flex items-center gap-2">
<label className="relative inline-flex items-center cursor-pointer">
<input
type="checkbox"
className="sr-only peer"
checked={isLiveTail}
onChange={(e) => setIsLiveTail(e.target.checked)}
/>
<div className="w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-green-600"></div>
<span className="ml-2 text-sm font-medium text-gray-900">Live Tail</span>
</label>
<span className="text-sm font-medium text-gray-900">Live Tail</span>
<Switch
color="green"
checked={isLiveTail}
defaultChecked={true}
onChange={setIsLiveTail}
/>
</div>
);
};