diff --git a/client/next.config.mjs b/client/next.config.mjs index 8b6bf03..0fcd33e 100644 --- a/client/next.config.mjs +++ b/client/next.config.mjs @@ -13,7 +13,11 @@ const config = { }, outputFileTracingRoot: import.meta.dirname, images: { - domains: ["localhost"], + remotePatterns: [ + { protocol: 'http', hostname: '127.0.0.1' }, + { protocol: 'http', hostname: 'localhost' }, + { protocol: 'https', hostname: 'upload.wikimedia.org' }, + ], }, // 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. diff --git a/client/src/components/ui/ItchEmbed.tsx b/client/src/components/ui/ItchEmbed.tsx new file mode 100644 index 0000000..eccff19 --- /dev/null +++ b/client/src/components/ui/ItchEmbed.tsx @@ -0,0 +1,17 @@ +type ItchEmbedProps = { + embedID: string; + name: string; +}; + +export function ItchEmbed({ embedID, name }: ItchEmbedProps) { + return ( +
+