import React from "react"; import { css } from "@emotion/css"; import Container from "../../components/Container"; const exp = [ { title: "BlueCube", location: "Chennai", position: "Architectural Intern", year: "2015" }, { title: "Zoho", location: "Chennai", position: "Technical Content Writer", year: "2017" }, { title: "Manoj Exports", location: "Chennai", position: "Designer & web developer", year: "2017", }, { title: "Klenty", location: "Chennai", position: "Full stack developer", year: "2018" }, { title: "Hugo's Way", location: "Remote", position: "Full stack developer", year: "2018-19", }, { title: "Feathers Studio", location: "Chennai", position: "Founder", year: "2019-present" }, { title: "Navana Tech", location: "Remote", position: "Lead web dev", year: "2021-present", }, ]; const Circle: React.FC = () => (
); type Experience = { title: string; location: string; position: string; year: string; }; const ExpUnit: React.FC = ({ title, location, position, year }) => { return (

{[title, location].filter(Boolean).join(", ")}

{position} {" . "} {year}
); }; const getAge = (date: string) => { var today = new Date(); var birthDate = new Date(date); var age = today.getFullYear() - birthDate.getFullYear(); var m = today.getMonth() - birthDate.getMonth(); if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) return age - 1; return age; }; const age = getAge("27 May 1995"); const Exp: React.FC = () => { return (

I’m a {age} year old developer from Chennai, India.

Here are some places I’ve worked at:

* { flex-basis: 15rem; flex-grow: 1; margin-top: 4rem; margin-right: 3%; } `}> {exp.map(unit => ( ))}
); }; export default Exp;