Skip to content

Commit 2ebe4a8

Browse files
committed
update
1 parent f61e93d commit 2ebe4a8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/NOTE_TECNICHE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export function getMenuItemUrl(item: MenuItem, baseUrl: string): string {
256256
if (item.external || item.href.startsWith('http')) {
257257
return item.href;
258258
}
259-
259+
260260
const normalizedBaseUrl = baseUrl.endsWith('/') ? baseUrl.slice(0, -1) : baseUrl;
261261
return item.href === '/' ? (normalizedBaseUrl || '/') : `${normalizedBaseUrl}${item.href}`;
262262
}

src/config/navigation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function getMenuItemUrl(item: MenuItem, baseUrl: string): string {
3333
if (item.external || item.href.startsWith('http')) {
3434
return item.href;
3535
}
36-
36+
3737
const normalizedBaseUrl = baseUrl.endsWith('/') ? baseUrl.slice(0, -1) : baseUrl;
3838
return item.href === '/' ? (normalizedBaseUrl || '/') : `${normalizedBaseUrl}${item.href}`;
3939
}

src/pages/numeri.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ const homePath = normalizedBaseUrl || '/';
152152
{initiatives.reduce((sum, init) => sum + (init.sostenitori || 0), 0).toLocaleString('it-IT')}
153153
</div>
154154
<div class="text-sm text-purple-800">
155-
Totale sostenitori
155+
Totale firme
156156
</div>
157157
</div>
158158
</div>

0 commit comments

Comments
 (0)