Fixes #37
This commit is contained in:
parent
8e3f43a2a8
commit
27a088eb1e
@ -36,7 +36,7 @@ Correo electrónico: soporte@eegsac.com
|
||||
`.trim());
|
||||
|
||||
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.
|
||||
|
||||
El vínculo para acceder al aula virtual es el siguiente: https://aulavirtual.eegsac.com/ .
|
||||
|
@ -1,3 +1 @@
|
||||
pub mod navrail;
|
||||
|
||||
|
||||
|
@ -1,12 +1,6 @@
|
||||
use dioxus::prelude::*;
|
||||
|
||||
use crate::icons::{
|
||||
HomeIcon,
|
||||
DocxIcon,
|
||||
KeyIcon,
|
||||
ScanIcon,
|
||||
};
|
||||
|
||||
use crate::icons::{DocxIcon, HomeIcon, KeyIcon, ScanIcon};
|
||||
|
||||
pub fn NavRail(cx: Scope) -> Element {
|
||||
render! {
|
||||
@ -14,7 +8,6 @@ pub fn NavRail(cx: Scope) -> Element {
|
||||
div {
|
||||
class: "flex flex-col justify-center items-center h-screen overflow-x-hidden",
|
||||
|
||||
// Home button
|
||||
NavRailButton {
|
||||
path: "/",
|
||||
name: "Home",
|
||||
@ -62,5 +55,3 @@ fn NavRailButton<'a>(cx: Scope, path: &'a str, name: &'a str, icon: Element<'a>)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -13,4 +13,3 @@ pub fn DocxIcon(cx: Scope) -> Element {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -13,4 +13,3 @@ pub fn HomeIcon(cx: Scope) -> Element {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -13,4 +13,3 @@ pub fn KeyIcon(cx: Scope) -> Element {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
mod home_icon;
|
||||
mod docx_icon;
|
||||
mod home_icon;
|
||||
mod key_icon;
|
||||
mod scan_icon;
|
||||
|
||||
pub use home_icon::HomeIcon;
|
||||
pub use docx_icon::DocxIcon;
|
||||
pub use home_icon::HomeIcon;
|
||||
pub use key_icon::KeyIcon;
|
||||
pub use scan_icon::ScanIcon;
|
||||
|
@ -13,4 +13,3 @@ pub fn ScanIcon(cx: Scope) -> Element {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -56,17 +56,17 @@ fn Home(cx: Scope) -> Element {
|
||||
"Go to blog"
|
||||
}
|
||||
div {
|
||||
h1 {
|
||||
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 {
|
||||
div {
|
||||
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!" }
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user