Upgrade packages & fix style of links

This commit is contained in:
Emmanuel 2024-12-07 09:00:24 +01:00
parent 2f9eb95b72
commit acfd911841
6 changed files with 258 additions and 736 deletions

975
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -58,7 +58,7 @@
"@sveltejs/kit": "^2.7.7", "@sveltejs/kit": "^2.7.7",
"@sveltejs/package": "^2.1.0", "@sveltejs/package": "^2.1.0",
"@sveltejs/vite-plugin-svelte": "^5.0.1", "@sveltejs/vite-plugin-svelte": "^5.0.1",
"@tricoteuses/assemblee": "^1.8.0", "@tricoteuses/assemblee": "^1.10.2",
"@types/eslint": "^9.6.1", "@types/eslint": "^9.6.1",
"@types/fs-extra": "^11.0.1", "@types/fs-extra": "^11.0.1",
"@types/he": "^1.1.2", "@types/he": "^1.1.2",
@ -67,7 +67,7 @@
"@types/object-hash": "^3.0.6", "@types/object-hash": "^3.0.6",
"@types/papaparse": "^5.3.7", "@types/papaparse": "^5.3.7",
"@types/slug": "^5.0.9", "@types/slug": "^5.0.9",
"augmented-data-viewer": "^0.6.4", "augmented-data-viewer": "^0.6.5",
"autoprefixer": "^10.4.7", "autoprefixer": "^10.4.7",
"bits-ui": "^1.0.0-next.65", "bits-ui": "^1.0.0-next.65",
"clsx": "^2.1.1", "clsx": "^2.1.1",
@ -79,7 +79,7 @@
"fs-extra": "^11.1.0", "fs-extra": "^11.1.0",
"globals": "^15.9.0", "globals": "^15.9.0",
"isomorphic-git": "^1.27.2", "isomorphic-git": "^1.27.2",
"lucide-svelte": "^0.464.0", "lucide-svelte": "^0.468.0",
"metslesliens": "git+https://git.en-root.org/eraviart/metslesliens.git", "metslesliens": "git+https://git.en-root.org/eraviart/metslesliens.git",
"morgan": "^1.10.0", "morgan": "^1.10.0",
"object-hash": "^3.0.0", "object-hash": "^3.0.0",

View file

@ -68,7 +68,10 @@
tabindex="-1" tabindex="-1"
> >
<Minus class="mr-1 mt-0.5 w-3 flex-none shrink-0" /> <Minus class="mr-1 mt-0.5 w-3 flex-none shrink-0" />
<a class="link-hover link-primary link" href={pathnameFromLegalId(id)}> <a
class="text-blue-500 underline hover:decoration-2"
href={pathnameFromLegalId(id)}
>
{lien["#text"]} {lien["#text"]}
</a> </a>
</div> </div>

View file

@ -35,7 +35,7 @@
{#each [...iterArrayOrSingleton(sectionTa.STRUCTURE_TA.LIEN_ART)] as lienArt} {#each [...iterArrayOrSingleton(sectionTa.STRUCTURE_TA.LIEN_ART)] as lienArt}
<li class="inline after:content-[',_'] after:last:content-['']"> <li class="inline after:content-[',_'] after:last:content-['']">
<a <a
class="link-hover link-primary link" class="text-blue-500 underline hover:decoration-2"
href={pathnameFromLegalId(lienArt["@id"])} href={pathnameFromLegalId(lienArt["@id"])}
> >
Article {lienArt["@num"]} Article {lienArt["@num"]}

View file

@ -24,7 +24,7 @@
{#each [...iterArrayOrSingleton(textelr.STRUCT.LIEN_ART)] as lienArt} {#each [...iterArrayOrSingleton(textelr.STRUCT.LIEN_ART)] as lienArt}
<li class="inline after:content-[',_'] after:last:content-['']"> <li class="inline after:content-[',_'] after:last:content-['']">
<a <a
class="link-hover link-primary link" class="text-blue-500 underline hover:decoration-2"
href={pathnameFromLegalId(lienArt["@id"])} href={pathnameFromLegalId(lienArt["@id"])}
> >
Article {lienArt["@num"]} Article {lienArt["@num"]}

View file

@ -18,7 +18,7 @@
<p class="py-6"> <p class="py-6">
Un site et des API pour permettre aux développeurs d'utiliser plus Un site et des API pour permettre aux développeurs d'utiliser plus
facilement les <a facilement les <a
class="link-hover link-primary link" class="text-blue-500 underline hover:decoration-2"
href="https://www.dila.premier-ministre.gouv.fr/repertoire-des-informations-publiques/les-donnees-juridiques" href="https://www.dila.premier-ministre.gouv.fr/repertoire-des-informations-publiques/les-donnees-juridiques"
>données publiques légales de la <abbr >données publiques légales de la <abbr
title="Direction de l'information légale et administrative">DILA</abbr title="Direction de l'information légale et administrative">DILA</abbr
@ -26,7 +26,7 @@
> >
diffusées sur diffusées sur
<a <a
class="link-hover link-primary link" class="text-blue-500 underline hover:decoration-2"
href="https://www.legifrance.gouv.fr/">Légifrance</a href="https://www.legifrance.gouv.fr/">Légifrance</a
> >
</p> </p>