Skip to content

Commit 5903edc

Browse files
authored
Merge pull request #8 from JSREP/dev
优化挑战贡献页面布局:重组基本信息区块
2 parents 3dfcd2b + 678c16c commit 5903edc

File tree

85 files changed

+8293
-3097
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+8293
-3097
lines changed
1.7 MB
Loading

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
**在线访问**: [https://jsrep.github.io/crawler-leetcode/](https://jsrep.github.io/crawler-leetcode/)
88

9+
![image-20250413185708120](./README.assets/image-20250413185708120.png)
10+
911
## 项目结构
1012

1113
```

docs/challenges/Cloudflare5秒盾.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ challenges:
3131
# 挑战难度评级(整数类型,必填)
3232
# 取值范围: 1-5,1表示最简单,5表示最难
3333
# 前端展示时会转换为星级显示
34-
difficulty-level: 3
34+
difficulty-level: 4
3535

3636
# Markdown格式详细描述(必选)
3737
# 当需要复杂排版时使用

docs/challenges/kaitorishouten买取商店价格加密.yml

Lines changed: 17 additions & 0 deletions
Large diffs are not rendered by default.

docs/challenges/国家标准全文公开系统.yml

Lines changed: 18 additions & 0 deletions
Large diffs are not rendered by default.

docs/challenges/网易易盾.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ challenges:
3030
# 挑战难度评级(整数类型,必填)
3131
# 取值范围: 1-5,1表示最简单,5表示最难
3232
# 前端展示时会转换为星级显示
33-
difficulty-level: 4
33+
difficulty-level: 3
3434

3535
# Markdown格式详细描述(必选)
3636
# 当需要复杂排版时使用

docs/challenges/阿里滑块.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,7 @@ challenges:
9494
# 记录挑战最后修改时间,格式与create-time相同
9595
# 当任何字段变更时需同步更新此时间
9696
update-time: 2025-04-13 10:36:24
97+
# 测试热更新
98+
# 再次测试
99+
# 测试热更新3
100+
# 最终测试热更新

package-lock.json

Lines changed: 169 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
"dependencies": {
1616
"@ant-design/icons": "^5.6.1",
1717
"@types/markdown-it": "^14.1.2",
18+
"@types/react-beautiful-dnd": "^13.1.8",
1819
"@types/react-responsive": "^8.0.8",
1920
"antd": "^5.16.4",
2021
"fuse.js": "^7.1.0",
2122
"i18next": "^24.2.2",
2223
"i18next-browser-languagedetector": "^8.0.4",
2324
"markdown-it": "^14.1.0",
2425
"react": "^18.2.0",
26+
"react-beautiful-dnd": "^13.1.1",
2527
"react-dom": "^18.2.0",
2628
"react-ga4": "^2.1.0",
2729
"react-i18next": "^15.4.1",
@@ -44,6 +46,7 @@
4446
"@typescript-eslint/eslint-plugin": "5.62.0",
4547
"@typescript-eslint/parser": "5.62.0",
4648
"@vitejs/plugin-react": "^4.3.4",
49+
"chokidar": "^4.0.3",
4750
"eslint": "^8.57.0",
4851
"eslint-plugin-react": "^7.37.4",
4952
"gh-pages": "^6.3.0",

public/CC11001100-wechat-qrcode.png

363 KB
Loading
363 KB
Loading

src/components/AboutPage/ContactCard.tsx

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import * as React from 'react';
2-
import { Card, Space, Tag, Typography } from 'antd';
2+
import { Card, Space, Tag, Typography, Image, Divider } from 'antd';
33
import { useTranslation } from 'react-i18next';
4-
import { GithubOutlined, StarFilled } from '@ant-design/icons';
4+
import { GithubOutlined, StarFilled, WechatOutlined } from '@ant-design/icons';
55
import { cardStyle, githubIconStyle, githubLinkStyle, starTagStyle, textStyle } from './styles';
6+
import wechatQrcode from '../../assets/CC11001100-wechat-qrcode.png';
67

78
const { Text, Link } = Typography;
89

@@ -23,7 +24,7 @@ const ContactCard: React.FC<ContactCardProps> = ({ repoStars }) => {
2324
style={cardStyle}
2425
hoverable
2526
>
26-
<Space direction="vertical" size={16}>
27+
<Space direction="vertical" size={16} style={{ width: '100%' }}>
2728
<Text style={textStyle}>
2829
{t('about.contact.email')}<Link href="mailto:[email protected]">[email protected]</Link>
2930
</Text>
@@ -49,6 +50,23 @@ const ContactCard: React.FC<ContactCardProps> = ({ repoStars }) => {
4950
<Text type="secondary" style={{ marginLeft: 8 }}>{t('about.contact.loading')}</Text>
5051
)}
5152
</Space>
53+
54+
<Divider style={{ margin: '12px 0' }} />
55+
56+
<Space direction="vertical" align="center" style={{ width: '100%' }}>
57+
<Space align="center">
58+
<WechatOutlined style={{ fontSize: '20px', color: '#42b983' }} />
59+
<Text style={{ ...textStyle, fontWeight: 'bold' }}>扫码加微信,拉你进逆向技术讨论群</Text>
60+
</Space>
61+
<Text type="secondary" style={{ textAlign: 'center', marginBottom: '10px' }}>加好友时请备注【逆向】,方便我知道你是从这里来的~</Text>
62+
<Image
63+
src={wechatQrcode}
64+
alt="微信二维码"
65+
width={200}
66+
style={{ margin: '10px 0' }}
67+
fallback="https://via.placeholder.com/200x200?text=微信二维码"
68+
/>
69+
</Space>
5270
</Space>
5371
</Card>
5472
);

0 commit comments

Comments
 (0)