Changed project structure.

This commit is contained in:
2023-08-29 13:22:36 +02:00
parent 7cb61cd38a
commit 44b8b21426
6 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
use leptos::*; use leptos::*;
use leptos_meta::*; use leptos_meta::*;
use leptos_router::*; use leptos_router::*;
use crate::home_page::HomePage;
use crate::locales::trl; use crate::locales::trl;
use crate::pages::home_page::HomePage;
#[component] #[component]
pub fn App(cx: Scope) -> impl IntoView { pub fn App(cx: Scope) -> impl IntoView {
+2
View File
@@ -0,0 +1,2 @@
pub mod modal_box;
+2 -2
View File
@@ -1,9 +1,9 @@
pub mod app; pub mod app;
pub mod modal_box;
pub mod home_page;
pub mod server_fn; pub mod server_fn;
pub mod locales; pub mod locales;
pub mod backend; pub mod backend;
mod pages;
mod components;
use cfg_if::cfg_if; use cfg_if::cfg_if;
+1 -1
View File
@@ -1,5 +1,5 @@
use leptos::*; use leptos::*;
use crate::modal_box::{DialogOpener, ModalDialog, ModalBody, ModalFooter}; use crate::components::modal_box::{DialogOpener, ModalDialog, ModalBody, ModalFooter};
use crate::server_fn::*; use crate::server_fn::*;
use crate::locales::trl; use crate::locales::trl;
+1
View File
@@ -0,0 +1 @@
pub mod home_page;