diff --git a/src/components/layout/TabbedLayout.tsx b/src/components/layout/TabbedLayout.tsx index 54e0381..3870ed3 100644 --- a/src/components/layout/TabbedLayout.tsx +++ b/src/components/layout/TabbedLayout.tsx @@ -15,12 +15,10 @@ export function TabbedLayout({ flyout, }: Props) { return ( -
-
-
{navigation}
-
{title}
-
-
+
+
{navigation}
+
{title}
+
{tabs}
-
+ {campaign.name} + } + navigation={ ← Back to campaigns -
-

- {campaign.name} -

-
-

Sessions

+ } + tabs={[ + , + ]} + content={
- +
+

+ Sessions +

+
+ +
+
+ {sessions && sessions.length > 0 ? ( +
+
    + {sessions.map((s: any) => ( +
  • + +
  • + ))} +
+
+ ) : ( +
+ No sessions found for this campaign. +
+ )}
-
- {sessions && sessions.length > 0 ? ( -
-
    - {sessions.map((s: any) => ( -
  • - -
  • - ))} -
-
- ) : ( -
- No sessions found for this campaign. -
- )} -
+ } + /> ); }