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/WorkPreviewTile.tsx b/src/components/WorkPreviewTile.tsx index c316612..d6e7e08 100644 --- a/src/components/WorkPreviewTile.tsx +++ b/src/components/WorkPreviewTile.tsx @@ -4,26 +4,26 @@ import { Fade } from 'react-awesome-reveal' import CustomImg from './CustomImg' import Heading from './Heading' -const WorkPreviewTile = ({ title, className, link, src }: WorkPreviewTileProps) => { +const WorkPreviewTile = ({ title, className, link, src, titleRight }: WorkPreviewTileProps) => { return ( - +
{title} → @@ -36,6 +36,7 @@ type WorkPreviewTileProps = { title: string link: string src: string | undefined + titleRight?: boolean | undefined } & HTMLAttributes export default WorkPreviewTile 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/martin/images/martin-home.jpg b/src/content/martin/images/martin-home.jpg index 8389530..55c60f7 100644 Binary files a/src/content/martin/images/martin-home.jpg and b/src/content/martin/images/martin-home.jpg differ 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..f42ad29 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -17,7 +17,12 @@ const Home = () => { /> - +
)