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 #143

Open
wants to merge 19 commits into
base: qr_code_component
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 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 modified challenges/images/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
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 class="font-outfit m-0">
<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 py-4 px-4">
<img src="/images/image-qr-code.png" alt="" class="rounded-lg" />
</div>
<div class="px-6 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-4 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/ngumokenneth/frontend_mentor_challenges/tree/qr_code_component/challenges/qr_code_component"
>Source code</a
>
</div>
</div>
</div>
</body>
Expand Down
2 changes: 2 additions & 0 deletions challenges/qr_code_component/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;
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