Use hero from @tricoteuses/explorer-tools.
This commit is contained in:
parent
7fdb3d37aa
commit
10ee8c3c98
5 changed files with 49 additions and 43 deletions
|
@ -6,4 +6,4 @@ DB_USER="legi"
|
|||
# Change value of DB_PASSWORD!
|
||||
DB_PASSWORD="legi"
|
||||
|
||||
TITLE="Tricoteuses Données légales (exemple)"
|
||||
TITLE="Tricoteuses (exemple)"
|
||||
|
|
34
package-lock.json
generated
34
package-lock.json
generated
|
@ -14,10 +14,10 @@
|
|||
"@iconify/svelte": "^2.2.1",
|
||||
"@playwright/test": "^1.22.2",
|
||||
"@sveltejs/adapter-node": "^1.0.0-next.86",
|
||||
"@sveltejs/kit": "^1.0.0-next.427",
|
||||
"@sveltejs/kit": "^1.0.0-next.428",
|
||||
"@sveltejs/package": "^1.0.0-next.1",
|
||||
"@tailwindcss/typography": "^0.5.3",
|
||||
"@tricoteuses/explorer-tools": "^0.1.4",
|
||||
"@tricoteuses/explorer-tools": "^0.1.9",
|
||||
"@types/fs-extra": "^9.0.13",
|
||||
"@types/he": "^1.1.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
||||
|
@ -250,9 +250,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/@sveltejs/kit": {
|
||||
"version": "1.0.0-next.427",
|
||||
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.427.tgz",
|
||||
"integrity": "sha512-HUt1knOXaEM18y7E3k0CvhTxmoNhp0KbgfbLPmuRvSrQxRMsTnTpupZwW5mmU0VZkm4HHsf8mwftGy4WR8qf1Q==",
|
||||
"version": "1.0.0-next.428",
|
||||
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.428.tgz",
|
||||
"integrity": "sha512-CVp7zltQ+3VOII1s7KuvgvGEFwD0PSqts9R3q4eaj0CNoC3gpdzcbEZayyQwXX/3lI1HdSNSF8gxbX0TRUoFuA==",
|
||||
"dev": true,
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
|
@ -343,13 +343,14 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@tricoteuses/explorer-tools": {
|
||||
"version": "0.1.4",
|
||||
"resolved": "https://registry.npmjs.org/@tricoteuses/explorer-tools/-/explorer-tools-0.1.4.tgz",
|
||||
"integrity": "sha512-ghgmyaz2uyoiX8Z5krhHkF/QxCZN1CFf9FncN2gyaC3jTjmLACgD50aA3sUmQbm5eEhHuINVvCqvWedsixiRxg==",
|
||||
"version": "0.1.9",
|
||||
"resolved": "https://registry.npmjs.org/@tricoteuses/explorer-tools/-/explorer-tools-0.1.9.tgz",
|
||||
"integrity": "sha512-qMeJdl4GXNShCHnCRZGLogmAie/TFEEC6BiKBasK4NqewWIyFSCmO8tWKRaDdXU7US641lS0ZRHFZwcVWkO6mA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"@iconify-icons/codicon": "^1.2.15",
|
||||
"@iconify/svelte": "^2.2.1"
|
||||
"@iconify/svelte": "^2.2.1",
|
||||
"augmented-data-viewer": "^0.1.5"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/fs-extra": {
|
||||
|
@ -3925,9 +3926,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"@sveltejs/kit": {
|
||||
"version": "1.0.0-next.427",
|
||||
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.427.tgz",
|
||||
"integrity": "sha512-HUt1knOXaEM18y7E3k0CvhTxmoNhp0KbgfbLPmuRvSrQxRMsTnTpupZwW5mmU0VZkm4HHsf8mwftGy4WR8qf1Q==",
|
||||
"version": "1.0.0-next.428",
|
||||
"resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.0.0-next.428.tgz",
|
||||
"integrity": "sha512-CVp7zltQ+3VOII1s7KuvgvGEFwD0PSqts9R3q4eaj0CNoC3gpdzcbEZayyQwXX/3lI1HdSNSF8gxbX0TRUoFuA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@sveltejs/vite-plugin-svelte": "^1.0.1",
|
||||
|
@ -3982,13 +3983,14 @@
|
|||
}
|
||||
},
|
||||
"@tricoteuses/explorer-tools": {
|
||||
"version": "0.1.4",
|
||||
"resolved": "https://registry.npmjs.org/@tricoteuses/explorer-tools/-/explorer-tools-0.1.4.tgz",
|
||||
"integrity": "sha512-ghgmyaz2uyoiX8Z5krhHkF/QxCZN1CFf9FncN2gyaC3jTjmLACgD50aA3sUmQbm5eEhHuINVvCqvWedsixiRxg==",
|
||||
"version": "0.1.9",
|
||||
"resolved": "https://registry.npmjs.org/@tricoteuses/explorer-tools/-/explorer-tools-0.1.9.tgz",
|
||||
"integrity": "sha512-qMeJdl4GXNShCHnCRZGLogmAie/TFEEC6BiKBasK4NqewWIyFSCmO8tWKRaDdXU7US641lS0ZRHFZwcVWkO6mA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@iconify-icons/codicon": "^1.2.15",
|
||||
"@iconify/svelte": "^2.2.1"
|
||||
"@iconify/svelte": "^2.2.1",
|
||||
"augmented-data-viewer": "^0.1.5"
|
||||
}
|
||||
},
|
||||
"@types/fs-extra": {
|
||||
|
|
|
@ -27,10 +27,10 @@
|
|||
"@iconify/svelte": "^2.2.1",
|
||||
"@playwright/test": "^1.22.2",
|
||||
"@sveltejs/adapter-node": "^1.0.0-next.86",
|
||||
"@sveltejs/kit": "^1.0.0-next.427",
|
||||
"@sveltejs/kit": "^1.0.0-next.428",
|
||||
"@sveltejs/package": "^1.0.0-next.1",
|
||||
"@tailwindcss/typography": "^0.5.3",
|
||||
"@tricoteuses/explorer-tools": "^0.1.4",
|
||||
"@tricoteuses/explorer-tools": "^0.1.9",
|
||||
"@types/fs-extra": "^9.0.13",
|
||||
"@types/he": "^1.1.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
||||
|
|
|
@ -1,30 +1,34 @@
|
|||
<script lang="ts">
|
||||
import { Hero } from "@tricoteuses/explorer-tools"
|
||||
|
||||
import { page } from "$app/stores"
|
||||
import { appMenu } from "$lib/legal"
|
||||
</script>
|
||||
|
||||
<main>
|
||||
<div class="hero bg-base-200">
|
||||
<div class="hero-content flex-col lg:flex-row">
|
||||
<img
|
||||
alt="Les Tricoteuses jacobines ou de Robespierre"
|
||||
class="max-w-sm rounded-lg shadow-2xl"
|
||||
src="/tricoteuses_jacobines_1301x1907.jpg"
|
||||
/>
|
||||
<div>
|
||||
<h1 class="text-5xl font-bold">
|
||||
{$page.data.appTitle}
|
||||
Légifrance
|
||||
</h1>
|
||||
<p class="py-6">
|
||||
Un site et des API pour permettre aux développeurs d'utiliser plus
|
||||
facilement les données publiques légales de la <abbr
|
||||
title="Direction de l'information légale et administrative"
|
||||
>DILA</abbr
|
||||
>
|
||||
diffusées sur <a href="https://www.legifrance.gouv.fr/">Légifrance</a>
|
||||
</p>
|
||||
<a class="btn btn-primary" href="/recherche">Commencer</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Hero
|
||||
contributeUrl="https://git.en-root.org/tricoteuses/tricoteuses-legal-explorer"
|
||||
summaryMenu={appMenu}
|
||||
title={$page.data.appTitle}
|
||||
>
|
||||
<h1 class="text-5xl font-bold">
|
||||
{$page.data.appTitle}
|
||||
Légifrance
|
||||
</h1>
|
||||
<p class="py-6">
|
||||
Un site et des API pour permettre aux développeurs d'utiliser plus
|
||||
facilement les <a
|
||||
class="link link-hover link-primary"
|
||||
href="https://www.dila.premier-ministre.gouv.fr/repertoire-des-informations-publiques/les-donnees-juridiques"
|
||||
>données publiques légales de la <abbr
|
||||
title="Direction de l'information légale et administrative">DILA</abbr
|
||||
></a
|
||||
>
|
||||
diffusées sur
|
||||
<a
|
||||
class="link link-hover link-primary"
|
||||
href="https://www.legifrance.gouv.fr/">Légifrance</a
|
||||
>
|
||||
</p>
|
||||
</Hero>
|
||||
</main>
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1,009 KiB |
Loading…
Reference in a new issue