Test logo as index ogImage
All checks were successful
pipeline / build-and-push-images (push) Successful in 32s
pipeline / deploy (push) Successful in 7s

This commit is contained in:
2024-12-04 23:07:28 +01:00
parent 351c9547aa
commit 2c254e0c6b
4 changed files with 8 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ defineProps<{
<template>
<div style="width: fit-content; max-width: 100%; overflow: hidden;">
<NuxtLink style="display: flex; width: fit-content; text-decoration: none;" to="/">
<img id="logo-img" alt="BuildPath" :width="imgWidth == null ? '120' : Number(imgWidth)" src="~/assets/img/buildpath-high-resolution-logo-transparent.png" />
<img id="logo-img" alt="BuildPath" :width="imgWidth == null ? '120' : Number(imgWidth)" src="/buildpath-high-resolution-logo-transparent.png" />
<h1 :style="'font-size: ' + (fontSize == null ? '5.0rem' : fontSize) + ';'" id="logo-text">BuildPath</h1>
</NuxtLink>
</div>

View File

@@ -23,7 +23,7 @@ function handleStateChange(newState : string, newLane: number) {
<div class="navbar-container">
<NuxtLink style="display: flex; width: fit-content; text-decoration: none; align-items: center; margin-left: 10px;" to="/">
<img id="navbar-logo-img" src="~/assets/img/buildpath-high-resolution-logo-transparent.png" />
<img id="navbar-logo-img" src="/buildpath-high-resolution-logo-transparent.png" />
</NuxtLink>
<div v-for="(lane, i) in championLanes" style="display: flex; align-items: center; margin-left: 20px;">