Skip to content

Commit

Permalink
v2.9.16+9 update header
Browse files Browse the repository at this point in the history
  • Loading branch information
cabbagelol committed Dec 29, 2024
1 parent 48bbdeb commit 19e58b9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions front/src/components/Header.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
<template>
<header v-if="!isFull">
<!-- 临时通知 S -->
<!-- TODO 过期请删除 -->
<a href="https://announcement.bfban.com" target="_blank">
<div style="padding: 4px 20px; margin: -10px -20px 8px -20px; text-align: center; background: darkred; color: white">
{{
{
'zh-CN': '我们更新新的《反作弊准测》,前往查看',
'en-US': 'We have updated the new 《Anti-Cheating precepts》, go to view them.',
}[$i18n.locale] || 'We have updated the new 《Anti-Cheating precepts》, go to view them.'
}}
</div>
</a>
<!-- 临时通知 E -->

<div class="header-container">
<router-link class="mobile-hide" :to="{name: 'home'}">
<img src="../assets/images/logo.png"
Expand Down

0 comments on commit 19e58b9

Please sign in to comment.