Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: align busuanzi style with others #422

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion layout/index.ejs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><script type="module" crossorigin src="/static/js/120aa8f8.js"></script><link rel="stylesheet" href="/static/css/a14e1a22.css"></head><body id="body-container"><noscript><strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><script type="module" crossorigin src="/static/js/38b034bd.js"></script><link rel="stylesheet" href="/static/css/581e01a0.css"></head><body id="body-container"><noscript><strong>We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
39 changes: 25 additions & 14 deletions src/components/Footer/FooterContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,27 +75,38 @@
</span>
</li>

<li v-if="themeConfig.plugins.busuanzi.enable">
<span
id="busuanzi_container_site_pv"
class="flex flex-row max-w-[11rem]"
>
<SvgIcon icon-class="eye" class="mr-1 text-lg inline-block" />
<span id="busuanzi_value_site_pv" />
<li
class="flex flex-row max-w-[11rem]"
v-if="themeConfig.plugins.busuanzi.enable"
>
<span>
<SvgIcon
icon-class="hot"
class="mr-1 text-lg inline-block"
stroke="currentColor"
/>
{{ t('settings.page-views-value') }}
</span>
<span class="flex-1 text-right" id="busuanzi_container_site_pv">
<span id="busuanzi_value_site_pv"
/></span>
</li>

<li v-if="themeConfig.plugins.busuanzi.enable">
<span
id="busuanzi_container_site_uv"
class="flex flex-row max-w-[11rem]"
>
<li
class="flex flex-row max-w-[11rem]"
v-if="themeConfig.plugins.busuanzi.enable"
>
<span>
<SvgIcon
icon-class="people"
icon-class="friends"
class="mr-1 text-lg inline-block"
stroke="currentColor"
/>
<span id="busuanzi_value_site_uv"></span>
{{ t('settings.unique_visitor-value') }}
</span>
<span id="busuanzi_container_site_uv" class="flex-1 text-right">
<span id="busuanzi_value_site_uv"
/></span>
</li>

<li v-if="runningDays" class="flex flex-row max-w-[11rem]">
Expand Down
1 change: 1 addition & 0 deletions src/locales/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"pinned": "Pin",
"featured": "Hot",
"page-views-value": "Page Views: ",
"unique_visitor-value": "Unique Visitors: ",
"site-running-for": "Up time: ",
"site-running-for-unit": "days",
"links": "Friend Links",
Expand Down
1 change: 1 addition & 0 deletions src/locales/languages/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"pinned": "置顶",
"featured": "推荐",
"page-views-value": "浏览次数:",
"unique_visitor-value": "浏览人数:",
"site-running-for": "建站天数:",
"site-running-for-unit": "天",
"links": "友情链接",
Expand Down
1 change: 1 addition & 0 deletions src/locales/languages/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"pinned": "置頂",
"featured": "推薦",
"page-views-value": "瀏覽次數:",
"unique_visitor-value": "瀏覽人數:",
"site-running-for": "建站天數:",
"site-running-for-unit": "天",
"links": "友情鏈接",
Expand Down