Remove demo object

This commit is contained in:
Yarmo Mackenbach 2023-02-26 15:10:54 +01:00
parent db36aeac63
commit 01389957fb
2 changed files with 28 additions and 24 deletions

View file

@ -382,6 +382,10 @@ pre code {
border: 0px; border: 0px;
} }
#search {
margin-top: 96px;
margin-bottom: 128px;
}
#qr { #qr {
display: block; display: block;
width: 100% !important; width: 100% !important;

View file

@ -1,30 +1,30 @@
extends templates/base.pug extends templates/base.pug
block content block content
.demo //- .demo
kx-claim.kx-item(data-claim= demoData data-skip="true") //- kx-claim.kx-item(data-claim= demoData data-skip="true")
details //- details
summary //- summary
.info //- .info
p.subtitle= demoData.matches[0].serviceprovider.name //- p.subtitle= demoData.matches[0].serviceprovider.name
p.title= demoData.matches[0].profile.display //- p.title= demoData.matches[0].profile.display
.icons //- .icons
.verificationStatus(data-value='running' aria-hidden='true') //- .verificationStatus(data-value='running' aria-hidden='true')
.inProgress //- .inProgress
.content //- .content
.subsection //- .subsection
img(src='/static/img/link.png' alt='') //- img(src='/static/img/link.png' alt='')
div //- div
if (demoData.matches[0].profile.uri) //- if (demoData.matches[0].profile.uri)
p Profile link: //- p Profile link:
a(rel='me' href=demoData.matches[0].profile.uri)= demoData.matches[0].profile.uri //- a(rel='me' href=demoData.matches[0].profile.uri)= demoData.matches[0].profile.uri
else //- else
p Profile link: not accessible from browser //- p Profile link: not accessible from browser
if (demoData.matches[0].proof.uri) //- if (demoData.matches[0].proof.uri)
p Proof link: //- p Proof link:
a(href=demoData.matches[0].proof.uri)= demoData.matches[0].proof.uri //- a(href=demoData.matches[0].proof.uri)= demoData.matches[0].proof.uri
else //- else
p Proof link: not accessible from browser //- p Proof link: not accessible from browser
#search.form-wrapper.card #search.form-wrapper.card
h2#searchTitle View a profile h2#searchTitle View a profile