From 411d443d7132c6e9135c045bf5abd22525763767 Mon Sep 17 00:00:00 2001 From: mattk Date: Wed, 14 Aug 2024 09:10:32 -0400 Subject: [PATCH] more detail in cards --- app/page.tsx | 6 ++++++ styles/Home.module.css | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/page.tsx b/app/page.tsx index 4778eae..e8d2602 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -62,6 +62,9 @@ export default function Home() {

{app.description}

{expandedCard === index && (
+

App ID: {app.appId}

+

Owner Organization ID: {app.appOwnerOrganizationId}

+

Publisher: {app.appPublisherName}

Contributor: {app.contributor}

MITRE TTP: {app.mitreTTP.join(', ')}

Tags: {app.tags.join(', ')}

@@ -97,6 +100,9 @@ export default function Home() {

{filteredApps[expandedCard].appDisplayName}

{filteredApps[expandedCard].description}

+

App ID: {filteredApps[expandedCard].appId}

+

Owner Organization ID: {filteredApps[expandedCard].appOwnerOrganizationId}

+

Publisher: {filteredApps[expandedCard].appPublisherName}

Contributor: {filteredApps[expandedCard].contributor}

MITRE TTP: {filteredApps[expandedCard].mitreTTP.join(', ')}

Tags: {filteredApps[expandedCard].tags.join(', ')}

diff --git a/styles/Home.module.css b/styles/Home.module.css index c552bd0..3029b35 100644 --- a/styles/Home.module.css +++ b/styles/Home.module.css @@ -107,6 +107,7 @@ .cardDetails p { margin: 0.5rem 0; + margin-top: 1em; font-size: 1rem; line-height: 1.5; color: var(--white-2); @@ -172,4 +173,4 @@ background-color: var(--primary-black); padding: 2px 4px; border-radius: 4px; -} \ No newline at end of file +}