diff --git a/public/css/style.css b/public/css/style.css index 580b45b..7742f1e 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -55,6 +55,16 @@ body { margin-bottom: 0px; } +.header img { + image-align: center; + height: 110px; + width: 300px; +} + +.header a { + float: center; +} + .title { color: inherit; text-decoration: none; diff --git a/views/default.pug b/views/default.pug index e6086b3..93cc8b2 100644 --- a/views/default.pug +++ b/views/default.pug @@ -14,10 +14,10 @@ html // header.header // a.title(href='/') // h1 #{title} - p - img(src='https://thebatterypass.io/_next/static/media/logo_primary.ff8fcc3a.png' alt='enter image description here') - a.title(href='/') - h1#login-with-verifiable-credentials-vcs-demo-brpowered-by-fiware-data-space-connector--pdp-component + a.header(href='/') + img.header(src='https://thebatterypass.io/_next/static/media/logo_primary.ff8fcc3a.png' alt='Homepage') + a.header(href='/') + h2#login-with-verifiable-credentials-vcs-demo-brpowered-by-fiware-data-space-connector--pdp-component | Login with Verifiable Credentials (VCs) demo br | (powered by FIWARE Data Space Connector PDP component) diff --git a/views/index.pug b/views/index.pug index 848002d..3cd47de 100644 --- a/views/index.pug +++ b/views/index.pug @@ -1,13 +1,13 @@ extends default block content - div.container-login - h1 Login - table(class='table-login' border='1' frame='void' rules='rows') + div //.container-login + h1 Click link below to login + table(border='1' frame='void' rules='rows') // (class='table-login' border='1' frame='void' rules='rows') if siop tr td - a.button(href=`/loginSiop`) Login with VCs + a.button(href=`/loginSiop`) Login demo with VCs if siopJwtOnly tr td @@ -16,7 +16,7 @@ block content tr td a.button(href=`/login?idp=` + i.id) #{i.name} - + div h2#a-description-how-to-login-with-vcs-and-use-the-demobr | a) Description how to login with VCs and use the demo br