|
|
@ -14,10 +14,21 @@ const section = css` |
|
|
|
|
|
|
|
const Home: React.FC = () => { |
|
|
|
return ( |
|
|
|
<Container> |
|
|
|
<section> |
|
|
|
<Container |
|
|
|
className={css` |
|
|
|
--distance: 2rem; |
|
|
|
`}>
|
|
|
|
<section |
|
|
|
style={{ |
|
|
|
// fiddle
|
|
|
|
marginLeft: "-0.3rem", |
|
|
|
}}> |
|
|
|
<h1>MKRhere</h1> |
|
|
|
<FlickerList |
|
|
|
style={{ |
|
|
|
// fiddle
|
|
|
|
marginTop: "calc(-1.7rem - 2px + var(--distance))", |
|
|
|
}} |
|
|
|
list={[ |
|
|
|
{ |
|
|
|
text: "Designer", |
|
|
@ -37,54 +48,79 @@ const Home: React.FC = () => { |
|
|
|
]} |
|
|
|
/> |
|
|
|
</section> |
|
|
|
<section |
|
|
|
className={cx( |
|
|
|
section, |
|
|
|
css` |
|
|
|
gap: 0.2rem; |
|
|
|
`,
|
|
|
|
)}> |
|
|
|
<p> |
|
|
|
Welcome to the web home of <b>Anu Rahul Nandhan.</b> |
|
|
|
</p> |
|
|
|
<p> |
|
|
|
I'm also commonly known as <b>Muthu Kumar</b>. |
|
|
|
</p> |
|
|
|
</section> |
|
|
|
<section className={section}> |
|
|
|
<p>I'm looking for work! 🎉</p> |
|
|
|
<button |
|
|
|
className={css` |
|
|
|
background: var(--card-tags); |
|
|
|
border: 0; |
|
|
|
border-radius: 0.5rem; |
|
|
|
width: fit-content; |
|
|
|
color: var(--text-colour); |
|
|
|
cursor: pointer; |
|
|
|
font-size: 1rem; |
|
|
|
<main |
|
|
|
className={css` |
|
|
|
/* fiddle */ |
|
|
|
margin-top: calc(-2.2rem + var(--distance)); |
|
|
|
|
|
|
|
position: relative; |
|
|
|
z-index: 0; |
|
|
|
display: flex; |
|
|
|
flex-wrap: wrap; |
|
|
|
gap: var(--distance); |
|
|
|
`}>
|
|
|
|
<img |
|
|
|
src="/assets/mkr-in-pixels.png" |
|
|
|
alt="MKR in pixels" |
|
|
|
style={{ |
|
|
|
imageRendering: "pixelated", |
|
|
|
height: "8rem", |
|
|
|
aspectRatio: "1", |
|
|
|
}} |
|
|
|
/> |
|
|
|
<article |
|
|
|
style={{ |
|
|
|
// fiddle
|
|
|
|
marginTop: "-0.4rem", |
|
|
|
}}> |
|
|
|
<section |
|
|
|
className={cx( |
|
|
|
section, |
|
|
|
css` |
|
|
|
gap: 0.2rem; |
|
|
|
`,
|
|
|
|
)}> |
|
|
|
<p> |
|
|
|
Welcome to the web home of <b>Anu Rahul Nandhan.</b> |
|
|
|
</p> |
|
|
|
<p> |
|
|
|
I'm also commonly known as <b>Muthu Kumar</b>. |
|
|
|
</p> |
|
|
|
</section> |
|
|
|
<section className={section}> |
|
|
|
<p>I'm looking for work! 🎉</p> |
|
|
|
<button |
|
|
|
className={css` |
|
|
|
background: var(--card-tags); |
|
|
|
border: 0; |
|
|
|
border-radius: 0.5rem; |
|
|
|
width: fit-content; |
|
|
|
color: var(--text-colour); |
|
|
|
cursor: pointer; |
|
|
|
font-size: 1rem; |
|
|
|
|
|
|
|
& a { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
gap: 1rem; |
|
|
|
padding: 1rem 2rem; |
|
|
|
} |
|
|
|
position: relative; |
|
|
|
z-index: 0; |
|
|
|
|
|
|
|
& a:hover { |
|
|
|
color: inherit; |
|
|
|
} |
|
|
|
`}
|
|
|
|
ref={setupCursorTracking}> |
|
|
|
<div className="dynamic-gradient" /> |
|
|
|
<a href="https://mkr.pw/resume" target="_blank"> |
|
|
|
Download Resume |
|
|
|
<Arrow /> |
|
|
|
</a> |
|
|
|
</button> |
|
|
|
</section> |
|
|
|
& a { |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
gap: 1rem; |
|
|
|
padding: 1rem 2rem; |
|
|
|
} |
|
|
|
|
|
|
|
& a:hover { |
|
|
|
color: inherit; |
|
|
|
} |
|
|
|
`}
|
|
|
|
ref={setupCursorTracking}> |
|
|
|
<div className="dynamic-gradient" /> |
|
|
|
<a href="https://mkr.pw/resume" target="_blank"> |
|
|
|
Download Resume |
|
|
|
<Arrow /> |
|
|
|
</a> |
|
|
|
</button> |
|
|
|
</section> |
|
|
|
</article> |
|
|
|
</main> |
|
|
|
</Container> |
|
|
|
); |
|
|
|
}; |
|
|
|