From c0419f19ca0cc1e30e6070229d9431b00cd1d787 Mon Sep 17 00:00:00 2001 From: Jose B Date: Wed, 2 Aug 2023 16:54:06 -0500 Subject: [PATCH] styling --- www/app/components/dashboard.js | 48 ++++++++++++++++++--------------- www/app/page.js | 2 +- 2 files changed, 27 insertions(+), 23 deletions(-) diff --git a/www/app/components/dashboard.js b/www/app/components/dashboard.js index e7017d11..d0b569ac 100644 --- a/www/app/components/dashboard.js +++ b/www/app/components/dashboard.js @@ -15,7 +15,7 @@ export function Dashboard({ return ( <> -
+

Meeting Notes

@@ -25,28 +25,32 @@ export function Dashboard({
- {topics.map((item, index) => ( -
-
setOpenIndex(openIndex === index ? null : index)} - > -
{item.timestamp}
-
- {item.title} - +
+ {topics.map((item, index) => ( +
+
setOpenIndex(openIndex === index ? null : index)} + > +
{item.timestamp}
+
+ {item.title} + +
+
-
+ {openIndex === index && ( +
{item.transcript}
+ )}
- {openIndex === index && ( -
{item.transcript}
- )} -
- ))} - + ))} + {topics.length === 0 && ( +
No topics yet
+ )} +
{finalSummary && (
@@ -57,7 +61,7 @@ export function Dashboard({ )}
-