Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
jason5ng32 committed Jan 6, 2025
1 parent 997d2ce commit 855e3fb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
8 changes: 6 additions & 2 deletions frontend/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
</div>

<div id="about" class="text-center mb-2">
<a class="link link-underline-offset link-underline-opacity-0 jn-heart-color"
role="button" aria-controls="Sponsor" href="https://github.com/sponsors/jason5ng32" target="_blank">
{{ t('about.Sponsor') }} 💖
</a>&nbsp;&nbsp;
<a class="link link-underline-offset link-underline-opacity-0" :class="[isDarkMode ? 'link-light' : 'link-dark']"
role="button" aria-controls="About" @click.prevent="openAbout">
{{ t('about.Title') }} <i class="bi bi-arrow-left-circle-fill"></i>
</a>
</div>


<div class="offcanvas offcanvas-end mt-5 border-0 h-100" :class="[isMobile ? ' w-100' : '']" tabindex="-1"
id="About" aria-labelledby="AboutLabel" :data-bs-theme="isDarkMode ? 'dark' : 'light'">
<div class="offcanvas-header mt-3">
Expand Down Expand Up @@ -229,6 +232,7 @@ defineExpose({
}
.jn-heart-color {
color: red;
color:#d63384;
text-decoration: none;
}
</style>
3 changes: 2 additions & 1 deletion frontend/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@
"personal": "Personal Website",
"blog": "My Blog",
"retiremoney": "Future Planner",
"twitter": "Twitter"
"twitter": "Twitter",
"Sponsor": "Sponsor"
},
"specialthanks": {
"Title": "Special Thanks",
Expand Down
3 changes: 2 additions & 1 deletion frontend/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@
"personal": "Site personnel",
"blog": "Mon blog",
"retiremoney": "Planificateur futur",
"twitter": "Twitter"
"twitter": "Twitter",
"Sponsor": "Sponsor"
},
"specialthanks": {
"Title": "Merci spécial",
Expand Down
3 changes: 2 additions & 1 deletion frontend/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,8 @@
"personal": "个人网站",
"blog": "可能吧博客",
"retiremoney": "躺平计算器",
"twitter": "Twitter"
"twitter": "Twitter",
"Sponsor": "赞助"
},
"specialthanks": {
"Title": "特别鸣谢",
Expand Down

0 comments on commit 855e3fb

Please sign in to comment.