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

Ajoute un bandeau titre sur la page accueil #22

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
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
Binary file added public/assets/images/image-site-vitrine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
section {
display: flex;
justify-content: space-between;
margin-top: 3em;
padding: 1em 3em;
background-color: #f5f5fe;
}

section h1 {
font-size: 2em;
color: #000091;
}

section h2 {
font-size: 1em;
font-weight: normal;
}

.image-site-vitrine {
width: 320px;
height: 320px;
padding: 0 4em 0 0;
background-image: url(/statique/assets/images/image-site-vitrine.png);
background-repeat: no-repeat;
background-size: contain;
}

.bouton {
display: block;
cursor: pointer;
Expand Down
2 changes: 2 additions & 0 deletions public/assets/styles/commun.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ body {
display: flex;
flex-direction: column;

min-width: 1000px;

height: 100%;
margin: 0;
font-family: 'Marianne';
Expand Down
9 changes: 8 additions & 1 deletion src/vues/accueil.pug
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
extends base

block styles
link(rel='stylesheet', href='/statique/assets/styles/pageAccueil.css')
link(rel='stylesheet', href='/statique/assets/styles/accueil.css')

block bandeau
section
.titre
h1 Bienvenue sur le démonstrateur d'eIDAS
h2 Vous trouverez sur ce site l'ensemble des informations sur le fonctionnement et l'utilisation d'eIDAS
.image-site-vitrine

block page
if avecConnexionFCPlus
Expand Down
3 changes: 3 additions & 0 deletions src/vues/base.pug
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ html(lang = 'fr', xml:lang = 'fr', xmlns = 'http://www.w3.org/1999/xhtml')
.logo-eidas
.titre-eidas European<br>digital ID

.bandeau
block bandeau

main
block page

Expand Down
Loading