-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1647 from BaseAdresseNationale/update-usecases
Update app-card.js
- Loading branch information
Showing
2 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ import Head from '@/components/head' | |
import Section from '@/components/section' | ||
import SectionText from '@/components/section-text' | ||
import AppCard from '@/components/donnees-nationales/app-card' | ||
import ButtonLink from '@/components/button-link' | ||
|
||
import appsDataSource from '@/data/partners/usecases-ban.json' | ||
|
||
|
@@ -85,6 +86,17 @@ function BaseUsages() { | |
<div className='cards'> | ||
{filteredApps.map(appDescription => <AppCard key={appDescription.id_application} {...appDescription} />)} | ||
</div> | ||
<Section title='Vous utilisez la Base Adresse Nationale ?'> | ||
<SectionText> | ||
<p>Faites nous part de votre usage et faites apparaître votre application sur cette page</p> | ||
</SectionText> | ||
|
||
<div className='centered'> | ||
<ButtonLink href='mailto:[email protected]?subject=Ajout d‘un cas d‘usage - Base Adresse Nationale'> | ||
Ajoutez votre application | ||
</ButtonLink> | ||
</div> | ||
</Section> | ||
|
||
<style jsx>{` | ||
.container { | ||
|
@@ -109,7 +121,11 @@ function BaseUsages() { | |
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | ||
gap: 1rem; | ||
} | ||
.centered { | ||
margin: 40px auto; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
`}</style> | ||
</div> | ||
</Page> | ||
|