import React from "react"; import { css, cx } from "@emotion/css"; import Container from "../../components/Container"; import { otherProjects, projects, type Project } from "./data/project"; const styles = { project: css` position: relative; background: var(--card-bg); padding: 1.2rem; cursor: default; border-radius: 0.5rem; display: flex; flex-direction: column; transition: all 200ms; :hover { filter: invert(0.08); transform: translateY(-0.2rem); } header { display: flex; justify-content: space-between; align-items: center; } header { margin-bottom: 0.5rem; } `, tag: css` display: inline-block; padding: 0.1rem 0.4rem; background: var(--card-tags); color: var(--text-colour); border-radius: 0.2rem; transition: all 200ms; :hover { background: var(--card-tags-hover); } & + & { margin-left: 0.6rem; } `, }; const ProjectUnit: React.FC = ({ title, url, description, cat, wip, tags, }) => { return (

{title}

{"{"} {cat} {"}"}

{description}

{tags.map(tag => ( {tag} ))}

); }; const otherProjectsStyle = css` width: 100%; border-collapse: collapse; border-radius: 0.5rem; overflow: hidden; color: var(--text-colour); * { border-collapse: collapse; } th { color: var(--text-subdued); } th, td { padding: 0.9rem 1rem; text-align: left; line-height: 1.6; } td { border-top: 1px solid var(--table-border); } /* border-bottom: 1px solid var(--table-border); */ td a { display: block; min-width: max-content; } `; const Exp: React.FC = () => { return (

Things I've built

A few projects I'm proud of:

{projects.map(unit => ( ))}

Apart from the above, I've also built some other interesting stuff over time using a variety of technologies:

{otherProjects.map(unit => ( ))}
Project Description
{unit.title} {unit.description} # {unit.tags.join(", ")}
); }; export default Exp;