Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove executive summary tab #36

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading