burncloud_client_shared/components/
title_bar.rs

1use dioxus::prelude::*;
2
3#[component]
4pub fn TitleBar() -> Element {
5    rsx! {
6        div { class: "title-bar",
7            div { class: "flex items-center gap-md",
8                span { class: "text-title font-semibold",
9                    "BurnCloud - 大模型本地部署平台"
10                }
11            }
12            div { class: "flex items-center gap-xs",
13                button {
14                    class: "btn btn-subtle",
15                    style: "min-height: 28px; padding: 4px 8px;",
16                    "—"
17                }
18                button {
19                    class: "btn btn-subtle",
20                    style: "min-height: 28px; padding: 4px 8px;",
21                    "☐"
22                }
23                button {
24                    class: "btn btn-subtle",
25                    style: "min-height: 28px; padding: 4px 8px; color: #d13438;",
26                    "✕"
27                }
28            }
29        }
30    }
31}