-
Notifications
You must be signed in to change notification settings - Fork 3
/
MainCard.tsx
24 lines (22 loc) · 1.01 KB
/
MainCard.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import SocialLinks from './SocialLinks'
export default function MainCard() {
return (
<div className="after:content relative flex aspect-square flex-col items-center justify-end gap-4 overflow-hidden rounded-lg bg-white/10 text-center text-white shadow-highlight after:pointer-events-none after:absolute after:inset-0 after:rounded-lg after:shadow-highlight lg:pt-0">
<img
className="absolute inset-0 w-full"
src="https://github.com/willianjusten.png"
alt="Willian Justen logo"
/>
<div className="absolute inset-0 z-10 flex flex-col justify-end bg-gradient-to-b from-black/10 to-black/80 px-4 py-4">
<h1 className="mb-2 text-lg font-bold tracking-widest sm:text-xl">
Willian Justen
</h1>
<p className="text-sm text-white/75">
Brazilian-based photographer and Software Engineer. Here I'll focus on
Street Photography, other photos you can find on the links down below.
</p>
<SocialLinks />
</div>
</div>
)
}