Add macros for chip, add tasks for creating job and skill

This commit is contained in:
2024-11-04 03:26:12 +01:00
parent 49d86dec00
commit feeaecac85
14 changed files with 140 additions and 1844 deletions

View File

@@ -13,6 +13,12 @@ pub async fn index(v: impl ViewRenderer, ctx: &AppContext) -> Result<impl IntoRe
)
}
pub async fn projects(v: impl ViewRenderer, ctx: &AppContext) -> Result<impl IntoResponse> {
// let projects = services::projects::get_all_projects(ctx).await?;
format::render().view(&v, "website/projects.html", data!({"projects": {}}))
}
pub async fn about(v: impl ViewRenderer) -> Result<impl IntoResponse> {
let age = services::website::get_current_age();