♻️ Rename views -> layouts

This commit is contained in:
2024-05-24 22:35:10 +02:00
parent e7e1a4d663
commit 8ed4ff3f2a
6 changed files with 8 additions and 8 deletions

View File

@@ -1,11 +1,11 @@
use dioxus::prelude::*;
use crate::ui::components::login::Login;
use crate::ui::components::login::Login as LoginComponent;
use crate::ui::components::wallpaper::Wallpaper;
turf::style_sheet!("src/ui/views/login_view.scss");
turf::style_sheet!("src/ui/layouts/login.scss");
pub fn LoginView() -> Element {
pub fn Login() -> Element {
rsx! {
style { {STYLE_SHEET} },
@@ -18,7 +18,7 @@ pub fn LoginView() -> Element {
div {
class: ClassName::LOGIN_VIEW_LOGIN_PANEL,
Login {}
LoginComponent {}
}
}
}

1
src/ui/layouts/mod.rs Normal file
View File

@@ -0,0 +1 @@
pub(crate) mod login;

View File

@@ -1,3 +1,3 @@
pub(crate) mod components;
pub(crate) mod layouts;
pub(crate) mod store;
pub(crate) mod views;

View File

@@ -1 +0,0 @@
pub(crate) mod login_view;