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

🎨 add accordion icons to intro tab #150

Merged
merged 1 commit into from
Dec 10, 2024
Merged
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
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
Loading