Use the giteex icon for git.djeex.fr links #5

Merged
Djeex merged 3 commits from giteex-icon-and-build-fixes into main 2026-11-30 14:30:43 +01:00
Owner

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

  • 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
Djeex added 3 commits 2026-11-30 14:30:14 +01:00
Djeex merged commit 8832b98515 into main 2026-11-30 14:30:43 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Djeex/docudjeex#5