From 183675257713f1141d99a8fce1c51d9d07240df7 Mon Sep 17 00:00:00 2001 From: andrew Date: Tue, 5 Mar 2024 22:09:58 -0500 Subject: [PATCH] minor updates --- devblog/devblog/client/src/components/items/mod.rs | 1 - devblog/devblog/client/src/components/mod.rs | 2 +- .../client/src/components/{items => }/styles/textInput.css | 0 .../devblog/client/src/components/{items => }/text_input.rs | 0 devblog/devblog/client/src/pages/home.rs | 2 +- devblog/devblog/client/src/pages/sign_in.rs | 4 ++-- devblog/devblog/client/src/pages/sign_up.rs | 4 ++-- 7 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 devblog/devblog/client/src/components/items/mod.rs rename devblog/devblog/client/src/components/{items => }/styles/textInput.css (100%) rename devblog/devblog/client/src/components/{items => }/text_input.rs (100%) diff --git a/devblog/devblog/client/src/components/items/mod.rs b/devblog/devblog/client/src/components/items/mod.rs deleted file mode 100644 index cd0d6ee..0000000 --- a/devblog/devblog/client/src/components/items/mod.rs +++ /dev/null @@ -1 +0,0 @@ -pub mod text_input; diff --git a/devblog/devblog/client/src/components/mod.rs b/devblog/devblog/client/src/components/mod.rs index 260f120..bbc4ff4 100644 --- a/devblog/devblog/client/src/components/mod.rs +++ b/devblog/devblog/client/src/components/mod.rs @@ -3,7 +3,6 @@ pub mod comment_add; pub mod comment_delete; pub mod comment_edit; pub mod footer; -pub mod items; pub mod markdown; pub mod navbar; pub mod notifications; @@ -11,4 +10,5 @@ pub mod pager; pub mod post; pub mod post_delete; pub mod post_edit; +pub mod text_input; pub mod vote; diff --git a/devblog/devblog/client/src/components/items/styles/textInput.css b/devblog/devblog/client/src/components/styles/textInput.css similarity index 100% rename from devblog/devblog/client/src/components/items/styles/textInput.css rename to devblog/devblog/client/src/components/styles/textInput.css diff --git a/devblog/devblog/client/src/components/items/text_input.rs b/devblog/devblog/client/src/components/text_input.rs similarity index 100% rename from devblog/devblog/client/src/components/items/text_input.rs rename to devblog/devblog/client/src/components/text_input.rs diff --git a/devblog/devblog/client/src/pages/home.rs b/devblog/devblog/client/src/pages/home.rs index 89ed7d6..8a00546 100644 --- a/devblog/devblog/client/src/pages/home.rs +++ b/devblog/devblog/client/src/pages/home.rs @@ -1,5 +1,5 @@ use crate::{ - components::{items::text_input::TextInput, post::Post}, + components::{post::Post, text_input::TextInput}, helpers::{self, CustomCallback}, router::Route, store::Store, diff --git a/devblog/devblog/client/src/pages/sign_in.rs b/devblog/devblog/client/src/pages/sign_in.rs index 8390c50..d83269e 100644 --- a/devblog/devblog/client/src/pages/sign_in.rs +++ b/devblog/devblog/client/src/pages/sign_in.rs @@ -1,6 +1,6 @@ use crate::{ - components::items::text_input::TextInput, helpers, router::Route, Api, IdentityError, Store, - User, UserField, + components::text_input::TextInput, helpers, router::Route, Api, IdentityError, Store, User, + UserField, }; use gloo_net::http::{Headers, Method}; use std::ops::Deref; diff --git a/devblog/devblog/client/src/pages/sign_up.rs b/devblog/devblog/client/src/pages/sign_up.rs index b19323b..680fe84 100644 --- a/devblog/devblog/client/src/pages/sign_up.rs +++ b/devblog/devblog/client/src/pages/sign_up.rs @@ -1,6 +1,6 @@ use crate::{ - components::items::text_input::TextInput, helpers, router::Route, Api, IdentityError, Store, - User, UserField, + components::text_input::TextInput, helpers, router::Route, Api, IdentityError, Store, User, + UserField, }; use gloo_net::http::{Headers, Method}; use std::ops::Deref;