remove old svelte web source

This commit is contained in:
2024-09-30 21:13:20 +02:00
parent f42ebc7044
commit 1ce8ccfdd5
149 changed files with 20 additions and 10198 deletions

View File

@ -0,0 +1,23 @@
use serde::Deserialize;
#[derive(Deserialize, Debug)]
pub struct ProjectMetadata {
pub title: String,
pub classification: String,
pub displayed: bool,
pub cover_image: Option<String>,
pub tags: Vec<String>,
pub featured: bool,
pub link: Option<String>,
}
pub fn translate_classification(classification: &str) -> &str {
match classification {
"webapp" => "Web application",
"website" => "Web site",
"presentation" => "Presentation",
"videogame" => "Video game",
"embedded" => "Embedded system",
any => any,
}
}