astro-tractstack 2.0.0-rc.4 → 2.0.0-rc.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,9 +63,9 @@ const tenantId =
63
63
 
64
64
  // Social media and SEO setup
65
65
  const brandConfig = propBrandConfig || (await getBrandConfig(tenantId));
66
- const defaultFavIcon = brandConfig.FAVICON || `/favicon.ico`;
67
- const defaultSocialImageURL = ogImage || brandConfig.OG || `/og.png`;
68
- const defaultSocialLogoURL = brandConfig.OGLOGO || `/oglogo.png`;
66
+ const defaultFavIcon = brandConfig.FAVICON || `/brand/favicon.ico`;
67
+ const defaultSocialImageURL = ogImage || brandConfig.OG || `/brand/og.png`;
68
+ const defaultSocialLogoURL = brandConfig.OGLOGO || `/brand/oglogo.png`;
69
69
  const defaultSocialTitle =
70
70
  typeof title === `string` && title
71
71
  ? title
@@ -1530,6 +1530,14 @@ export async function injectTemplateFiles(
1530
1530
  src: resolve('../templates/brand/static.jpg'),
1531
1531
  dest: 'public/static.jpg',
1532
1532
  },
1533
+ {
1534
+ src: resolve('../templates/brand/og.png'),
1535
+ dest: 'public/brand/og.png',
1536
+ },
1537
+ {
1538
+ src: resolve('../templates/brand/oglogo.png'),
1539
+ dest: 'public/brand/oglogo.png',
1540
+ },
1533
1541
  {
1534
1542
  src: resolve('../templates/brand/favicon.ico'),
1535
1543
  dest: 'public/brand/favicon.ico',