From 01389957fb7e7c4f172ae04504a68002941d36e7 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 26 Feb 2023 15:10:54 +0100 Subject: [PATCH] Remove demo object --- static-src/styles.css | 4 ++++ views/index.pug | 48 +++++++++++++++++++++---------------------- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/static-src/styles.css b/static-src/styles.css index 679bf21..15d0f13 100644 --- a/static-src/styles.css +++ b/static-src/styles.css @@ -382,6 +382,10 @@ pre code { border: 0px; } +#search { + margin-top: 96px; + margin-bottom: 128px; +} #qr { display: block; width: 100% !important; diff --git a/views/index.pug b/views/index.pug index 87ff886..31b0bde 100644 --- a/views/index.pug +++ b/views/index.pug @@ -1,30 +1,30 @@ extends templates/base.pug block content - .demo - kx-claim.kx-item(data-claim= demoData data-skip="true") - details - summary - .info - p.subtitle= demoData.matches[0].serviceprovider.name - p.title= demoData.matches[0].profile.display - .icons - .verificationStatus(data-value='running' aria-hidden='true') - .inProgress - .content - .subsection - img(src='/static/img/link.png' alt='') - div - if (demoData.matches[0].profile.uri) - p Profile link: - a(rel='me' href=demoData.matches[0].profile.uri)= demoData.matches[0].profile.uri - else - p Profile link: not accessible from browser - if (demoData.matches[0].proof.uri) - p Proof link: - a(href=demoData.matches[0].proof.uri)= demoData.matches[0].proof.uri - else - p Proof link: not accessible from browser + //- .demo + //- kx-claim.kx-item(data-claim= demoData data-skip="true") + //- details + //- summary + //- .info + //- p.subtitle= demoData.matches[0].serviceprovider.name + //- p.title= demoData.matches[0].profile.display + //- .icons + //- .verificationStatus(data-value='running' aria-hidden='true') + //- .inProgress + //- .content + //- .subsection + //- img(src='/static/img/link.png' alt='') + //- div + //- if (demoData.matches[0].profile.uri) + //- p Profile link: + //- a(rel='me' href=demoData.matches[0].profile.uri)= demoData.matches[0].profile.uri + //- else + //- p Profile link: not accessible from browser + //- if (demoData.matches[0].proof.uri) + //- p Proof link: + //- a(href=demoData.matches[0].proof.uri)= demoData.matches[0].proof.uri + //- else + //- p Proof link: not accessible from browser #search.form-wrapper.card h2#searchTitle View a profile