update copyright

This commit is contained in:
Zhang Minghan 2023-07-29 07:13:58 +08:00
parent 1757587907
commit 6498e9358f

View File

@ -4,6 +4,7 @@ import { auth, username } from "./assets/script/auth";
import Light from "./components/icons/light.vue"; import Light from "./components/icons/light.vue";
import Star from "./components/icons/star.vue"; import Star from "./components/icons/star.vue";
import { mobile, gpt4 } from "./assets/script/shared"; import { mobile, gpt4 } from "./assets/script/shared";
import Post from "./components/icons/post.vue";
function goto() { function goto() {
@ -54,6 +55,9 @@ function toggle(n: boolean) {
<router-view /> <router-view />
</div> </div>
</div> </div>
<div class="copyright">
<a href="https://deeptrain.net">© 2023 Deeptrain Team</a>
</div>
</template> </template>
<style scoped> <style scoped>
@ -216,6 +220,25 @@ aside {
align-items: center; align-items: center;
} }
.copyright {
position: absolute;
bottom: 10px;
right: 20px;
user-select: none;
z-index: -1;
}
.copyright a {
color: rgba(255,255,255,0.8);
font-size: 16px;
text-decoration: none;
transition: .25s;
}
.copyright a:hover {
color: var(--card-text-hover);
}
@media (max-width: 600px) { @media (max-width: 600px) {
.container { .container {
max-height: calc(100% - 112px); max-height: calc(100% - 112px);
@ -292,5 +315,9 @@ aside {
.logo { .logo {
margin: 12px 24px; margin: 12px 24px;
} }
.copyright {
display: none;
}
} }
</style> </style>