Skip to content

Commit 00ff96a

Browse files
committed
feat: add wechat qr
1 parent c32bf7e commit 00ff96a

4 files changed

Lines changed: 13 additions & 5 deletions

File tree

components/AppFooter.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,15 @@ const AppFooter = (props) => {
1313
return (
1414
<footer className="py-20 md:py-40">
1515
<Container>
16-
<div className="m-auto md:w-10/12 lg:w-8/12 xl:w-6/12">
16+
<div className="m-auto md:w-11/12 lg:w-10/12 xl:w-9/12">
1717
<div className="flex flex-wrap items-center justify-between md:flex-nowrap">
18-
<div className="flex w-full justify-center space-x-12 text-gray-600 dark:text-gray-300 sm:w-7/12 md:justify-start">
18+
<div className="mb-6 flex w-full flex-col items-center justify-center sm:mb-0 sm:w-3/12 sm:items-start">
19+
<div className="w-32 overflow-hidden rounded-lg shadow-lg">
20+
<Image src="/images/wechat.png" alt="WeChat" width={258} height={258} />
21+
</div>
22+
<p className="mt-2 text-xs text-gray-500 dark:text-gray-400">{t('wechat_follow')}</p>
23+
</div>
24+
<div className="flex w-full justify-center space-x-12 text-gray-600 dark:text-gray-300 sm:w-6/12 md:justify-start">
1925
<ul className="list-inside list-disc space-y-8">
2026
<li>
2127
<Link href="/" className="transition hover:text-primary">
@@ -58,7 +64,7 @@ const AppFooter = (props) => {
5864
</Link>
5965
</ul>
6066
</div>
61-
<div className="m-auto mt-16 w-10/12 space-y-6 text-center sm:mt-auto sm:w-5/12 sm:text-left">
67+
<div className="m-auto mt-16 w-10/12 space-y-6 text-center sm:mt-auto sm:w-3/12 sm:text-left">
6268
<span className="block text-gray-500 dark:text-gray-400">Copyright &copy; {new Date().getFullYear()} - Gopeed</span>
6369
</div>
6470
</div>

public/images/wechat.png

55.2 KB
Loading

public/locales/en-US/common.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
"home.feat2.title": "High Speed",
1414
"home.feat2.desc": "Using Golang coroutines for concurrent downloads at the underlying level",
1515
"home.feat3.title": "Beautiful UI",
16-
"home.feat3.desc": "Follow Material Design specifications"
16+
"home.feat3.desc": "Follow Material Design specifications",
17+
"wechat_follow": "Follow the official account to get updates"
1718
}

public/locales/zh-CN/common.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@
1313
"home.feat2.title": "高速下载",
1414
"home.feat2.desc": "底层使用golang协程并发下载",
1515
"home.feat3.title": "界面美观",
16-
"home.feat3.desc": "遵循Material Design规范"
16+
"home.feat3.desc": "遵循Material Design规范",
17+
"wechat_follow": "关注公众号获取更新资讯"
1718
}

0 commit comments

Comments
 (0)