From 0d6cc15cc846e4266fb34854f8254b91ad1e6111 Mon Sep 17 00:00:00 2001 From: WriterV2 Date: Fri, 1 Nov 2024 16:09:20 +0100 Subject: Feat: Add Frontend builder - update color scheme (TODO: accent color not final) - add product frontend helper to build card - add product frontend helper to build cards layout - add productmarker and implement for story, product and tool - add container for product and specific product (TODO: Refactoring) - add page builder for products - add temporary dummy product (TODO: Remove after first real implementation) --- src/db/tool.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/db/tool.rs') diff --git a/src/db/tool.rs b/src/db/tool.rs index 5e6ea0a..5f23f54 100644 --- a/src/db/tool.rs +++ b/src/db/tool.rs @@ -1,6 +1,10 @@ +use super::product::ProductMarker; + #[derive(Debug, serde::Serialize, sqlx::FromRow)] pub struct Tool { pub id: i64, pub repolink: String, pub pid: i64, } + +impl ProductMarker for Tool {} -- cgit v1.2.3