c037473531
To reduce the number of files cloned during `create-next-app`, this PR shifts the SVG assets placed in the `public/` folder to instead by consumed from the Next.js site. Since these are SVG files (vector images), the Image component does _not_ optimize them with image optimization. Image optimization only applies to raster images (like `.png` or `.jpg`). This means it's effectively similar to using the `unoptimized` prop on the `Image` component, which means you don't need to add `remotePatterns` to `next.config.js` – which would be midly annoying for the `create-next-app` starter. I also renamed `file-text.svg` to `file.svg` so the URL is shorter. These assets will be live on .org any minute now. |
||
---|---|---|
.. | ||
app | ||
app-empty | ||
app-tw | ||
app-tw-empty | ||
default | ||
default-empty | ||
default-tw | ||
default-tw-empty | ||
.prettierrc.json | ||
index.ts | ||
types.ts |