Skip to content

Commit

Permalink
feat: back link in post and titles improved
Browse files Browse the repository at this point in the history
  • Loading branch information
ruizdiazever committed Jun 20, 2024
1 parent efdcbc3 commit 83afbc1
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
8 changes: 8 additions & 0 deletions src/components/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ pub fn Project(
) -> impl IntoView {
view! {
<div class="text-gray-600">
<a
href="/"
class="mb-2 text-gray-600 duration-200
group flex items-center gap-1"
>
<Icon class="duration-150 group-hover:translate-x-[-2.5px]" width="1em" height="1em" icon=i::IoChevronBack />
<p class="text-sm">BACK</p>
</a>
<h1 class="text-4xl text-gray-800 mb-2">{title}</h1>
<p>{subtitle}</p>
<div class="flex justify-between my-6">
Expand Down
6 changes: 3 additions & 3 deletions src/pages/home.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub fn Home() -> impl IntoView {
<div class="grid gap-4 grid-cols-1 md:grid-cols-2 place-items-center">
<Project
github=false
title="Picu".to_string()
title="Picu IoT".to_string()
description="Async Software Managment".to_string()
url="/projects/picu".to_string()
repository="https://github.com/ruizdiazever/portfolio-rs".to_string()
Expand All @@ -67,7 +67,7 @@ pub fn Home() -> impl IntoView {
</Project>
<Project
github=false
title="Aura".to_string()
title="Aura Design".to_string()
description="Design Engineering Company".to_string()
url="/projects/aura".to_string()
repository="https://github.com/ruizdiazever/portfolio-rs".to_string()
Expand All @@ -77,7 +77,7 @@ pub fn Home() -> impl IntoView {
</Project>
<Project
github=false
title="BERLi".to_string()
title="BERLi System".to_string()
description="STATE-OF-THE-ART IoT Platform".to_string()
url="/projects/berli".to_string()
repository="https://github.com/ruizdiazever/portfolio-rs".to_string()
Expand Down
4 changes: 2 additions & 2 deletions src/pages/projects/aura.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use leptos::*;
#[component]
pub fn Aura() -> 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(),
Expand Down
4 changes: 2 additions & 2 deletions src/pages/projects/berli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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![
Expand Down
4 changes: 2 additions & 2 deletions src/pages/projects/picu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 83afbc1

Please # to comment.