fix: misc UI changes (#2175)

# What does this PR do?

- Add pre-req to run the server (install deps)
- Fix the static build

Closes: https://github.com/meta-llama/llama-stack/issues/2174

Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han 2025-05-15 22:03:05 +02:00 committed by GitHub
parent 1a6d4af5e9
commit 3cc15f7d15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 30 additions and 23 deletions

View file

@ -1,4 +1,5 @@
import { MessageSquareText, MessagesSquare } from "lucide-react"
import Link from "next/link"
import {
Sidebar,
@ -29,9 +30,9 @@ const logItems = [
export function AppSidebar() {
return (
<Sidebar>
<SidebarHeader>
<a href="/">Llama Stack</a>
</SidebarHeader>
<SidebarHeader>
<Link href="/">Llama Stack</Link>
</SidebarHeader>
<SidebarContent>
<SidebarGroup>
<SidebarGroupLabel>Logs</SidebarGroupLabel>
@ -40,10 +41,10 @@ export function AppSidebar() {
{logItems.map((item) => (
<SidebarMenuItem key={item.title}>
<SidebarMenuButton asChild>
<a href={item.url}>
<Link href={item.url}>
<item.icon />
<span>{item.title}</span>
</a>
</Link>
</SidebarMenuButton>
</SidebarMenuItem>
))}