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

Replace dock logo with truvera logo. #52

Merged
merged 2 commits into from
Dec 31, 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
14 changes: 7 additions & 7 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ import { Button } from 'components/ui/button';
export default function Home() {
return (
<>
<div className="cardsContainer m-auto p-10 text-center">
<div className="flex">
<div className="mr-5">
<Image alt="docklogo" src="/docklogo.png" width={84} height={32} />
<div className="p-10 m-auto text-center cardsContainer">
<div className="flex items-center">
<div className="mr-3 h-[24px]">
<Image alt="truveralogo" src="/truveralogoblack.png" width={108} height={24} />
</div>
<div>
<h1 className="Header">
<span className="mr-2">|</span> Sales Demo
</h1>
</div>
</div>
<div className="pt-5 grid xl:grid-cols-5 lg:grid-cols-4 md:grid-cols-3 sm:grid-cols-2 sm:grid-cols-1 gap-4 text-center">
<div className="grid gap-4 pt-5 text-center xl:grid-cols-5 lg:grid-cols-4 md:grid-cols-3 sm:grid-cols-2 sm:grid-cols-1">
{organizations.map((org, i) => (
<div key={`card${i}`}>
<div key={i} className="orgCard">
Expand All @@ -30,7 +30,7 @@ export default function Home() {
{org.name === 'Quotient' && (
<div className="mt-2">
<Link href="/wallet">
<Button className="w-full pt-6 pb-6 rounded-full font-bold" variant="outline">
<Button className="w-full pt-6 pb-6 font-bold rounded-full" variant="outline">
<a className="text-blue-600" target="_blank" rel="noopener noreferrer">
Download the
<br />
Expand All @@ -47,7 +47,7 @@ export default function Home() {
<Separator />
</div>
<DemoFlow />
<div className="mt-5 m-auto">
<div className="m-auto mt-5">
<Link href="/org/quotient">
<button className="launchBtn">Launch Demo</button>
</Link>
Expand Down
42 changes: 22 additions & 20 deletions pages/mdl.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,10 @@ function OID4VPProofRequest({ title, desc, proofRequestSetupObject, onPres, setE
</Head>

<div className="orgCard">
<div className="cardImg valign-middle m-auto">
<p className="font-bold mb-5">{title}</p>
<div className="m-auto cardImg valign-middle">
<p className="mb-5 font-bold">{title}</p>
{isVerified ? (
<div className="pt-5 min-h-28 text-sm">Verified!</div>
<div className="pt-5 text-sm min-h-28">Verified!</div>
) : (
<div>
{proofRequest && proofRequest.qrUrlData && proofRequest.qrUrlData.url ? (
Expand Down Expand Up @@ -254,38 +254,40 @@ export default function Home() {

return (
<>
<div className="cardsContainer m-auto p-10 text-center">
<div className="flex">
<div className="mr-5">
<Image alt="docklogo" src="/docklogo.png" width={84} height={32} />
</div>
<div>
<div className="p-10 m-auto text-center cardsContainer">
<div>
<div className="flex items-center">
<div className="mr-3 h-[24px]">
<Image alt="truveralogo" src="/truveralogoblack.png" width={108} height={24} />
</div>
<h1 className="Header">
<span className="mr-2">|</span> MDL Demo
</h1>
<p className="text-justify mt-5">
</div>
<div>
<p className="mt-5 text-justify">
Use this page to test out mDL presentations.
<br />
Currently this page supports the Google Digital Credentials API implementation on
Android.
<br />
</p>

<p className="text-justify mt-5">
<p className="mt-5 text-justify">
<Collapsible.Root
open={showInstructions}
onOpenChange={setShowInstructions}
className="CollapsibleRoot">
<div className="text-justify mt-5">
<div className="mt-5 text-justify">
<Collapsible.Trigger asChild>
<Button>
{showInstructions ? '- Hide Instructions' : '+ View Instructions'}
</Button>
</Collapsible.Trigger>
</div>
<Collapsible.Content>
<div className="text-left mt-5">
<div className="text-left mt-5 text-lg">Device Requirements</div>
<div className="mt-5 text-left">
<div className="mt-5 text-lg text-left">Device Requirements</div>
<ol className="pl-5 list-disc">
<li>Android device</li>
<li>Google Play services 23.40 (or later)</li>
Expand All @@ -295,8 +297,8 @@ export default function Home() {
</ol>
</div>

<div className="text-left mt-5">
<div className="text-left mt-5 text-lg">Setup the Google IC Wallet</div>
<div className="mt-5 text-left">
<div className="mt-5 text-lg text-left">Setup the Google IC Wallet</div>
<ol className="pl-5 list-disc">
<li>
Download and install the apk from
Expand All @@ -314,8 +316,8 @@ export default function Home() {
</ol>
</div>

<div className="text-left mt-5">
<div className="text-left mt-5 text-lg">Test it out</div>
<div className="mt-5 text-left">
<div className="mt-5 text-lg text-left">Test it out</div>

<ol className="pl-5 list-disc">
<li>Open Chrome on your Android device</li>
Expand All @@ -340,7 +342,7 @@ export default function Home() {
<div className="mt-10 mb-10">
<Separator />
</div>
<div className="pt-5 grid xl:grid-cols-3 lg:grid-cols-3 md:grid-cols-3 sm:grid-cols-2 sm:grid-cols-1 gap-4 text-center">
<div className="grid gap-4 pt-5 text-center xl:grid-cols-3 lg:grid-cols-3 md:grid-cols-3 sm:grid-cols-2 sm:grid-cols-1">
<OID4VPProofRequest
proofRequestSetupObject={mdlProofRequest}
title="Over 18 check"
Expand All @@ -359,7 +361,7 @@ export default function Home() {
<div className="mt-10 mb-10">
<Separator />
</div>
<div className="mt-5 m-auto" style={{ textAlign: 'left' }}>
<div className="m-auto mt-5" style={{ textAlign: 'left' }}>
{error && <pre>Error: {error}</pre>}
{res ? (
<pre>
Expand Down
26 changes: 13 additions & 13 deletions pages/openid.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ function OID4VPProofRequest({ title, desc, proofRequestSetupObject }) {
return (
<div>
<div className="orgCard">
<div className="cardImg valign-middle m-auto">
<p className="font-bold mb-5">{title}</p>
<div className="m-auto cardImg valign-middle">
<p className="mb-5 font-bold">{title}</p>
{isVerified ? (
<div className="pt-5 min-h-28 text-sm">
<div className="pt-5 text-sm min-h-28">
Verified!
<br />
<br />
Expand Down Expand Up @@ -288,22 +288,22 @@ export default function Home() {

return (
<>
<div className="cardsContainer m-auto p-10 text-center">
<div className="flex">
<div className="mr-5">
<Image alt="docklogo" src="/docklogo.png" width={84} height={32} />
<div className="p-10 m-auto text-center cardsContainer">
<div className="flex items-center">
<div className="mr-3 h-[24px]">
<Image alt="truveralogo" src="/truveralogoblack.png" width={108} height={24} />
</div>
<div>
<h1 className="Header">
<span className="mr-2">|</span> Sales Demo
</h1>
</div>
</div>
<div className="pt-5 grid xl:grid-cols-3 lg:grid-cols-3 md:grid-cols-3 sm:grid-cols-2 sm:grid-cols-1 gap-4 text-center">
<div className="grid gap-4 pt-5 text-center xl:grid-cols-3 lg:grid-cols-3 md:grid-cols-3 sm:grid-cols-2 sm:grid-cols-1">
<div>
<div className="orgCard">
<div className="cardImg valign-middle m-auto">
<p className="font-bold mb-5">OID4VCI</p>
<div className="m-auto cardImg valign-middle">
<p className="mb-5 font-bold">OID4VCI</p>
<div>
{credentialOffer ? (
<QRCodeGenerator url={credentialOffer.url} />
Expand All @@ -324,8 +324,8 @@ export default function Home() {

<div>
<div className="orgCard">
<div className="cardImg valign-middle m-auto">
<p className="font-bold mb-5">OID4VCI (no auth)</p>
<div className="m-auto cardImg valign-middle">
<p className="mb-5 font-bold">OID4VCI (no auth)</p>
<div>
{credentialOfferNoAuth ? (
<QRCodeGenerator url={credentialOfferNoAuth.url} />
Expand Down Expand Up @@ -359,7 +359,7 @@ export default function Home() {
<div className="mt-10 mb-10">
<Separator />
</div>
<div className="mt-5 m-auto">
<div className="m-auto mt-5">
<button className="launchBtn" style={{ width: '300px' }} onClick={generateEBSIUrls}>
Generate EBSI Conformance URLs
</button>
Expand Down
Binary file added public/truveralogoblack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.