{"componentChunkName":"component---src-templates-blog-post-js","path":"/about/","result":{"data":{"content":{"edges":[{"node":{"id":"e18441fe-ed40-55b2-bb23-99f2760e3e97","html":"<h2 id=\"关于-kun\" style=\"position:relative;\">关于 Kun<a href=\"#%E5%85%B3%E4%BA%8E-kun\" aria-label=\"关于 kun permalink\" class=\"custom-class after\"><svg aria-hidden=\"true\" height=\"20\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"20\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a></h2>\n<p>Hi，我是 Kun，一个出身机械专业的前端程序员，目前主要从事两个方向的代码工作，一个是基于前端主流的技术栈(React/Vue/Svelte)搭建不同平台的高性能前端系统(Web/H5/Desktop), 另一个是基于高性能的原生语言(Go/Rust)做一些有助于提升前端性能的创新性工作。</p>\n<p>本人有两个技术内容站点，一个是 <a href=\"https://www.kunzhang.me\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">本站点</a>, 另一个是<a href=\"https://wiki.kunzhang.me\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Wiki 站点</a>。两个站点内容大致相同，但定位不同：Wiki 站点偏向于文档的形式，比起本站点更方便阅读和系统，本站点在保持基本内容充实的同时，致力于 UI、交互的有趣生动，所以二者技术栈不尽相同，Wiki 站点的技术栈偏向于 Docuruas、Vitepress、Gitbook 这种文档型站点，</p>\n<p>本博客的前身是我在 2020 年基于 Hexo(Icarus 主题)的博客。Hexo 的易用性和巨大的主题库是无与伦比的，让我在写程序之初拥有了一个非常不错的博客平台。在两年后，随着我的博客内容的不断增多，hexo 部署速度和访问速度越来越慢，尤其是在访问站点时一个巨大的 json 是非常消耗加载时间的，这让我不得不关注其他静态博客站点,诸如 Hugo、Astro、Gatsby 或者 Nextjs 这种 SSR 框架。Hugo 是我的选项之一，但是他基于 Go 的拓展性实在不如其他框架方便，同时优化网站加载速度也是我重点考虑的标准。Astro 在加载优化方面作出了杰出的工作，但是他的生态在 2022 年略显单薄。因此我选择了基于 Gatsby 的技术方案</p>\n<p>Gatsby 相比于 Hexo 或者 Hugo 的巨大优势在于它不是基于 node 或者 go 的模版引擎进行渲染，因此在编写组件时有较大的灵活度。同时基于 React 的优化加载方案和预加载方案满足了我对于站点访问性能的要求，这也是 Hexo 和 Hugo 不容易做到的。同时 Gatsby 不需要想 Jaro 或者 Nextjs 一样需要数据库，是一个纯前端的 SSR 渲染方案，Gatsby 社区也有不少主题和插件，因此也具有开箱即用和即插即用的优势</p>\n<p>Gatsby 的问题在于没有像 Hexo 中的 Icraus 主题或者 Next 主题一样有一个很多人都喜欢的开箱即用的主题，甚至与社区的不同主题中采用的 Markdown 的方式也是各种各样。我在社区找到 Calpa 基于 GatsbyJS 開發的博客系統 - <a href=\"https://github.com/calpa/gatsby-starter-calpa-blog\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">gatsby-starter-calpa-blog</a> ，对其 UI 和功能加以改造，UI 方面主要参考 icarus 的方案，对添加了 hexo 中 markdown 字段的兼容性，确保方便从 hexo 直接迁移到 Gatsby。功能方面加了一些我自己的喜欢的 hexo 的功能，比如隐藏博客，密码等。因此有了新的类似于 Icarus 的主题<a href=\"https://github.com/Kun8018/gatsby-starter-icarus-blog\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">gatsby-starter-icarus-blog</a></p>\n<p>如果您在使用中关于本博客有什么好的想法，欢迎来<a href=\"https://github.com/Kun8018/gatsby-starter-icarus-blog\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">https://github.com/Kun8018/gatsby-starter-icarus-blog</a>下面提 issue。</p>\n<p>本博客也满足了我一直想写一个自己的主题的心愿，虽然整体偏向于 Icarus，但还是有很多我自己喜欢的功能，比如 TS</p>\n<p>如果你想找我的話，欢迎发邮件找我：<a href=\"mailto:1027690173@qq.com\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">1027690173@qq.com</a></p>\n<h2 id=\"大事記\" style=\"position:relative;\">大事記<a href=\"#%E5%A4%A7%E4%BA%8B%E8%A8%98\" aria-label=\"大事記 permalink\" class=\"custom-class after\"><svg aria-hidden=\"true\" height=\"20\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"20\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a></h2>\n<h3 id=\"2022-年\" style=\"position:relative;\">2022 年<a href=\"#2022-%E5%B9%B4\" aria-label=\"2022 年 permalink\" class=\"custom-class after\"><svg aria-hidden=\"true\" height=\"20\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"20\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a></h3>\n<p>7 月，基于 Gatsby 的新站点开始修改，三个周末之后上线</p>\n<h3 id=\"2021-年\" style=\"position:relative;\">2021 年<a href=\"#2021-%E5%B9%B4\" aria-label=\"2021 年 permalink\" class=\"custom-class after\"><svg aria-hidden=\"true\" height=\"20\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"20\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a></h3>\n<p>3 月初，我正式到杭州一家做图数据库的公司（欧若数网）工作</p>\n<p>8 月底，另一个基于 Vuepress 的 wiki 站点上线</p>\n<p>12 月初，我到上海现在的公司驰骛科技工作</p>\n<h3 id=\"2020-年\" style=\"position:relative;\">2020 年<a href=\"#2020-%E5%B9%B4\" aria-label=\"2020 年 permalink\" class=\"custom-class after\"><svg aria-hidden=\"true\" height=\"20\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"20\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a></h3>\n<p>3 月：搭建 hexo 博客</p>\n<p>7 月：参与前端工作</p>\n<p>我还在前端其他领域活跃，如果您有好的想法欢迎电邮\n：<a href=\"mailto:1027690173@qq.com\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">1027690173@qq.com</a></p>","excerpt":"关于 Kun Hi，我是 Kun，一个出身机械专业的前端程序员，目前主要从事两个方向的代码工作，一个是基于前端主流的技术栈(React/Vue/Svelte)搭建不同平台的高性能前端系统(Web/H5/Desktop), 另一个是基于高性能的原生语言(Go/Rust…","tableOfContents":"<ul>\n<li><a href=\"/about/#%E5%85%B3%E4%BA%8E-kun\">关于 Kun</a></li>\n<li>\n<p><a href=\"/about/#%E5%A4%A7%E4%BA%8B%E8%A8%98\">大事記</a></p>\n<ul>\n<li><a href=\"/about/#2022-%E5%B9%B4\">2022 年</a></li>\n<li><a href=\"/about/#2021-%E5%B9%B4\">2021 年</a></li>\n<li><a href=\"/about/#2020-%E5%B9%B4\">2020 年</a></li>\n</ul>\n</li>\n</ul>","fields":{"slug":"/about/","readingTime":{"time":300600,"words":1002,"minutes":5.01}},"timeToRead":3,"frontmatter":{"id":"c192eaba9fefc632acf87ed636593475","title":"关于我","slug":"/about/","date":"2022-07-01T03:48:03.125Z","headerImage":"https://i.imgur.com/mich3dS.jpg","thumbnail":null}},"previous":null,"next":null}]}},"pageContext":{"id":"e18441fe-ed40-55b2-bb23-99f2760e3e97","index":1}},"staticQueryHashes":["2416457415"]}