From 577e1434f3e2fdbf2b6b25aa5e9cf80c0351572b Mon Sep 17 00:00:00 2001 From: MarioYellowy Date: Tue, 18 Aug 2026 22:56:21 -0600 Subject: [PATCH 01/19] feat(header): Add link to the book --- src/components/header.rs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/header.rs b/src/components/header.rs index 63f806f..6476413 100644 --- a/src/components/header.rs +++ b/src/components/header.rs @@ -77,12 +77,13 @@ pub fn Header() -> impl IntoView { Blog
-
-
impl IntoView {} diff --git a/src/pages/events.rs b/src/pages/events.rs new file mode 100644 index 0000000..b92f451 --- /dev/null +++ b/src/pages/events.rs @@ -0,0 +1,4 @@ +use leptos::{IntoView, component}; + +#[component] +pub fn Events() -> impl IntoView {} diff --git a/src/pages/mod.rs b/src/pages/mod.rs index 0e86d06..be6f22e 100644 --- a/src/pages/mod.rs +++ b/src/pages/mod.rs @@ -1,11 +1,15 @@ mod aprende; +mod blog; mod communities; mod contributors; +mod events; mod index; mod projects; pub use aprende::Aprende; +pub use blog::Blog; pub use communities::Communities; pub use contributors::Contributors; +pub use events::Events; pub use index::Index; pub use projects::Projects; From e812ca239a7ad5ffc8aa877e9d477167014bdcf6 Mon Sep 17 00:00:00 2001 From: MarioYellowy Date: Wed, 19 Aug 2026 01:45:27 -0600 Subject: [PATCH 08/19] feat(logo): Make clickeable to redirect home --- src/components/header.rs | 29 +++++++++++++++++++++-------- src/context/theme_provider.rs | 1 + 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/src/components/header.rs b/src/components/header.rs index c682349..616b0f7 100644 --- a/src/components/header.rs +++ b/src/components/header.rs @@ -2,15 +2,19 @@ use crate::{ components::icons::{NewLogoRustDarkPageIcon, NewLogoRustLightPageIcon}, context::theme_provider::{Theme, use_theme}, }; -use leptos::{leptos_dom::logging::console_log, prelude::*}; +use leptos::prelude::*; use leptos_use::{use_media_query, use_window}; use rustlanges_components::{ button::{Button, Variant}, icons::{Moon, SunLine, SunMoon}, }; +/// Path that redirects to the book in spanish from RustLangEs const BOOK_PATH: &str = "https://book.rustlang-es.org/"; +/// Path that redirects to the discord community server +const JOIN_PATH: &str = "https://discord.rustlang-es.org/"; + #[island] pub fn Header() -> impl IntoView { let this = use_window(); @@ -54,15 +58,17 @@ pub fn Header() -> impl IntoView { let handler = move |_| { let current_theme = theme.get(); match current_theme { - Theme::System => theme.set(Theme::Dark), - Theme::Dark => theme.set(Theme::Light), - Theme::Light => theme.set(Theme::System), + Theme::Light => theme.set(Theme::Dark), + Theme::Dark | Theme::System => theme.set(Theme::Light), } }; view! {
- {move || logo()}
+ + {move || logo()} + +
+
+

Comunidad - Rust Lang en Español

+
+
+ + {move || logo()} + +
- +
+ } } From f3666bce501231af789c015a37cfafe5a79d5f6f Mon Sep 17 00:00:00 2001 From: YellowDev <111405389+MarioYellowy@users.noreply.github.com> Date: Wed, 23 Sep 2026 23:47:39 -0600 Subject: [PATCH 19/19] Update README with Linux/Mac setup instructions Removed Windows requirements section and added Linux/Mac configuration note. --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b69ed9b..1a7ebcf 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ ## Como ejecutar +La configuración está pensada para funcionar en entornos Linux y Mac, si tienes alguna configuración extra en tu `.cargo/config.toml` puede que el proceso de buildeo falle. + ### Requisitos Generales Antes de empezar es necesario tener estos programas @@ -49,13 +51,6 @@ Si usas NixOS direnv allow ``` -### Requisitos Windows >= 10 - -[BusyBox](https://busybox.net/) - -- Usando scoop `scoop install busybox` -- Usando choco `choco install busybox` - ### Desarrollo > [!NOTE]