Skip to content

Commit

Permalink
🎨 add accordion icons to intro tab (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoffa authored Dec 10, 2024
1 parent d24fd49 commit 5419681
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions src/routes/pacta_intro.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
<div class="card p-8">
<Accordion autocollapse>
<AccordionItem open>
<svelte:fragment slot="lead">(icon)</svelte:fragment>
<svelte:fragment slot="lead">
<i class="fa-solid fa-book-open"></i>
</svelte:fragment>
<svelte:fragment slot="summary"><h3 class="h3">About PACTA</h3></svelte:fragment>
<svelte:fragment slot="content">
<div class="p-4">
Expand Down Expand Up @@ -63,7 +65,9 @@
</svelte:fragment>
</AccordionItem>
<AccordionItem>
<svelte:fragment slot="lead">(icon)</svelte:fragment>
<svelte:fragment slot="lead">
<i class="fa-solid fa-industry"></i>
</svelte:fragment>
<svelte:fragment slot="summary">
<h3 class="h3">
Economic Sectors Covered in PACTA and Their Relevance for Limiting Climate Change
Expand Down Expand Up @@ -157,7 +161,9 @@
</svelte:fragment>
</AccordionItem>
<AccordionItem>
<svelte:fragment slot="lead">(icon)</svelte:fragment>
<svelte:fragment slot="lead">
<i class="fa-solid fa-magnifying-glass"></i>
</svelte:fragment>
<svelte:fragment slot="summary"
><h3 class="h3">The PACTA Methodology at a Glance</h3>
</svelte:fragment>
Expand Down Expand Up @@ -288,7 +294,9 @@
</svelte:fragment>
</AccordionItem>
<AccordionItem>
<svelte:fragment slot="lead">(icon)</svelte:fragment>
<svelte:fragment slot="lead">
<i class="fa-solid fa-trowel-bricks"></i>
</svelte:fragment>
<svelte:fragment slot="summary">
<h3 class="h3">Inputs into the PACTA Methodology</h3>
</svelte:fragment>
Expand Down Expand Up @@ -407,7 +415,9 @@
</svelte:fragment>
</AccordionItem>
<AccordionItem>
<svelte:fragment slot="lead">(icon)</svelte:fragment>
<svelte:fragment slot="lead">
<i class="fa-solid fa-chart-area"></i>
</svelte:fragment>
<svelte:fragment slot="summary">
<h3 class="h3">PACTA Core Metrics overview</h3>
</svelte:fragment>
Expand Down Expand Up @@ -500,7 +510,9 @@
</svelte:fragment>
</AccordionItem>
<AccordionItem>
<svelte:fragment slot="lead">(icon)</svelte:fragment>
<svelte:fragment slot="lead">
<i class="fa-solid fa-building-columns"></i>
</svelte:fragment>
<svelte:fragment slot="summary"
><h3 class="h3">Disclaimers and Limitations of the Analysis</h3></svelte:fragment
>
Expand Down

0 comments on commit 5419681

Please sign in to comment.