feat: add rust browser terminal prototype
This commit is contained in:
16
app/src/components/layout/breadcrumb.rs
Normal file
16
app/src/components/layout/breadcrumb.rs
Normal file
@@ -0,0 +1,16 @@
|
||||
use leptos::prelude::*;
|
||||
|
||||
use crate::client_icon::ClientIcon;
|
||||
|
||||
#[component]
|
||||
pub fn Breadcrumb(current: &'static str) -> impl IntoView {
|
||||
view! {
|
||||
<div class="cowa-breadcrumb">
|
||||
<span>"数据平台"</span>
|
||||
<ClientIcon icon=Some("ChevronRightIcon") class="cowa-breadcrumb-icon".to_owned() />
|
||||
<span>"管理中心"</span>
|
||||
<ClientIcon icon=Some("ChevronRightIcon") class="cowa-breadcrumb-icon".to_owned() />
|
||||
<strong>{current}</strong>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user