diff --git a/src/components/Badge.tsx b/src/components/Badge.tsx new file mode 100644 index 0000000..b1bf899 --- /dev/null +++ b/src/components/Badge.tsx @@ -0,0 +1,10 @@ +const Badge = ({ value }: { value: string }) => { + return ( +
+
{value}
+ + +
+ ) +} + +export default Badge diff --git a/src/components/WorkTile.tsx b/src/components/WorkTile.tsx index 6600ae6..a2ddc1c 100644 --- a/src/components/WorkTile.tsx +++ b/src/components/WorkTile.tsx @@ -68,6 +68,7 @@ type WorkTileWrapperProps = { title?: string text?: string more?: ReactNode + badges?: string[] } & HTMLAttributes export default WorkTile diff --git a/src/content/kolbord/index.tsx b/src/content/kolbord/index.tsx index 33b8108..a970aa7 100644 --- a/src/content/kolbord/index.tsx +++ b/src/content/kolbord/index.tsx @@ -35,6 +35,7 @@ const WorkKolbord = () => { links={} text="A prototype of an opinionated, free to use, and open source app for reservation of anything. It is meant to provide an alternative to corporate-oriented, heavy, and expensive booking apps." more={} + badges={['Figma', 'React', 'Payload CMS']} top={
diff --git a/src/content/mhd/index.tsx b/src/content/mhd/index.tsx index 11067d3..b0a9a15 100644 --- a/src/content/mhd/index.tsx +++ b/src/content/mhd/index.tsx @@ -40,6 +40,7 @@ const WorkMHD = () => { more={} text="A complete redesign of the ticket-buying experience for Bratislava public transport, from an completely new UX to a simpler, more intuitive ticket machine interface." top={} + badges={['Figma']} > diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 36798ac..49ba82d 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -3,6 +3,7 @@ import Intro from '@/content/Intro' import kolbordPreview from '@/content/kolbord/images/kolbord-home.jpg' import martinPreview from '@/content/martin/images/martin-home.jpg' import mhdPreview from '@/content/mhd/images/mhd-home.jpg' +import thankPreview from '@/content/thankful/images/thank-home.jpg' import vkjbPreview from '@/content/vkjb/images/vkjb-home.jpg' const Home = () => { @@ -16,6 +17,7 @@ const Home = () => { src={mhdPreview} /> +