add projects view and template

This commit is contained in:
2024-11-10 04:47:40 +01:00
parent 5eb0246863
commit a3de4dcb43
21 changed files with 350 additions and 65 deletions

View File

@@ -16,12 +16,4 @@ pub struct JobWithTechnologies {
pub end_date: Option<Date>,
pub technologies: Vec<String>,
pub still_working: bool,
}
pub fn get_technologies_from_string(technologies: &str) -> Vec<String> {
technologies
.split(',')
.map(|s| s.to_string())
.filter(|s| !s.trim().is_empty())
.collect()
}
}