|
|
|
import React from "react";
|
|
|
|
import FlickerList, { Tooltip } from "../../components/FlickerList";
|
|
|
|
import { ReactComponent as Arrow } from "../../assets/arrow-thin.svg";
|
|
|
|
import { css } from "@emotion/css";
|
|
|
|
import { setupCursorTracking } from "../../util";
|
|
|
|
import { Emoji } from "../../components/Emoji";
|
|
|
|
import { AnimateEntry } from "../../components/AnimateEntry";
|
|
|
|
|
|
|
|
const Home: React.FC = () => {
|
|
|
|
return (
|
|
|
|
<AnimateEntry
|
|
|
|
as="main"
|
|
|
|
delay={200}
|
|
|
|
className={css`
|
|
|
|
--gap: 2.2rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: var(--gap);
|
|
|
|
`}>
|
|
|
|
<section>
|
|
|
|
<h1
|
|
|
|
style={{
|
|
|
|
// fiddle
|
|
|
|
marginLeft: "-0.31rem",
|
|
|
|
}}>
|
|
|
|
MKRhere
|
|
|
|
</h1>
|
|
|
|
<FlickerList
|
|
|
|
style={{
|
|
|
|
// fiddle
|
|
|
|
marginTop: "calc(-1rem + var(--gap))",
|
|
|
|
marginLeft: "-0.1rem",
|
|
|
|
fontSize: "0.9rem",
|
|
|
|
}}
|
|
|
|
list={[
|
|
|
|
{
|
|
|
|
text: "Designer",
|
|
|
|
description: (
|
|
|
|
<>
|
|
|
|
Graphic design is my passion <Emoji emoji="nerd" /> I have
|
|
|
|
plenty of experience with Figma and Adobe Suite tools
|
|
|
|
(especially Photoshop and InDesign)
|
|
|
|
</>
|
|
|
|
),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: "Developer",
|
|
|
|
description: (
|
|
|
|
<>
|
|
|
|
<Emoji emoji="technologist" /> I started developing websites
|
|
|
|
in 2015, and in 2017 I joined The Devs Network, catapulting my
|
|
|
|
growth as a full-time developer
|
|
|
|
</>
|
|
|
|
),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: "Architect",
|
|
|
|
description: (
|
|
|
|
<>
|
|
|
|
I have a formal degree in architecture! I'm an architect in
|
|
|
|
both construction and software <Emoji emoji="2x" />
|
|
|
|
</>
|
|
|
|
),
|
|
|
|
},
|
|
|
|
]}
|
|
|
|
/>
|
|
|
|
</section>
|
|
|
|
<main
|
|
|
|
className={css`
|
|
|
|
/* fiddle */
|
|
|
|
margin-top: calc(-2.4rem + var(--gap));
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: var(--gap);
|
|
|
|
|
|
|
|
& img {
|
|
|
|
image-rendering: pixelated;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
&.emoji {
|
|
|
|
margin-left: 0.4em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`}>
|
|
|
|
<img
|
|
|
|
src="/assets/mkr-in-pixels.png"
|
|
|
|
alt="MKR in pixels"
|
|
|
|
style={{
|
|
|
|
height: "8rem",
|
|
|
|
aspectRatio: "1",
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
<article
|
|
|
|
className={css`
|
|
|
|
/* fiddle */
|
|
|
|
margin-top: -0.4rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.2rem;
|
|
|
|
`}>
|
|
|
|
<p>
|
|
|
|
Welcome to the web home of{" "}
|
|
|
|
<Tooltip
|
|
|
|
description={
|
|
|
|
<>
|
|
|
|
For legal reasons, my name is <i>Anu Rahul Nandhan</i>, but I
|
|
|
|
generally go by my{" "}
|
|
|
|
<a
|
|
|
|
href="https://en.wiktionary.org/wiki/nom_de_guerre"
|
|
|
|
target="_blank"
|
|
|
|
rel="noreferrer">
|
|
|
|
nom-de-guerre
|
|
|
|
</a>{" "}
|
|
|
|
Muthu Kumar.
|
|
|
|
</>
|
|
|
|
}>
|
|
|
|
<b>Muthu Kumar</b>.
|
|
|
|
</Tooltip>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
I'm from Chennai, South India
|
|
|
|
<Emoji emoji="ind" />
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
I'm looking for work!
|
|
|
|
<Emoji emoji="tada" baseline />
|
|
|
|
</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;
|
|
|
|
margin-top: 0.4rem;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
z-index: 0;
|
|
|
|
|
|
|
|
& a {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 1rem;
|
|
|
|
padding: 0.6rem 0.9rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
& a:hover {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
`}
|
|
|
|
ref={setupCursorTracking}>
|
|
|
|
<div className="dynamic-gradient" />
|
|
|
|
<a href="https://mkr.pw/resume" target="_blank">
|
|
|
|
Download my resume
|
|
|
|
<Arrow />
|
|
|
|
</a>
|
|
|
|
</button>
|
|
|
|
</article>
|
|
|
|
</main>
|
|
|
|
</AnimateEntry>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Home;
|