Skip to content

优化挑战贡献页面布局:重组基本信息区块 #8

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

Merged
merged 9 commits into from
Apr 13, 2025
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
Binary file added README.assets/image-20250413185708120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

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

![image-20250413185708120](./README.assets/image-20250413185708120.png)

## 项目结构

```
Expand Down
2 changes: 1 addition & 1 deletion docs/challenges/Cloudflare5秒盾.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ challenges:
# 挑战难度评级(整数类型,必填)
# 取值范围: 1-5,1表示最简单,5表示最难
# 前端展示时会转换为星级显示
difficulty-level: 3
difficulty-level: 4

# Markdown格式详细描述(必选)
# 当需要复杂排版时使用
Expand Down
17 changes: 17 additions & 0 deletions docs/challenges/kaitorishouten买取商店价格加密.yml

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions docs/challenges/国家标准全文公开系统.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/challenges/网易易盾.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ challenges:
# 挑战难度评级(整数类型,必填)
# 取值范围: 1-5,1表示最简单,5表示最难
# 前端展示时会转换为星级显示
difficulty-level: 4
difficulty-level: 3

# Markdown格式详细描述(必选)
# 当需要复杂排版时使用
Expand Down
4 changes: 4 additions & 0 deletions docs/challenges/阿里滑块.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,7 @@ challenges:
# 记录挑战最后修改时间,格式与create-time相同
# 当任何字段变更时需同步更新此时间
update-time: 2025-04-13 10:36:24
# 测试热更新
# 再次测试
# 测试热更新3
# 最终测试热更新
169 changes: 169 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@
"dependencies": {
"@ant-design/icons": "^5.6.1",
"@types/markdown-it": "^14.1.2",
"@types/react-beautiful-dnd": "^13.1.8",
"@types/react-responsive": "^8.0.8",
"antd": "^5.16.4",
"fuse.js": "^7.1.0",
"i18next": "^24.2.2",
"i18next-browser-languagedetector": "^8.0.4",
"markdown-it": "^14.1.0",
"react": "^18.2.0",
"react-beautiful-dnd": "^13.1.1",
"react-dom": "^18.2.0",
"react-ga4": "^2.1.0",
"react-i18next": "^15.4.1",
Expand All @@ -44,6 +46,7 @@
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"@vitejs/plugin-react": "^4.3.4",
"chokidar": "^4.0.3",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.37.4",
"gh-pages": "^6.3.0",
Expand Down
Binary file added public/CC11001100-wechat-qrcode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/CC11001100-wechat-qrcode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 21 additions & 3 deletions src/components/AboutPage/ContactCard.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import * as React from 'react';
import { Card, Space, Tag, Typography } from 'antd';
import { Card, Space, Tag, Typography, Image, Divider } from 'antd';
import { useTranslation } from 'react-i18next';
import { GithubOutlined, StarFilled } from '@ant-design/icons';
import { GithubOutlined, StarFilled, WechatOutlined } from '@ant-design/icons';
import { cardStyle, githubIconStyle, githubLinkStyle, starTagStyle, textStyle } from './styles';
import wechatQrcode from '../../assets/CC11001100-wechat-qrcode.png';

const { Text, Link } = Typography;

Expand All @@ -23,7 +24,7 @@ const ContactCard: React.FC<ContactCardProps> = ({ repoStars }) => {
style={cardStyle}
hoverable
>
<Space direction="vertical" size={16}>
<Space direction="vertical" size={16} style={{ width: '100%' }}>
<Text style={textStyle}>
{t('about.contact.email')}:<Link href="mailto:CC11001100@qq.com">CC11001100@qq.com</Link>
</Text>
Expand All @@ -49,6 +50,23 @@ const ContactCard: React.FC<ContactCardProps> = ({ repoStars }) => {
<Text type="secondary" style={{ marginLeft: 8 }}>{t('about.contact.loading')}</Text>
)}
</Space>

<Divider style={{ margin: '12px 0' }} />

<Space direction="vertical" align="center" style={{ width: '100%' }}>
<Space align="center">
<WechatOutlined style={{ fontSize: '20px', color: '#42b983' }} />
<Text style={{ ...textStyle, fontWeight: 'bold' }}>扫码加微信,拉你进逆向技术讨论群</Text>
</Space>
<Text type="secondary" style={{ textAlign: 'center', marginBottom: '10px' }}>加好友时请备注【逆向】,方便我知道你是从这里来的~</Text>
<Image
src={wechatQrcode}
alt="微信二维码"
width={200}
style={{ margin: '10px 0' }}
fallback="https://via.placeholder.com/200x200?text=微信二维码"
/>
</Space>
</Space>
</Card>
);
Expand Down
Loading