master
Araozu 2023-12-11 15:53:11 -05:00
parent 8e3f43a2a8
commit 27a088eb1e
9 changed files with 12 additions and 27 deletions

View File

@ -36,7 +36,7 @@ Correo electrónico: soporte@eegsac.com
`.trim()); `.trim());
const companyMessage = ` const companyMessage = `
Buen día estimado, Buen día estimado/a,
Se adjunta usuario, contraseña y cursos de la plataforma virtual para el personal solicitado. Se adjunta usuario, contraseña y cursos de la plataforma virtual para el personal solicitado.
El vínculo para acceder al aula virtual es el siguiente: https://aulavirtual.eegsac.com/ . El vínculo para acceder al aula virtual es el siguiente: https://aulavirtual.eegsac.com/ .

View File

@ -1,3 +1 @@
pub mod navrail; pub mod navrail;

View File

@ -1,12 +1,6 @@
use dioxus::prelude::*; use dioxus::prelude::*;
use crate::icons::{ use crate::icons::{DocxIcon, HomeIcon, KeyIcon, ScanIcon};
HomeIcon,
DocxIcon,
KeyIcon,
ScanIcon,
};
pub fn NavRail(cx: Scope) -> Element { pub fn NavRail(cx: Scope) -> Element {
render! { render! {
@ -14,7 +8,6 @@ pub fn NavRail(cx: Scope) -> Element {
div { div {
class: "flex flex-col justify-center items-center h-screen overflow-x-hidden", class: "flex flex-col justify-center items-center h-screen overflow-x-hidden",
// Home button
NavRailButton { NavRailButton {
path: "/", path: "/",
name: "Home", name: "Home",
@ -62,5 +55,3 @@ fn NavRailButton<'a>(cx: Scope, path: &'a str, name: &'a str, icon: Element<'a>)
} }
} }
} }

View File

@ -13,4 +13,3 @@ pub fn DocxIcon(cx: Scope) -> Element {
} }
} }
} }

View File

@ -13,4 +13,3 @@ pub fn HomeIcon(cx: Scope) -> Element {
} }
} }
} }

View File

@ -13,4 +13,3 @@ pub fn KeyIcon(cx: Scope) -> Element {
} }
} }
} }

View File

@ -1,9 +1,9 @@
mod home_icon;
mod docx_icon; mod docx_icon;
mod home_icon;
mod key_icon; mod key_icon;
mod scan_icon; mod scan_icon;
pub use home_icon::HomeIcon;
pub use docx_icon::DocxIcon; pub use docx_icon::DocxIcon;
pub use home_icon::HomeIcon;
pub use key_icon::KeyIcon; pub use key_icon::KeyIcon;
pub use scan_icon::ScanIcon; pub use scan_icon::ScanIcon;

View File

@ -13,4 +13,3 @@ pub fn ScanIcon(cx: Scope) -> Element {
} }
} }
} }

View File

@ -56,17 +56,17 @@ fn Home(cx: Scope) -> Element {
"Go to blog" "Go to blog"
} }
div { div {
h1 { div {
class: "bg-c-primary text-c-on-primary text-2xl py-2 px-4 border-2 border-c-outline rounded-md",
"High-Five counter: {count} :D (Are classes slow?)"
}
button { onclick: move |_| count += 1, "Up high!" }
button { onclick: move |_| count -= 1, "Down low!" }
br {}
p {
class: "text-4xl inline-block bg-c-primary p-4 rounded-full h-18 w-18", class: "text-4xl inline-block bg-c-primary p-4 rounded-full h-18 w-18",
"🦀" "🦀"
} }
br {}
h1 {
class: "bg-c-on-primary text-c-primary text-2xl py-2 px-4 border-2 border-c-outline rounded-md inline-block",
"EEG System (versión oxidada) ({count})"
}
button { onclick: move |_| count += 1, "Up high!" }
button { onclick: move |_| count -= 1, "Down low!" }
} }
} }
}) })