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

QR code component #142

Open
wants to merge 3 commits into
base: qr_code_component
Choose a base branch
from
Open
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
Binary file added challenges/images/image-qr-code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 19 additions & 2 deletions challenges/qr_code_component/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,25 @@
</head>
<body class="m-0">
<div
class="flex h-[100vh] w-full flex-col place-content-center text-center"
class="flex h-[100vh] w-full flex-col place-content-center items-center bg-slate-300 text-center"
>
<div class="w-64 rounded-2xl bg-white p-3">
<!--Image -->
<img
class="rounded-lg object-contain"
src="../images/image-qr-code.png"
alt=""
/>
<div class="p-3 text-center text-xs">
<p class="bigger-text mt-3 mb-3 text-sm font-semibold">
Improve your front-end skills by building projects
</p>
<p class="text-gray-400">
Scan the QR code to visit Frontend Mentor and take your coding
skills to the next level
</p>
</div>
</div>
<div>
<a
class="text-optimum-blue hover:text-optimum-darkblue"
Expand All @@ -54,7 +71,7 @@
<div class="mt-3">
<a
class="text-optimum-blue hover:text-optimum-darkblue"
href="https://github.com/optimumBA/frontend_mentor_challenges/tree/qr_code_component/challenges/qr_code_component"
href="https://github.com/sule12/frontend_mentor_challenges/tree/qr_code_component/challenges/qr_code_component"
>Source code</a
>
</div>
Expand Down
Loading