Replace the Gitea icon with the custom giteex icon everywhere it links to git.djeex.fr: the homepage card, the Lumeex repository cards, the "Other dumb things" table of contents link, the header and the footer. The footer needed a AppFooterRight override because Docus builds i-simple-icons-<key> from socials. The Gitea icon is kept where Gitea itself is the subject (Recycled summary cards).
Bundle the vscode-icons file-type icons used by code blocks (yaml, dotenv, php, toml, sqlite, shell) in the client bundle: the prerender lookup timed out (1500 ms) for each of them under load. Map bashrc and credentials, which vscode-icons has no icon for, to existing icons.
Render the header logo with plain <img> tags instead of NuxtImg/IPX: the prerendered /_ipx/_/img/logo.svg is recorded as text/plain in nuxt preview, so the browser refuses it. Production nginx derives the type from the extension and was not affected, /img/logo.svg is also served as image/svg+xml there.
Test plan
npm run build completes with the giteex change: 705 routes prerendered, Nuxt Icon loaded local collection brand with 3 icons, no error
/img/logo.svg and /logo-short.svg are served as image/svg+xml by the preview, /_ipx/_/img/logo.svg as text/plain (cause of the broken logo)
docudjeex-build nginx.conf and security-headers.conf reviewed: /img/logo.svg goes through location / and the CSP img-src 'self' allows it
Full npm run build with the footer and logo overrides, then npx nuxt preview: giteex icon in the header, footer, homepage card, Lumeex cards and table of contents, logo displayed
Build log: no more [Icon] loading icon vscode-icons:... timed out or failed to load icon warnings
Next docudjeex-build run after merge publishes and the logo and icons render on https://docu.djeex.fr
## Summary
- Replace the Gitea icon with the custom `giteex` icon everywhere it links to git.djeex.fr: the homepage card, the Lumeex repository cards, the "Other dumb things" table of contents link, the header and the footer. The footer needed a `AppFooterRight` override because Docus builds `i-simple-icons-<key>` from `socials`. The Gitea icon is kept where Gitea itself is the subject (Recycled summary cards).
- Bundle the `vscode-icons` file-type icons used by code blocks (yaml, dotenv, php, toml, sqlite, shell) in the client bundle: the prerender lookup timed out (1500 ms) for each of them under load. Map `bashrc` and `credentials`, which `vscode-icons` has no icon for, to existing icons.
- Render the header logo with plain `<img>` tags instead of NuxtImg/IPX: the prerendered `/_ipx/_/img/logo.svg` is recorded as `text/plain` in `nuxt preview`, so the browser refuses it. Production nginx derives the type from the extension and was not affected, `/img/logo.svg` is also served as `image/svg+xml` there.
## Test plan
- [x] `npm run build` completes with the giteex change: 705 routes prerendered, `Nuxt Icon loaded local collection brand with 3 icons`, no error
- [x] `/img/logo.svg` and `/logo-short.svg` are served as `image/svg+xml` by the preview, `/_ipx/_/img/logo.svg` as `text/plain` (cause of the broken logo)
- [x] docudjeex-build `nginx.conf` and `security-headers.conf` reviewed: `/img/logo.svg` goes through `location /` and the CSP `img-src 'self'` allows it
- [x] Full `npm run build` with the footer and logo overrides, then `npx nuxt preview`: giteex icon in the header, footer, homepage card, Lumeex cards and table of contents, logo displayed
- [x] Build log: no more `[Icon] loading icon vscode-icons:... timed out` or `failed to load icon` warnings
- [x] Next docudjeex-build run after merge publishes and the logo and icons render on https://docu.djeex.fr
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
giteexicon everywhere it links to git.djeex.fr: the homepage card, the Lumeex repository cards, the "Other dumb things" table of contents link, the header and the footer. The footer needed aAppFooterRightoverride because Docus buildsi-simple-icons-<key>fromsocials. The Gitea icon is kept where Gitea itself is the subject (Recycled summary cards).vscode-iconsfile-type icons used by code blocks (yaml, dotenv, php, toml, sqlite, shell) in the client bundle: the prerender lookup timed out (1500 ms) for each of them under load. Mapbashrcandcredentials, whichvscode-iconshas no icon for, to existing icons.<img>tags instead of NuxtImg/IPX: the prerendered/_ipx/_/img/logo.svgis recorded astext/plaininnuxt preview, so the browser refuses it. Production nginx derives the type from the extension and was not affected,/img/logo.svgis also served asimage/svg+xmlthere.Test plan
npm run buildcompletes with the giteex change: 705 routes prerendered,Nuxt Icon loaded local collection brand with 3 icons, no error/img/logo.svgand/logo-short.svgare served asimage/svg+xmlby the preview,/_ipx/_/img/logo.svgastext/plain(cause of the broken logo)nginx.confandsecurity-headers.confreviewed:/img/logo.svggoes throughlocation /and the CSPimg-src 'self'allows itnpm run buildwith the footer and logo overrides, thennpx nuxt preview: giteex icon in the header, footer, homepage card, Lumeex cards and table of contents, logo displayed[Icon] loading icon vscode-icons:... timed outorfailed to load iconwarnings