fix(branding): render theme assets and dynamic metadata

This commit is contained in:
poyrazavsever
2026-07-17 21:56:29 +03:00
parent b603f260f8
commit ae370b4313
12 changed files with 28 additions and 15 deletions
+2 -5
View File
@@ -6,7 +6,7 @@ export const dynamic = "force-dynamic";
export default function manifest(): MetadataRoute.Manifest {
const branding = getPublicBranding();
return {
name: branding.applicationName,
name: branding.organizationName ?? branding.applicationName,
short_name: branding.shortName,
description: "Self-hosted freelancer operating dashboard",
start_url: "/",
@@ -15,9 +15,6 @@ export default function manifest(): MetadataRoute.Manifest {
theme_color: branding.primaryColor,
icons: branding.iconUrl
? [{ src: branding.iconUrl, sizes: "any", type: "image/png" }]
: [
{ src: "/icons/icon-192x192.png", sizes: "192x192", type: "image/png" },
{ src: "/icons/icon-512x512.png", sizes: "512x512", type: "image/png" },
],
: [{ src: "/logo/iconLogo.png", sizes: "any", type: "image/png" }],
};
}