diff --git a/apps/app/src/components/fragments/project-card/index.tsx b/apps/app/src/components/fragments/project-card/index.tsx index 55d6d3f2..357b4548 100644 --- a/apps/app/src/components/fragments/project-card/index.tsx +++ b/apps/app/src/components/fragments/project-card/index.tsx @@ -2,23 +2,32 @@ import * as muiIcon from "@mui/icons-material"; import * as mui from "@mui/material"; import { Link as GatsbyLink } from "gatsby"; -import { styles } from "./styles"; +import { styles, useMediaStyles } from "./styles"; export interface MediaProps { + frameUrl?: string; title: string; - url: string; } -export const Media = ({ title, url }: MediaProps) => { +export const Media = (props: MediaProps) => { + const { frameUrl, title } = props; + + const styles = useMediaStyles(props); + return ( -