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

Profile card component #157

Open
wants to merge 6 commits into
base: profile_card_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
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
104 changes: 79 additions & 25 deletions challenges/profile_card_component/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,34 +30,88 @@
</head>
<body class="m-0">
<div
class="flex h-[100vh] w-full flex-col place-content-center text-center"
class="bg-dark-cyan flex h-screen items-center justify-center overflow-hidden"
>
<div>
<a
class="text-optimum-blue hover:text-optimum-darkblue"
href="https://www.frontendmentor.io/challenges/profile-card-component-cfArpWshJ"
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="absolute z-40 flex flex-col justify-center">
<div class="flex w-[331px] flex-col items-center rounded-2xl bg-white">
<img
src="./images/bg-pattern-card.svg"
alt="card's parttern"
class="rounded-t-2xl"
/>
<div class="flex flex-col items-center">
<img
src="./images/image-victor.jpg"
alt="victor's image"
class="-mt-[52px] w-24 rounded-full ring-4 ring-white"
/>
<div class="my-4 flex flex-col items-center">
<p class="text-dark-desaturated-blue text-xl font-bold">
Victor Crest
<span class="text-dark-gray text-lg font-normal">26</span>
</p>
<span class="text-dark-gray bg-white text-sm">London</span>
</div>
</div>
<div class="flex w-full border-t"></div>

<div class="mt-3">
<a
class="text-optimum-blue hover:text-optimum-darkblue"
href="https://github.com/optimumBA/frontend_mentor_challenges/tree/profile_card_component/challenges/profile_card_component"
>Source code</a
>
<div class="my-5 flex gap-12 text-center">
<div>
<p class="text-dark-desaturated-blue text-lg font-bold">80K</p>
<span class="text-dark-gray text-xs">Followers</span>
</div>
<div>
<p class="text-dark-desaturated-blue text-lg font-bold">803K</p>
<span class="text-dark-gray text-xs">Likes</span>
</div>
<div>
<p class="text-dark-desaturated-blue text-lg font-bold">1.4K</p>
<span class="text-dark-gray text-xs">Photos</span>
</div>
</div>
</div>
<div class="mt-8 flex flex-col place-content-center text-center">
<div>Front-end development challenges</div>
<div>
by
<a
class="text-optimum-blue hover:text-optimum-darkblue"
href="https://www.frontendmentor.io/challenges/profile-card-component-cfArpWshJ"
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/akiniv/frontend_mentor_challenges/tree/profile_card_component/challenges/profile_card_component"
>Source code</a
>
</div>
</div>
</div>

<img
src="./images/bg-pattern-top.svg"
alt=""
class="relative bottom-72 right-16 lg:bottom-96"
/>
<img
src="./images/bg-pattern-bottom.svg"
alt=""
class="left-18 relative top-72 lg:top-96"
/>
</div>
</body>
</html>
7 changes: 7 additions & 0 deletions challenges/profile_card_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',
'dark-cyan': 'hsl(185, 75%, 39%)',
'dark-desaturated-blue': 'hsl(229, 23%, 23%)',
'dark-grayish-blue': 'hsl(227, 10%, 46%)',
'dark-gray': 'hsl(0, 0%, 59%)',
},
fontFamily: {
'kumbh-sans': ['Kumbh Sans', 'sans-serif'],
},
},
},
Expand Down
Loading