Browse Source

feat: add job search

pull/2/head
Muthu Kumar 5 months ago
parent
commit
f4b3ad8102
Failed to extract signature
  1. 6
      src/pages/main/Contact.tsx
  2. 60
      src/pages/main/Home.tsx
  3. 1
      src/util/dynamic-gradient.css

6
src/pages/main/Contact.tsx

@ -36,6 +36,7 @@ const CONTACT: Contact = {
Γ: "7", Γ: "7",
}, },
}, },
"Blog": { value: "→", link: "https://MKRhere.com" },
}; };
const Home: React.FC = () => { const Home: React.FC = () => {
@ -110,6 +111,11 @@ const Home: React.FC = () => {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
} }
/* Blog entry */
li:last-child {
margin-block-start: 1rem;
}
} }
`}> `}>
<ul <ul

60
src/pages/main/Home.tsx

@ -1,15 +1,71 @@
import React from "react"; import React from "react";
import Container from "../../components/Container"; import Container from "../../components/Container";
import Dashed from "../../components/Dashed"; import Dashed from "../../components/Dashed";
import { ReactComponent as Arrow } from "../../assets/arrow-thin.svg";
import { css, cx } from "@emotion/css";
import { setupCursorTracking } from "../../util";
const section = css`
display: flex;
flex-direction: column;
gap: 1rem;
justify-content: center;
`;
const Home: React.FC = () => { const Home: React.FC = () => {
return ( return (
<Container> <Container>
<h1>MKRhere</h1> <h1>MKRhere</h1>
<section
className={cx(
section,
css`
gap: 0.2rem;
`,
)}>
<p>
Welcome to the web home of <Dashed>designer</Dashed>,{" "}
<Dashed>developer</Dashed>, and <Dashed>architect</Dashed>{" "}
<b>Anu Rahul Nandhan.</b>
</p>
<p> <p>
Web home of <Dashed>designer</Dashed>, <Dashed>developer</Dashed>, and{" "} I'm also commonly known as <b>Muthu Kumar</b>.
<Dashed>architect</Dashed> <b>Muthu Kumar.</b>
</p> </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;
position: relative;
z-index: 0;
& 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>
</Container> </Container>
); );
}; };

1
src/util/dynamic-gradient.css

@ -22,7 +22,6 @@
z-index: -1; z-index: -1;
width: var(--size); width: var(--size);
height: var(--size); height: var(--size);
transform-origin: --size, --size;
scale: 0; scale: 0;
opacity: 0; opacity: 0;
background: radial-gradient( background: radial-gradient(

Loading…
Cancel
Save