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 challenge #155

Open
wants to merge 13 commits into
base: qr_code_component
Choose a base branch
from
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 43 additions & 25 deletions challenges/qr_code_component/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,35 +28,53 @@
<link rel="manifest" href="../site.webmanifest" />
<link rel="stylesheet" href="style.css" />
</head>
<body class="m-0">
<body>
<div
class="flex h-[100vh] w-full flex-col place-content-center text-center"
class="bg-Light-gray flex h-screen flex-col items-center justify-center py-40"
>
<div>
<a
class="text-optimum-blue hover:text-optimum-darkblue"
href="https://www.frontendmentor.io/challenges/qr-code-component-iux_sIO_H"
target="_blank"
>Frontend Mentor challenge</a
>
</div>
<div>
for
<a
class="text-optimum-blue hover:text-optimum-darkblue"
href="https://github.com/optimumBA"
target="_blank"
>Optimum BH</a
>
Internship.
<div class="w-80 rounded-xl bg-white">
<div class="rounded-lg px-4 py-4">
<img src="images/image-qr-code.png" alt="" class="rounded-lg" />
</div>
<div class="px-4 text-center">
<h1 class="font-outfit text-Dark-blue px-4 pb-4 text-xl font-bold">
Improve your front-end skills by building projects
</h1>
<p class="text-Grayish-blue px-6 pb-8 text-sm">
Scan the QR code to visit Frontend Mentor and take your coding
skills to the next level
</p>
</div>
</div>
<div
class="mt-6 flex h-[100vh] flex-col place-content-center text-center"
>
<div>
<a
class="text-optimum-blue hover:text-optimum-darkblue"
href="https://www.frontendmentor.io/challenges/qr-code-component-iux_sIO_H"
target="_blank"
>Frontend Mentor challenge</a
>
</div>
<div>
for
<a
class="text-optimum-blue hover:text-optimum-darkblue"
href="https://github.com/optimumBA"
target="_blank"
>Optimum BH</a
>
Internship.
</div>

<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"
>Source code</a
>
<div class="mt-3">
<a
class="text-optimum-blue hover:text-optimum-darkblue"
href="https://github.com/akinyiv/frontend_mentor_challenges/tree/qr_code_component/challenges/qr_code_component"
>Source code</a
>
</div>
</div>
</div>
</body>
Expand Down
7 changes: 7 additions & 0 deletions challenges/qr_code_component/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ module.exports = {
colors: {
'optimum-blue': '#009efc',
'optimum-darkblue': '#0389e1',
White: 'hsl(0, 0%, 100%)',
'Light-gray': 'hsl(212, 45%, 89%)',
'Grayish-blue': 'hsl(220, 15%, 55%)',
'Dark-blue': 'hsl(218, 44%, 22%)',
},
fontFamily: {
outfit: ['Outfit', 'sans-serif'],
},
},
},
Expand Down
Loading