|
@ -1,16 +1,10 @@ |
|
|
import React from "react"; |
|
|
import React from "react"; |
|
|
import Container from "../../components/Container"; |
|
|
import Container from "../../components/Container"; |
|
|
import FlickerList from "../../components/FlickerList"; |
|
|
import FlickerList, { Tooltip } from "../../components/FlickerList"; |
|
|
import { ReactComponent as Arrow } from "../../assets/arrow-thin.svg"; |
|
|
import { ReactComponent as Arrow } from "../../assets/arrow-thin.svg"; |
|
|
import { css, cx } from "@emotion/css"; |
|
|
import { css } from "@emotion/css"; |
|
|
import { setupCursorTracking } from "../../util"; |
|
|
import { setupCursorTracking } from "../../util"; |
|
|
|
|
|
import { Emoji } from "../../components/Emoji"; |
|
|
const section = css` |
|
|
|
|
|
display: flex; |
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
gap: 1rem; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
const Home: React.FC = () => { |
|
|
const Home: React.FC = () => { |
|
|
return ( |
|
|
return ( |
|
@ -18,32 +12,50 @@ const Home: React.FC = () => { |
|
|
className={css` |
|
|
className={css` |
|
|
--distance: 2rem; |
|
|
--distance: 2rem; |
|
|
`}>
|
|
|
`}>
|
|
|
<section |
|
|
<section> |
|
|
|
|
|
<h1 |
|
|
style={{ |
|
|
style={{ |
|
|
// fiddle
|
|
|
// fiddle
|
|
|
marginLeft: "-0.3rem", |
|
|
marginLeft: "-0.31rem", |
|
|
}}> |
|
|
}}> |
|
|
<h1>MKRhere</h1> |
|
|
MKRhere |
|
|
|
|
|
</h1> |
|
|
<FlickerList |
|
|
<FlickerList |
|
|
style={{ |
|
|
style={{ |
|
|
// fiddle
|
|
|
// fiddle
|
|
|
marginTop: "calc(-1.7rem - 2px + var(--distance))", |
|
|
marginTop: "calc(-1.7rem - 2px + var(--distance))", |
|
|
|
|
|
marginLeft: "-0.1rem", |
|
|
|
|
|
fontSize: "0.9rem", |
|
|
}} |
|
|
}} |
|
|
list={[ |
|
|
list={[ |
|
|
{ |
|
|
{ |
|
|
text: "Designer", |
|
|
text: "Designer", |
|
|
description: |
|
|
description: ( |
|
|
"Graphic design is my passion 🤓 I have plenty of experience with Figma and Adobe Suite tools (especially Photoshop and InDesign)", |
|
|
<> |
|
|
|
|
|
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", |
|
|
text: "Developer", |
|
|
description: |
|
|
description: ( |
|
|
"🧑🏻💻 I started developing websites in 2015, and in 2017 I joined The Devs Network, catapulting my growth as a full-time developer", |
|
|
<> |
|
|
|
|
|
<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", |
|
|
text: "Architect", |
|
|
description: |
|
|
description: ( |
|
|
"I have a formal degree in architecture! I'm an architect in both construction and software 😉", |
|
|
<> |
|
|
|
|
|
I have a formal degree in architecture! I'm an architect in |
|
|
|
|
|
both construction and software <Emoji emoji="2x" /> |
|
|
|
|
|
</> |
|
|
|
|
|
), |
|
|
}, |
|
|
}, |
|
|
]} |
|
|
]} |
|
|
/> |
|
|
/> |
|
@ -51,42 +63,63 @@ const Home: React.FC = () => { |
|
|
<main |
|
|
<main |
|
|
className={css` |
|
|
className={css` |
|
|
/* fiddle */ |
|
|
/* fiddle */ |
|
|
margin-top: calc(-2.2rem + var(--distance)); |
|
|
margin-top: calc(-2.4rem + var(--distance)); |
|
|
|
|
|
|
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-wrap: wrap; |
|
|
flex-wrap: wrap; |
|
|
gap: var(--distance); |
|
|
gap: var(--distance); |
|
|
|
|
|
|
|
|
|
|
|
& img { |
|
|
|
|
|
image-rendering: pixelated; |
|
|
|
|
|
vertical-align: middle; |
|
|
|
|
|
|
|
|
|
|
|
&.emoji { |
|
|
|
|
|
margin-left: 0.4em; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
`}>
|
|
|
`}>
|
|
|
<img |
|
|
<img |
|
|
src="/assets/mkr-in-pixels.png" |
|
|
src="/assets/mkr-in-pixels.png" |
|
|
alt="MKR in pixels" |
|
|
alt="MKR in pixels" |
|
|
style={{ |
|
|
style={{ |
|
|
imageRendering: "pixelated", |
|
|
|
|
|
height: "8rem", |
|
|
height: "8rem", |
|
|
aspectRatio: "1", |
|
|
aspectRatio: "1", |
|
|
}} |
|
|
}} |
|
|
/> |
|
|
/> |
|
|
<article |
|
|
<article |
|
|
style={{ |
|
|
className={css` |
|
|
// fiddle
|
|
|
/* fiddle */ |
|
|
marginTop: "-0.4rem", |
|
|
margin-top: -0.4rem; |
|
|
}}> |
|
|
display: flex; |
|
|
<section |
|
|
flex-direction: column; |
|
|
className={cx( |
|
|
`}>
|
|
|
section, |
|
|
|
|
|
css` |
|
|
|
|
|
gap: 0.2rem; |
|
|
|
|
|
`,
|
|
|
|
|
|
)}> |
|
|
|
|
|
<p> |
|
|
<p> |
|
|
Welcome to the web home of <b>Anu Rahul Nandhan.</b> |
|
|
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> |
|
|
<p> |
|
|
<p> |
|
|
I'm also commonly known as <b>Muthu Kumar</b>. |
|
|
I'm from Chennai, South India |
|
|
|
|
|
<Emoji emoji="ind" /> |
|
|
|
|
|
</p> |
|
|
|
|
|
<p> |
|
|
|
|
|
I'm looking for work! |
|
|
|
|
|
<Emoji emoji="tada" baseline /> |
|
|
</p> |
|
|
</p> |
|
|
</section> |
|
|
|
|
|
<section className={section}> |
|
|
|
|
|
<p>I'm looking for work! 🎉</p> |
|
|
|
|
|
<button |
|
|
<button |
|
|
className={css` |
|
|
className={css` |
|
|
background: var(--card-tags); |
|
|
background: var(--card-tags); |
|
@ -96,6 +129,7 @@ const Home: React.FC = () => { |
|
|
color: var(--text-colour); |
|
|
color: var(--text-colour); |
|
|
cursor: pointer; |
|
|
cursor: pointer; |
|
|
font-size: 1rem; |
|
|
font-size: 1rem; |
|
|
|
|
|
margin-top: 0.4rem; |
|
|
|
|
|
|
|
|
position: relative; |
|
|
position: relative; |
|
|
z-index: 0; |
|
|
z-index: 0; |
|
@ -118,7 +152,6 @@ const Home: React.FC = () => { |
|
|
<Arrow /> |
|
|
<Arrow /> |
|
|
</a> |
|
|
</a> |
|
|
</button> |
|
|
</button> |
|
|
</section> |
|
|
|
|
|
</article> |
|
|
</article> |
|
|
</main> |
|
|
</main> |
|
|
</Container> |
|
|
</Container> |
|
|