halfrost
halfrost
理想中的搜索界面应该长这样,https://weiss-pro.eduardogomez.io/ 一张图显示是否搜索到结果,旁边显示“最近文章”,下面再显示 TAG。 CSS 样式已经拷贝到了 searcher_dev 分支了。js 函数还需要再完善。需要在搜索结束以后动态控制显示不同的图片。 Ps: 另外 CSS 样式里面还有一些和当前主题不兼容的颜色样式,gulp build 的时候会有警告,也需要解决处理一下。
第三方的 cache TTL 有点短,想办法增长缓存时间。 A long cache lifetime can speed up repeat visits to your page.
78% appropriately sized tap targets. Interactive elements like buttons and links should be large enough (48x48px), and have enough space around them, to be easy enough to tap without overlapping...
这两个 JS 文件在加载的时候太大了,会 block 住页面加载进程,需要优化~拆分或者合并以后 uglify
https://books.halfrost.com/leetcode/ChapterFour/0100~0199/0118.Pascals-Triangle/
https://books.halfrost.com/leetcode/ChapterFour/0001~0099/0004.Median-of-Two-Sorted-Arrays/
https://books.halfrost.com/leetcode/ChapterFour/0001~0099/0015.3Sum/