From 83afbc1d287f86d161dc9d0a50c17a2c5337b547 Mon Sep 17 00:00:00 2001 From: Ever Ruiz Diaz Date: Fri, 21 Jun 2024 01:09:35 +0200 Subject: [PATCH] feat: back link in post and titles improved --- src/components/project.rs | 8 ++++++++ src/pages/home.rs | 6 +++--- src/pages/projects/aura.rs | 4 ++-- src/pages/projects/berli.rs | 4 ++-- src/pages/projects/picu.rs | 4 ++-- 5 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/components/project.rs b/src/components/project.rs index b034623..3a14a6f 100644 --- a/src/components/project.rs +++ b/src/components/project.rs @@ -12,6 +12,14 @@ pub fn Project( ) -> impl IntoView { view! {
+ + +

BACK

+

{title}

{subtitle}

diff --git a/src/pages/home.rs b/src/pages/home.rs index f888847..7c9e6a0 100644 --- a/src/pages/home.rs +++ b/src/pages/home.rs @@ -57,7 +57,7 @@ pub fn Home() -> impl IntoView {
impl IntoView { impl IntoView { impl IntoView { // Project - let title = "Aura".to_string(); - let subtitle = "Aura is a engineering design company".to_string(); + let title = "Aura Design".to_string(); + let subtitle = "Engineering Design Company".to_string(); let date = "Jun 20, 2024".to_string(); let categories = vec![ "Project".to_string(), diff --git a/src/pages/projects/berli.rs b/src/pages/projects/berli.rs index 3ff26d5..f47176f 100644 --- a/src/pages/projects/berli.rs +++ b/src/pages/projects/berli.rs @@ -6,8 +6,8 @@ use leptos::*; #[component] pub fn Berli() -> impl IntoView { // Project - let title = "BERLi".to_string(); - let subtitle = "BERLi System is a async software managment".to_string(); + let title = "BERLi System".to_string(); + let subtitle = "Asynchronous enterprise software management".to_string(); let date = "Jun 18, 2024".to_string(); let categories = vec![ diff --git a/src/pages/projects/picu.rs b/src/pages/projects/picu.rs index 7d43ff1..06d7525 100644 --- a/src/pages/projects/picu.rs +++ b/src/pages/projects/picu.rs @@ -8,8 +8,8 @@ use leptos_icons::*; #[component] pub fn Picu() -> impl IntoView { // Project - let title = "Picu".to_string(); - let subtitle = "A cutting-edge IoT platform powered by Rust".to_string(); + let title = "Picu IoT".to_string(); + let subtitle = "Cutting-edge IoT platform powered by Rust".to_string(); let date = "Jun 18, 2024".to_string(); let categories = vec![ "Rust".to_string(),