fix:chang logo
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export const GITHUB = 'https://github.com/zyronon/bbword'
|
||||
export const GITHUB = 'https://github.com/zyronon/TypeWords'
|
||||
|
||||
const common = {
|
||||
word_dict_list_version: 1
|
||||
@@ -8,4 +8,4 @@ const map = {
|
||||
api: 'http://localhost/index.php',
|
||||
}
|
||||
}
|
||||
export const env = Object.assign(map['dev'], common)
|
||||
export const env = Object.assign(map['dev'], common)
|
||||
|
||||
@@ -10,22 +10,15 @@ function goHome() {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="logo" @click="goHome">
|
||||
<div class="center mb-2" @click="goHome">
|
||||
<img v-show="settingStore.theme === 'dark'" src="/logo-text-white.png" alt="">
|
||||
<img v-show="settingStore.theme !== 'dark'" src="/logo-text-black.png" alt="">
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.logo {
|
||||
//position: fixed;
|
||||
left: var(--space);
|
||||
top: var(--space);
|
||||
z-index: 1;
|
||||
|
||||
img {
|
||||
cursor: pointer;
|
||||
height: 2rem;
|
||||
}
|
||||
img {
|
||||
cursor: pointer;
|
||||
height: 2rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user