Skip to content

Commit

Permalink
Merge pull request #19 from covidpass-org/dev
Browse files Browse the repository at this point in the history
Added a build int QR-Code reader. Support upload QR-Codes as PNG
  • Loading branch information
SoerenBusse authored Jun 30, 2021
2 parents 888c40c + bae9a66 commit 55339ef
Show file tree
Hide file tree
Showing 20 changed files with 3,843 additions and 7,839 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ RUN addgroup -g 1001 -S nodejs
RUN adduser -S nextjs -u 1001

# You only need to copy next.config.js if you are NOT using the default configuration
COPY --from=builder /app/next.config.js ./
COPY --from=builder /app/server.js ./
# COPY --from=builder /app/next.config.js ./
COPY --from=builder /app/public ./public
COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next
COPY --from=builder /app/node_modules ./node_modules
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

Web app for adding EU COVID-19 Vaccination Certificates to your wallets

The API can be found [here](https://github.com/marvinsxtr/covidpass-api).

## Setup

```sh
Expand Down
40 changes: 21 additions & 19 deletions components/Card.js
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>
)
}
Loading

0 comments on commit 55339ef

Please sign in to comment.