-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from covidpass-org/dev
Added a build int QR-Code reader. Support upload QR-Codes as PNG
- Loading branch information
Showing
20 changed files
with
3,843 additions
and
7,839 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
export default Card | ||
|
||
function Card({ heading, content, step }) { | ||
return ( | ||
<div className="rounded-md p-6 bg-white dark:bg-gray-800 space-y-4"> | ||
{step && | ||
<div className="flex flex-row items-center"> | ||
<div className="rounded-full p-4 bg-green-600 h-5 w-5 flex items-center justify-center"> | ||
<p className="text-white text-lg font-bold"> | ||
{step} | ||
</p> | ||
</div> | ||
<div className="ml-3 font-bold text-xl"> | ||
{heading} | ||
</div> | ||
</div>} | ||
<div className="text-lg"> | ||
{content} | ||
</div> | ||
</div> | ||
) | ||
function Card({heading, content, step}) { | ||
return ( | ||
<div className="rounded-md p-6 bg-white dark:bg-gray-800 space-y-4"> | ||
{ | ||
step && | ||
<div className="flex flex-row items-center"> | ||
<div className="rounded-full p-4 bg-green-600 h-5 w-5 flex items-center justify-center"> | ||
<p className="text-white text-lg font-bold"> | ||
{step} | ||
</p> | ||
</div> | ||
<div className="ml-3 font-bold text-xl"> | ||
{heading} | ||
</div> | ||
</div> | ||
} | ||
<div className="text-lg"> | ||
{content} | ||
</div> | ||
</div> | ||
) | ||
} |
Oops, something went wrong.