Files
Montech_Landing/apps/landing/utils/media.ts
T
MahdiandCursor c33a757af4 Sync admin settings and media with the public landing site.
Show logo in the navbar, add image upload fields for logo/team/work/blog/gallery, and drive site chrome from settings everywhere.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-30 22:10:45 +03:30

6 lines
178 B
TypeScript

/** Resolve media/logo URLs for browser and SSR (relative /api/uploads/... stay as-is). */
export function mediaUrl(url?: string | null) {
if (!url) return "";
return url;
}