Skip to content

Commit 8ef2fda

Browse files
committed
fix: hidden iphone
1 parent 362a48c commit 8ef2fda

File tree

2 files changed

+17
-20
lines changed

2 files changed

+17
-20
lines changed

README.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,35 @@
11
<h1 align="center">杨军龙</h1>
22

33
<p align="center">
4-
<img src="https://img.shields.io/badge/%E7%94%B5%E8%AF%9D-15321871599-brightgreen?labelColor=blue&style=social" style="display: none;" alt="phone">
4+
<!-- iphone -->
55

6+
<img src="https://img.shields.io/npm/v/yangjunlong?label=%E6%9D%A8%E5%86%9B%E9%BE%99&logo=tsnode&logoColor=white" />
67
<img src="https://img.shields.io/badge/%E9%82%AE%E7%AE%B1-i%40sobird.me-brightgreen?logo=gmail&labelColor=blue&style=social" alt="email">
78
</p>
89

910
## 自我介绍
10-
> 先后曾在百度、小米、美团任职前端开发工程师,对大型复杂前端项目架构有丰富的经验,熟练使用Linux开发环境,熟练使用TypeScript开发,目前使用TypeScript开发了一个在本地运行[Github Acionts](https://developer.github.com/actions/)的开源工具[actions](https://github.com/sobird/actions),用来运行本地仓库中定义的各种工作流。
11+
> 先后曾在百度、小米、美团任职前端开发工程师,对大型前端项目架构有丰富的经验,熟练使用Linux开发环境,熟练使用TypeScript开发,目前使用TypeScript开发了一个在本地运行[Github Acionts](https://developer.github.com/actions/)的开源工具[actions](https://github.com/sobird/actions),用来运行本地仓库中定义的各种工作流。
1112
1213

1314
## 工作经历
1415
**[北京三快在线科技有限公司](https://www.meituan.com/)(2019.10 - 2022.04)**
1516
- [x] 负责团好货商家端和运营端前端开发,性能优化以及可用性体系建设
1617
- [x] 负责接入eslint&pre-commit等工具用于规范团队编码
1718
- [x] 使用qiankun将商家端拆分为各业务模块可以自治的微应用
19+
- [x] 组织code review,团队新人培训等
1820

1921
**[北京小米移动软件有限公司](https://www.mi.com/)(2016.05 - 2019.05)**
20-
- [x] 负责小米钱包,话费充值、生活缴费等应用开发
21-
- [x] 封装小米钱包Hybrid jssdk基础库
22-
- [x] 负责中后台系统的前端开发
22+
- [x] 负责小米钱包,话费充值、生活缴费等h5应用开发
23+
- [x] 负责数据中后台系统的前端开发
2324

2425
**[北京城市网邻信息技术有限公司](https://www.58.com/)(2015.09 - 2016.05)**
2526
- [x] 品质公寓项目前端负责人(包括前台房屋信息展示及后台房屋信息录入)
26-
- [x] 负责项目前端架构,模块化,组件化
2727
- [x] 基于jello + velocity 前后端分离
2828

2929
**[百度在线网络技术(北京)有限公司](https://www.baidu.com/)(2012.07 - 2015.09)**
3030
- [x] 重构百度经验详细页面,个人中心,详情页面
3131
- [x] 百度经验财富商城开发
32-
- [x] 百度经验项目模块FIS升级&性能优化
33-
- [x] 团队文档基础规范建设
32+
- [x] 基于FIS + tangram模块化开发
3433

3534
**[北京高德软件有限公司](http://autonavi.com/)(2011.05 - 2012.06)**
3635
- [x] MapABC地图鱼骨等控件编写,地图样式编辑器开发
@@ -48,18 +47,10 @@
4847
[![blog][blog]][blog-url]
4948
[![github][github]][github-url]
5049

51-
## 致谢
52-
53-
[![Build Status][build-status]][build-status-url]
54-
55-
感谢您花时间阅读我的简历,期待能有机会和您共事。
56-
57-
如果你对此简历有任何问题,欢迎提[issue](https://github.com/yangjunlong/resume/issues)
58-
5950
<!-- Badges -->
6051
[npm]: https://img.shields.io/npm/v/yangjunlong?label=%E6%9D%A8%E5%86%9B%E9%BE%99&logo=tsnode&logoColor=white
6152
[npm-url]: https://www.npmjs.com/package/yangjunlong
62-
[build-status]: https://img.shields.io/github/actions/workflow/status/yangjunlong/resume/release-please.yml?label=PDF&logo=github
53+
[build-status]: https://img.shields.io/github/actions/workflow/status/yangjunlong/resume/release-please.yml?label=build&logo=github
6354
[build-status-url]: https://github.com/yangjunlong/resume/actions
6455

6556
[email]: https://img.shields.io/badge/%E9%82%AE%E7%AE%B1-i%40sobird.me-brightgreen?logo=gmail&labelColor=blue&style=social

build.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const RESUME_SASS = sass.compile('./src/resume.scss');
99

1010
const RESUME_TITLE = pkg.keywords.slice(0, 3).join('_');
1111

12-
const NPM = `https://img.shields.io/badge/%E6%9D%A8%E5%86%9B%E9%BE%99-v${pkg.version}-blue?logo=tsnode&logoColor=white`;
12+
const IPHONE = '<img class="iphone" src="https://img.shields.io/badge/%E7%94%B5%E8%AF%9D-15321871599-blue" alt="phone">';
1313

1414
const html = (content: string, header: string = '') => {
1515
return `<!DOCTYPE html>
@@ -31,6 +31,9 @@ const html = (content: string, header: string = '') => {
3131
border-radius: 6px;
3232
padding: 32px;
3333
}
34+
.iphone {
35+
display: none;
36+
}
3437
@media print {
3538
body {
3639
margin: 0;
@@ -40,6 +43,9 @@ const html = (content: string, header: string = '') => {
4043
border: none;
4144
padding: 0;
4245
}
46+
.iphone {
47+
display: inline;
48+
}
4349
}
4450
</style>
4551
</head>
@@ -77,11 +83,11 @@ const headerTemplate = `
7783
`;
7884

7985
let mdContent = fs.readFileSync('./README.md', 'utf8');
80-
mdContent = mdContent.replace('https://img.shields.io/npm/v/yangjunlong?label=%E6%9D%A8%E5%86%9B%E9%BE%99&logo=tsnode&logoColor=white', NPM);
86+
mdContent = mdContent.replace('<!-- iphone -->', IPHONE);
8187
const htmlContent = `
8288
<style>${RESUME_SASS.css}</style>
8389
${marked.parse(mdContent)}
8490
`;
8591

86-
fs.mkdirSync('./dist');
92+
fs.mkdirSync('./dist', { recursive: true });
8793
fs.writeFileSync('./dist/index.html', html(htmlContent, headerTemplate));

0 commit comments

Comments
 (0)