Skip to content

Commit

Permalink
Remove executive summary tab (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
MonikaFu authored Aug 27, 2024
1 parent 894c013 commit 688e209
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
14 changes: 5 additions & 9 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script lang="ts">
import { Tab, TabGroup } from '@skeletonlabs/skeleton';
import PactaIntro from './pacta_intro.svelte';
import ExecutiveSummary from './executive_summary.svelte';
import PortfolioView from './portfolio_view.svelte';
import SectorView from './sector_view.svelte';
import CompanyView from './company_view.svelte';
Expand All @@ -11,21 +10,18 @@

<TabGroup>
<Tab bind:group={tabSet} name="pacta_intro" value={0}>PACTA Intro</Tab>
<Tab bind:group={tabSet} name="executive_summary" value={1}>Executive Summary</Tab>
<Tab bind:group={tabSet} name="portfolio_view" value={2}>Portfolio-level Overview</Tab>
<Tab bind:group={tabSet} name="sector_view" value={3}>Sector-level Analysis</Tab>
<Tab bind:group={tabSet} name="company_view" value={4}>Company-level Analysis</Tab>
<Tab bind:group={tabSet} name="portfolio_view" value={1}>Portfolio-level Overview</Tab>
<Tab bind:group={tabSet} name="sector_view" value={2}>Sector-level Analysis</Tab>
<Tab bind:group={tabSet} name="company_view" value={3}>Company-level Analysis</Tab>
<!-- Tab Panels --->
<svelte:fragment slot="panel">
{#if tabSet === 0}
<PactaIntro />
{:else if tabSet === 1}
<ExecutiveSummary />
{:else if tabSet === 2}
<PortfolioView />
{:else if tabSet === 3}
{:else if tabSet === 2}
<SectorView />
{:else if tabSet === 4}
{:else if tabSet === 3}
<CompanyView />
{:else}
<p>Tab not found</p>
Expand Down
3 changes: 0 additions & 3 deletions src/routes/executive_summary.svelte

This file was deleted.

0 comments on commit 688e209

Please sign in to comment.