Reuse favicon for site logo
All checks were successful
Deploy Spot / deploy (push) Successful in 39s
All checks were successful
Deploy Spot / deploy (push) Successful in 39s
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user