From 37d16e43e7058cda802876a492f65d205e83a9e6 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 23 Jan 2025 11:51:08 +0100 Subject: [PATCH] Update page.tsx --- frontend/src/app/category-view/page.tsx | 26 +++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/category-view/page.tsx b/frontend/src/app/category-view/page.tsx index 094c1419..0ba6b650 100644 --- a/frontend/src/app/category-view/page.tsx +++ b/frontend/src/app/category-view/page.tsx @@ -53,12 +53,26 @@ const CategoryView = () => { {selectedCategory.scripts .sort((a, b) => a.name.localeCompare(b.name)) .map((script) => ( - - -

{script.name}

-

- {script.date_created || "No date available"} -

+ + +
+ {script.name} +
+

{script.name}

+

Created at: {script.date_created || "No date available"}

+
+
+

{script.description || "No description available."}

+
+ Default settings +
CPU: {script.install_methods[0]?.resources.cpu || "N/A"}vCPU
+
RAM: {script.install_methods[0]?.resources.ram || "N/A"}MB
+
HDD: {script.install_methods[0]?.resources.hdd || "N/A"}GB
+
))}