XeNote/components/Job.tsx
Triston Armstrong fd51f273f4 Change a lot of things (see description)
- removes tailwind (was cool but dont need it)
- reworks a lot of the html
- utilize a no css... library? css file? idk
- add a few details
- rework the navigation on the built notes pages
- write a bunch of tailwind like css classes
- ... maybe some more, too lazy
2024-01-06 21:04:57 -06:00

23 lines
612 B
TypeScript

export interface JobProps {
logo: string
name: string
details: string
dateFrom: string
dateTo: string
}
export default function Job({ logo, name, details, dateFrom, dateTo }: JobProps) {
return (
<article className="flex gap-1" >
<img src={logo} className="rounded lg bg-grey" />
<span className="flex-1">
<div className="flex flex-between">
<span className="font-bold" > {name} </span>
<span className="font-muted" > {dateFrom} - {dateTo} </span>
</div>
<span className="font-muted" > {details} </span>
</span>
</article>
)
}