diff --git a/src/pages/projects.rs b/src/pages/projects.rs index d2a4e0b..e00bb0d 100644 --- a/src/pages/projects.rs +++ b/src/pages/projects.rs @@ -53,13 +53,14 @@ async fn project(project: web::Path) -> impl Responder { match project.as_str() { "website" => { let title = Heading::builder().text("Website").build(); + let gitea = Anchor::builder().href("https://git.aindustries.be/AINDUSTRIES/aindustries.be").text("aindustries-be").build(); let desc = Paragraph::builder().classes(vec!["description"]).text( - "This project, the website you are on, \ + format!("This project, the website you are on, \ is made in Rust such that all the pages are generated by code.
\ That is that each html element is represented by a struct which implements the Render trait (as in render the element to html).
\ As it is right now the system is not that impressive but I believe it can do amazing things in the futur.
\
\ - Wish to see more? Check out the gitea repository: ", + Wish to see more? Check out the gitea repository: {}", gitea.render()), ).build(); page.append_element_to_body(title); page.append_element_to_body(desc);