Skip to content

Commit

Permalink
edited html
Browse files Browse the repository at this point in the history
  • Loading branch information
akinyiv committed Jan 26, 2024
1 parent 7282120 commit df8b871
Show file tree
Hide file tree
Showing 5 changed files with 102 additions and 0 deletions.
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.
77 changes: 77 additions & 0 deletions challenges/qr-code-component/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="../images/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="../images/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="../images/favicon-16x16.png"
/>
<link rel="manifest" href="../site.webmanifest" />
<link rel="stylesheet" href="style.css" />
<title>Frontend Mentor | QR code component</title>
</head>
<body class="font-outfit m-0">
<div
class="bg-Light-gray flex h-screen flex-col items-center justify-center py-40"
>
<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/ngumokenneth/frontend_mentor_challenges/tree/qr_code_component/challenges/qr_code_component"
>Source code</a
>
</div>
</div>
</div>
</body>
</html>
5 changes: 5 additions & 0 deletions challenges/qr-code-component/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;
20 changes: 20 additions & 0 deletions challenges/qr-code-component/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
content: ['./challenges/qr_code_component/index.html'],
theme: {
extend: {
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'],
},
},
},
plugins: [],
variants: {},
}

0 comments on commit df8b871

Please sign in to comment.