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

Open
wants to merge 4 commits into
base: qr_code_component
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 54 additions & 27 deletions challenges/qr_code_component/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,37 +26,64 @@
href="../images/favicon-16x16.png"
/>
<link rel="manifest" href="../site.webmanifest" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />

<link
href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body class="m-0">
<div
class="flex h-[100vh] w-full 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.
<body class="bg-[#d6e0f0] px-2 py-6">
<div class="flex h-[100vh] w-full flex-col items-center justify-center p-3">
<div
class="flex max-w-[300px] flex-col gap-2 rounded-2xl bg-white px-3 pb-6 pt-3 shadow-lg md:pb-8"
>
<div class="rounded-lg">
<img
src="./images/image-qr-code.png"
class="h-[100%] w-[100%] overflow-hidden rounded-lg object-cover"
alt="no"
/>
</div>
<div class="flex flex-col gap-4">
<div class="text-center text-lg">
<span class="font-outfit text-base font-bold text-[#2a364d]"
>Improve your front-end skills by building projects</span
>
</div>
<div class="px-4 text-center text-sm text-[#707070] md:px-0">
<span class="font-outfit font-regular text-sm"
>Scan the QR code to visit Frontend Mentor and take your coding
skills to the next level</span
>
</div>
</div>
</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="font-outfit mt-2 py-3 text-sm">
<p>
<a
class="font-bold text-blue-500"
rel="noopener"
href="https://www.frontendmentor.io/challenges/qr-code-component-iux_sIO_H"
>Frontend Mentor challenge</a
>
for
<a class="font-bold text-blue-500" href="https://github.com/optimumBA"
>Optimum BH</a
>
Internship
</p>
<p class="text-center underline">
<a
class="font-bold text-blue-500"
rel="noopener"
href="https://github.com/mbashia/frontend_mentor_challenges/tree/qr_code_component/challenges/qr_code_component_main"
>Source code</a
>
</p>
</div>
</div>
</body>
Expand Down
8 changes: 8 additions & 0 deletions challenges/qr_code_component/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ module.exports = {
'optimum-blue': '#009efc',
'optimum-darkblue': '#0389e1',
},
fontFamily: {
outfit: ['Outfit'],
},
fontWeight: {
light: 200,
regular: 400,
bold: 700,
},
},
},
plugins: [],
Expand Down
Loading