Move the NGU logos to src/assets/logos and load event logos from uploads
The site's own logos now live in src/assets/logos. Event logos are no longer bundled: the event cards resolve them through media.ts like every other image, and a bare event-logo filename now means one in the uploads directory (fall-retreat-logo.svg has been moved there by hand). Organization logos on the cards resolve from org-logos. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
84e4e2acae
commit
a67ca98394
12 changed files with 21 additions and 113 deletions
|
|
@ -7,7 +7,7 @@
|
|||
edit rather than a grep.
|
||||
|
||||
⚠ Only two of these directories are confirmed by the admin help
|
||||
text: people/ and event-logos/. The other three are a guess at
|
||||
text: people/. Event logos are uploads. The other three are a guess at
|
||||
your convention. Check public/ and fix them here — nothing else
|
||||
references the paths.
|
||||
|
||||
|
|
@ -30,7 +30,10 @@ function inDir(dir: string) {
|
|||
}
|
||||
|
||||
export const personPhoto = inDir('/people') // confirmed
|
||||
export const eventLogo = inDir('/event-logos') // confirmed
|
||||
// Event logos are uploads. A bare filename is one copied into the
|
||||
// uploads directory by hand (fall-retreat-logo.svg was); anything
|
||||
// uploaded through the admin is already /uploads/…
|
||||
export const eventLogo = inDir('/uploads')
|
||||
export const eventBackground = inDir('/event-backgrounds')
|
||||
export const orgLogo = inDir('/org-logos') // ⚠ guess
|
||||
export const teamLogo = inDir('/team-logos') // ⚠ guess
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue