Skip to content
Snippets Groups Projects
Unverified Commit bd70511c authored by Dorine Lambinet's avatar Dorine Lambinet
Browse files

Ajoute panneau page d'accueil qui liste les articles PLF/PLFSS qui sont dispos

parent 3b07018d
No related branches found
No related tags found
1 merge request!277Ajoute panneau page d'accueil qui liste les articles PLF/PLFSS qui sont dispos
Pipeline #17513 passed
......@@ -34,6 +34,7 @@
testCasesIndex: [],
waterfallName: waterfalls[0].name,
}
const billActive = getContext("billActive") as Writable<boolean>
const navbarConfig = getContext("navbarConfig") as Writable<NavbarConfig>
const searchVariableName = getContext("searchVariableName") as Writable<
string | undefined
......@@ -219,7 +220,9 @@
<main class="h-full bg-yellow-50 pt-24 md:pt-12 2xl:pt-14">
<section
class="relative h-[78vh] before:absolute before:top-0 before:inset-x-0 before:h-[50vh] before:bg-gradient-to-b before:from-[#9AAAB4] before:to-transparent fond"
class="relative before:absolute before:top-0 before:inset-x-0 before:h-[50vh] before:bg-gradient-to-b before:from-[#9AAAB4] before:to-transparent fond"
class:h-full={$billActive}
class:h-[78vh]={!$billActive}
>
<div
class="h-full relative z-10 flex flex-col justify-evenly items-center text-base md:text-lg 2xl:text-2xl"
......@@ -310,7 +313,74 @@
/></a
>
</div>
{#if $billActive}
<div>
<h2 class="font-bold text-xl xl:text-2xl 2xl:text-3xl mt-10">
Consulter les impacts du PLF / PLFSS 2025&nbsp;:
</h2>
<h3 class="mt-4 mb-2 text-lg mx-2 font-bold">
Article 2 du PLF 2025 | Impôt sur le revenu :
</h3>
<a
class="mx-1 px-3 py-1 bg-white border-le-rouge-bill border-2 hover:bg-opacity-80 active:bg-opacity-70 rounded-full text-base"
data-sveltekit-noscroll
href={newSimulationUrl({
...displayMode,
parametersVariableName: "irpp_economique",
})}
>
Indexation des seuils du barème de l'<b>impôt sur le revenu</b>
</a>
<h3 class="mt-4 mb-2 text-lg mx-2 font-bold">
Article 6 du PLFSS 2025 | Allègements de cotisations :
</h3>
<div class="flex flex-col gap-2">
<div>
<a
class="mx-1 px-3 py-1 bg-white border-le-rouge-bill border-2 hover:bg-opacity-80 active:bg-opacity-70 rounded-full text-base"
data-sveltekit-noscroll
href={newSimulationUrl({
...displayMode,
parametersVariableName: "allegement_general",
})}
>
Baisse des taux de la <b>réduction générale</b> et modification
de l'assiette
</a>
</div>
<div>
<a
class="mx-1 px-3 py-1 bg-white border-le-rouge-bill border-2 hover:bg-opacity-80 active:bg-opacity-70 rounded-full text-base"
data-sveltekit-noscroll
href={newSimulationUrl({
...displayMode,
parametersVariableName: "allegement_cotisation_maladie",
})}
>
Baisse du plafond de rémunération de l'<b
>allègement maladie</b
>
</a>
</div>
<div>
<a
class="mx-1 px-3 py-1 bg-white border-le-rouge-bill border-2 hover:bg-opacity-80 active:bg-opacity-70 rounded-full text-base"
data-sveltekit-noscroll
href={newSimulationUrl({
...displayMode,
parametersVariableName:
"allegement_cotisation_allocations_familiales",
})}
>
Baisse du plafond de rémunération de l'<b
>allègement famille</b
>
</a>
</div>
</div>
</div>
{/if}
<div class="flex gap-9 mt-5 mb-3">
<hr class="mt-5 flex-1 border-dashed border-black" />
<span class="text-lg font-light xl:text-2xl 2xl:text-3xl">ou</span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment