diff --git a/client/next.config.mjs b/client/next.config.mjs index c5b60fe..380d427 100644 --- a/client/next.config.mjs +++ b/client/next.config.mjs @@ -12,6 +12,9 @@ const config = { root: import.meta.dirname, }, outputFileTracingRoot: import.meta.dirname, + images: { + domains: ["localhost"], + }, // Turns on file change polling for the Windows Dev Container // Doesn't work currently for turbopack, so file changes will not automatically update the client. // watchOptions: isWindowsDevContainer() diff --git a/client/src/components/ui/ItchEmbed.tsx b/client/src/components/ui/ItchEmbed.tsx new file mode 100644 index 0000000..5303279 --- /dev/null +++ b/client/src/components/ui/ItchEmbed.tsx @@ -0,0 +1,26 @@ +/* +relevant game model values: + name + hostURL + itchEmbedID +*/ + +type ItchEmbedProps = { + embedID: string; + // hostURL: string; + name: string; +}; + +export function ItchEmbed({ embedID, name }: ItchEmbedProps) { + return ( +
+