109 Commits

Author SHA1 Message Date
zihanjian
5c0bf23c6a 更新横向Banner背景颜色和暗黑模式支持 2025-07-05 02:22:26 +08:00
zihanjian
1a014e0692 进一步缩小横向Banner在大屏幕上的宽度
- 将最大宽度从 max-w-7xl (1280px) 改为 max-w-4xl (896px)
- 添加垂直内边距 (py-2) 让Banner与页面内容有适当间距
- 保持圆角和阴影效果

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-04 18:59:23 +08:00
zihanjian
b643081c0b 修改广告组件使用实际图片文件
- 横向Banner使用 /public/banner.png
- 竖向广告使用 /public/mainpage.png
- 添加图片存在性检查,图片不存在时不显示广告
- 使用 Next.js Image 组件优化图片加载

现在只需要将对应的图片文件放到 public 目录下即可显示广告。

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-04 17:51:10 +08:00
zihanjian
c5d9ffff2b 添加广告时间控制功能
- 创建环境变量配置示例文件 .env.example
- 添加广告配置工具函数,支持时间控制和链接配置
- 修改广告组件,根据环境变量控制显示
- 支持以下环境变量:
  - NEXT_PUBLIC_AD_END_TIME: 广告结束时间
  - NEXT_PUBLIC_AD_ENABLED: 是否启用广告
  - NEXT_PUBLIC_AD_LINK: 广告跳转链接

使用方法:
1. 复制 .env.example 为 .env.local
2. 设置广告结束时间,超过该时间广告自动下线
3. 可通过 NEXT_PUBLIC_AD_ENABLED=false 立即关闭广告

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-04 17:40:57 +08:00
zihanjian
c6cd15040d 为广告组件添加点击跳转功能
- 竖向广告和横向Banner都添加了链接包装
- 点击广告将在新标签页打开Google主页
- 添加了hover效果提升交互体验
- 使用了安全的链接属性(target="_blank" rel="noopener noreferrer")

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-04 17:33:22 +08:00
zihanjian
656db4fcb9 修正竖向广告比例为3:5(宽:高)
- 将竖向广告的宽高比从5:3改为3:5
- 调整宽度为300px,使其呈现真正的竖向效果
- 更新占位图片的尺寸以匹配新比例

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-04 17:27:17 +08:00
zihanjian
3e3d821e7d 添加首页广告组件
- 创建竖向广告弹窗组件(5:3比例,右上角可关闭)
- 创建横向Banner广告组件(7:1比例,顶部展示)
- 在首页集成两个广告组件
- 竖向广告延迟1秒后显示,避免影响首屏加载

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-04 17:24:56 +08:00
zihanjian
0fdbfe0045 优化薪资计算器中的薪资倍数计算逻辑,调整了工作单位类型对薪资增长的影响系数,同时移除了分享卡片中的广告单元,提升了组件的整洁性和可读性。 2025-06-09 13:55:40 +08:00
zihanjian
885f202706 在薪资计算器和分享卡片中新增 Google 广告单元,优化广告展示位置。 2025-06-09 11:25:23 +08:00
maoqxxmm
57faf6c01f fix: 修复 html2canvas 处理 rem 文字基线的对齐问题 2025-05-11 21:13:25 +08:00
zihanjian
4b525dfb52 优化薪资计算逻辑,区分应届生与非应届生的薪资倍数计算方式,增加了对工作单位类型的影响系数,提升了薪资计算的准确性和灵活性。 2025-05-06 13:07:20 +08:00
zihanjian
aa2176bdc1 修复了小红书链接的样式,使其在悬停时变为粉色,同时移除了不必要的注释代码。 2025-05-03 14:10:26 +08:00
Zylan
d0387b7a6f Merge pull request #39 from buptorange/main
Revised Ja translation
2025-04-03 16:07:08 +08:00
Zylan
be2b479bac Merge pull request #38 from congweibai/feature/sortting-country-by-alpha
feat: 确保国家选项按照各个语言的顺序 而不是Unicode
2025-04-03 16:06:10 +08:00
orenji
51c57ec894 Revised Ja translation 2025-04-03 10:44:31 +09:00
Zylan
4bb94c6a0c repo 2025-04-03 02:41:19 +08:00
Zylan
5783e20504 return 2025-04-03 01:53:01 +08:00
Wyatt Bai
4750964f75 feat: 确保国家选项按照各个语言的顺序 而不是Unicode 2025-04-02 20:52:29 +10:30
Zylan
52948488d5 优化界面 2025-04-02 02:14:43 +08:00
Zylan
b4b87e8f5e style 2025-04-02 01:32:37 +08:00
Zylan
250e365579 1 2025-04-01 15:40:54 +08:00
Zylan
ca048fa17a debug 2025-04-01 15:39:45 +08:00
Zylan
1b084d72f0 debug 2025-04-01 15:28:19 +08:00
Zylan
5ae25c5e4e debug language 2025-04-01 15:11:52 +08:00
Zylan
164d5fd8ad -xhs 2025-04-01 12:08:33 +08:00
Zylan
71facc8b0e rdm 2025-04-01 12:05:41 +08:00
Zylan
8bd0fc2640 rednote 2025-04-01 11:51:50 +08:00
Zylan
b82f0c3b0e 1 2025-04-01 11:39:56 +08:00
Zylan
f5efb8eff2 Merge branch 'main' into feature/history 2025-04-01 11:31:38 +08:00
Zylan
7bfafcb701 style 2025-04-01 10:03:42 +08:00
Zylan
5dcfbe20dd remember country 2025-04-01 08:52:12 +08:00
Zylan
c2ef68b33c style 2025-04-01 08:44:08 +08:00
Zylan
98a13f828d style 2025-03-31 18:53:05 +08:00
Zylan
32480dac99 style 2025-03-31 17:33:18 +08:00
Zylan
59ee82e527 currency 2025-03-31 14:13:35 +08:00
Zylan
783d7e642c 1 2025-03-31 14:04:41 +08:00
Zylan
7dbf51060a tw 2025-03-31 14:02:14 +08:00
Zylan
c88d931b4e debug 2025-03-31 04:05:16 +08:00
Zylan
cbb6450e27 japanese 2025-03-31 03:49:05 +08:00
Zylan
34dc46a635 1 2025-03-30 20:51:04 +08:00
Zylan
ff13608d46 1 2025-03-30 20:22:59 +08:00
Zylan
d44b94a466 1 2025-03-30 20:20:00 +08:00
Zylan
367d7185c1 1 2025-03-30 20:17:10 +08:00
kenvie
2071606ac9 feat: 增加历史记录功能,数据存储在浏览器本地存储 2025-03-30 19:38:29 +08:00
Zylan
194489df36 v5.0.0 2025-03-30 18:43:52 +08:00
Zylan
8f401fe583 访问量debug 2025-03-28 16:13:02 +08:00
Zylan
e698389421 1 2025-03-28 16:10:41 +08:00
Zylan
667bcf4c28 跳转逻辑修改2 2025-03-28 16:07:57 +08:00
Zylan
53e0d8bd35 1 2025-03-27 18:45:53 +08:00
Zylan
a8b2317195 跳转逻辑修改 2025-03-27 18:41:25 +08:00