Add new setting view, component, and router to rustfs-gui (#223)

- Create `SettingViews` component in `views/setting.rs`.
- Update `views/mod.rs` to include the new `SettingViews` component.
- Update routing in `main.rs` to include the new route for `SettingViews`.
This commit is contained in:
houseme
2025-02-18 01:39:16 +08:00
committed by GitHub
parent 08bca5a129
commit 279f8397f7
7 changed files with 617 additions and 2 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ pub fn Home() -> Element {
// setting button
Link {
class: "p-2 hover:bg-gray-100 rounded-lg",
to: Route::HomeViews {},
to: Route::SettingViews {},
SettingButton {}
}
}