Skip to content

Commit a9aed4c

Browse files
committed
fix(docs): fix logo locations for CALM images
1 parent 1365190 commit a9aed4c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

advent-of-calm/website/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { defineConfig } from 'astro/config';
22

33
export default defineConfig({
44
site: 'https://your-domain.com',
5-
base: '/',
5+
base: '/advent/',
66
outDir: './dist',
77
build: {
88
format: 'directory'

advent-of-calm/website/src/layouts/Layout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const { title, description = "A 24-day progressive learning challenge for CALM"
1313
<meta charset="UTF-8" />
1414
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1515
<meta name="description" content={description} />
16-
<link rel="icon" type="image/svg+xml" href="/brand/2025_CALM_Icon.svg" />
16+
<link rel="icon" type="image/svg+xml" href={`${import.meta.env.BASE_URL}brand/2025_CALM_Icon.svg`} />
1717
<title>{title}</title>
1818
</head>
1919
<body>
@@ -22,7 +22,7 @@ const { title, description = "A 24-day progressive learning challenge for CALM"
2222
<nav>
2323
<a href="/" class="title-link"><h1 class="title">🎄 Advent of CALM 🎄</h1></a>
2424
<a href="https://calm.finos.org" target="_blank" rel="noopener noreferrer" class="logo">
25-
<img src="/brand/2025_CALM_Horizontal_Navbar_Logo.svg" alt="CALM Logo" />
25+
<img src={`${import.meta.env.BASE_URL}brand/2025_CALM_Horizontal_Navbar_Logo.svg`} alt="CALM Logo" />
2626
</a>
2727
</nav>
2828
</div>

0 commit comments

Comments
 (0)