Skip to content

Commit

Permalink
perf(frontend): add the github link
Browse files Browse the repository at this point in the history
  • Loading branch information
GeneLiuXe committed Feb 29, 2024
1 parent e527d00 commit 7f56270
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
1 change: 1 addition & 0 deletions frontend/packages/locale/src/en/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export default {
Footer: {
About: "About",
Git: "GitLink",
GitHub: "GitHub",
ContactUs: "Contact Us",
UserAgreement: "User Agreement",
PrivacyPolicy: "Privacy Policy",
Expand Down
1 change: 1 addition & 0 deletions frontend/packages/locale/src/zh-cn/home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export default {
Footer: {
About: "关于我们",
Git: "GitLink",
GitHub: "GitHub",
ContactUs: "联系我们",
UserAgreement: "用户协议",
PrivacyPolicy: "隐私政策",
Expand Down
8 changes: 4 additions & 4 deletions frontend/packages/main/src/components/Home/HomeSlogan.vue
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,15 @@ watch(
<div class="mx-auto mt-1 max-w-7xl px-10 sm:px-20 md:px-40 lg:px-60">
{{ t("Home.Cover.CodeRepo.Description") }}
<a
:href="`https://www.gitlink.org.cn/beimingwu/beimingwu`"
:href="`https://www.gitlink.org.cn/beimingwu`"
class="text-white dark:text-white"
target="_blank"
>{{ t("Home.Cover.CodeRepo.Beimingwu") }}</a
>GitLink</a
>,&nbsp;<a
:href="`https://www.gitlink.org.cn/beimingwu/learnware`"
:href="`https://github.com/Learnware-LAMDA`"
class="text-white dark:text-white"
target="_blank"
>{{ t("Home.Cover.CodeRepo.Learnware") }}</a
>Github</a
>
</div>

Expand Down
6 changes: 6 additions & 0 deletions frontend/packages/main/src/components/Home/MyFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ const links = computed(() => [
path: "https://www.gitlink.org.cn/beimingwu/beimingwu",
tooltips: "",
},
{
icon: "mdi-github",
name: t("Home.Footer.GitHub"),
path: "https://github.com/learnware-lamda/Beimingwu",
tooltips: "",
},
{
icon: "mdi-email",
name: t("Home.Footer.ContactUs"),
Expand Down

0 comments on commit 7f56270

Please sign in to comment.