Reuse favicon for site logo
All checks were successful
Deploy Spot / deploy (push) Successful in 39s

This commit is contained in:
2026-05-28 17:43:52 +02:00
parent 520df5b570
commit 980035e3d1
11 changed files with 656 additions and 338 deletions

View File

@@ -25,7 +25,7 @@ export default {
};
},
emits: ['update:baseMap', 'update:projectCodeName', 'toggle'],
inject: ['api', 'lang', 'user', 'consts', 'isMobile'],
inject: ['api', 'lang', 'user', 'consts', 'isMobile', 'hash'],
computed: {
project() {
return this.projects.find((project) => project.codename == this.projectCodeName);
@@ -77,9 +77,10 @@ export default {
<div id="settings" class="panel panel-left">
<div id="settings-panel" class="panel-content">
<div class="settings-header settings-box">
<a class="logo" href="#project"><img src="images/logo_title.svg" :alt="consts.title" /></a>
<div class="last_update" v-if="project?.mode == consts.modes.blog && lastUpdate.unix_time > 0">
<p><span><img src="images/spot-logo-only.svg" alt="" /></span><abbr :title="lastUpdate.formatted_time">{{ lang.get('feed.last_update')+' '+lastUpdate.relative_time }}</abbr></p>
<img src="images/icons/favicon.svg" class="logo-icon clickable" @click="hash.items = ['project']" />
<img src="images/logo_title.svg" class="logo-title" :alt="consts.title" />
<div class="last_update" v-if="project?.mode == consts.modes.blog && lastUpdate.unix_time > 0" :title="lastUpdate.formatted_time">
<SpotIcon icon="find-me-spot" :text="lang.get('feed.last_update')+' '+lastUpdate.relative_time" />
</div>
</div>
<div class="settings-sections">