diff --git a/.dumi/theme/Notice.tsx b/.dumi/theme/Notice.tsx new file mode 100644 index 0000000..0c57640 --- /dev/null +++ b/.dumi/theme/Notice.tsx @@ -0,0 +1,43 @@ +import React, { useContext, useState, useEffect } from 'react'; +import './style/notice.less'; + +interface NoticeProps {} + +const Notice: React.FC = () => { + const [visible, setVisible] = useState(true); + + function onClose() { + setVisible(false); + } + + if (visible) { + return ( +
+
+ 需要帮助? +
+
+
扫码回复"brew"进群
+ + + +
+ ); + } else { + return null; + } +}; + +export default Notice; diff --git a/.dumi/theme/layout.tsx b/.dumi/theme/layout.tsx index d77c48b..8c83065 100644 --- a/.dumi/theme/layout.tsx +++ b/.dumi/theme/layout.tsx @@ -5,6 +5,7 @@ import Navbar from 'dumi-theme-default/src/components/Navbar'; import SideMenu from 'dumi-theme-default/src/components/SideMenu'; import SlugList from 'dumi-theme-default/src/components/SlugList'; import SearchBar from 'dumi-theme-default/src/components/SearchBar'; +import Notice from './Notice'; import './style/layout.less'; const Hero = hero => ( @@ -121,6 +122,7 @@ const Layout: React.FC = ({ children, location }) => { /> )}
+ ); }; diff --git a/.dumi/theme/style/layout.less b/.dumi/theme/style/layout.less index ff988d9..6ed29c9 100644 --- a/.dumi/theme/style/layout.less +++ b/.dumi/theme/style/layout.less @@ -1,8 +1,6 @@ @import './markdown.less'; @import './variables.less'; -@s-toc-width: 136px; - body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, @@ -62,6 +60,10 @@ body { top: 114px; max-height: calc(90vh - 144px); } + + .@{prefix}-layout-notice { + bottom: 40px; + } } &-hero { diff --git a/.dumi/theme/style/notice.less b/.dumi/theme/style/notice.less new file mode 100644 index 0000000..84e70fd --- /dev/null +++ b/.dumi/theme/style/notice.less @@ -0,0 +1,34 @@ +@import './variables.less'; + +.@{prefix}-layout-notice { + position: fixed; + bottom: 40px; + right: 20px; + z-index: 19; + box-sizing: border-box; + width: @s-toc-width; + height: 180px; + background-color: #fff; + border: 1px solid #0074af; + border-radius: 4px; + box-shadow: 0 0 4px 4px #fff; + font-size: 12px; + text-align: center; + overflow: hidden; + + &-qr { + width: @s-toc-width - 2; + height: @s-toc-width - 2; + background: url(@qr) no-repeat 100%; + background-size: 100% 100%; + } + + &-close { + font-size: 18px; + color: #999; + position: absolute; + right: 4px; + top: 4px; + cursor: pointer; + } +} diff --git a/.dumi/theme/style/variables.less b/.dumi/theme/style/variables.less index 222d8f9..27476cb 100644 --- a/.dumi/theme/style/variables.less +++ b/.dumi/theme/style/variables.less @@ -14,12 +14,14 @@ @s-site-menu-width: 300px; @s-menu-mobile-width: 240px; @s-content-margin: 58px; +@s-toc-width: 136px; -@img-logo: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACCCAMAAACww5CIAAACf1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8YkP8AAAACCxMamv/6+voaGhoXi/YYjv8aoP8cq/8dr/8bo/8cqP8bpv8Ykv8drv8BAwUcrP8Zlf8Xjf/s7OzLy8scp/8anP8ZmP/d3d0BBArg4ODT09O7u7sEGCsKCgoanf8YlP/8/Pz09PTIyMgMTIV1dXUGKEVEREQ0NDQODg4GBgYdsv8dsf8Zl//m5uYVgOXj4+MWgtfW1tYTc87BwcERbLWzs7Ovr6+np6cQX6OgoKCTk5MMSXlwcHBra2tiYmIVFRUetf/39/fp6ekWhOkXi+QVfNvY2NjPz88TdcUSb7u6urq3t7cPYK0NUJGQkJCLi4ttbW0JO2cINFtVVVVRUVEHMFEHLEs6OjoEHDEiIiIcHBwXj/vx8fEWh+4Sb8gRbL+rq6upqakOVZiWl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l1cpVKbH3uJ2v1QleUqOCI2h9xeeP0aVqLCA4JSLk6s7hu6CbkqOAIGpyB7iRZ5xLvFWlHEkITyjK/41/v9h0AC3lngpCz0PXWf0yDUcmBhFDt0T/flx8CkNL8VLAZjUhvAHSQek5AtyALdqP5e9BdbPCkZsbuFRKVvlRHs/W1AfC902yNgoriWwCeqw1fSL+J2VkWNBF8vckr6mPQ3ZcjtkVBA/3z4Ju6Bs5ANzck2BQFpUMTxlVZQ4ege95vUxRUHoPOe5s01OWBbryf2hEFDX4Fc4Vs4gaYZ3ZEQeXBJPgMcFPnwYzJVmeE6jGsGCNAE/rAlPIBamkMQv9YCLpzxJRjYMr5BLXyg5EvgTlKTOoEkw2LUct6dTz4ojqCNO04mMm4ZE150mhMuQ+jHppwAUxqUM5QK9qkPLIE5jhpygkvmHJYiW45FaL8IwmdZy9pUtc2MK9HtvgloZngJyMVp3tJ846ASb7Q1NYrg1JN+ukDs4e05LwHTO5bUKG0tRBEeXAKzJ3rpEXdB8C9fBIWKW0hhOBIBdy2K6R11zvALY6EFYE21yHF4OdKEkz7ObIlXXvAhV4OquoApaYbpCo9qayA29lLturibhimSgOSFjG1ILRwYnwShn09xArnT8PwdnHML6n+hl+2gD8Wjj+rLMOwq49Y5dZpVKUWS++VcCwdCdT5/Uhck5SH45VpVO3qJFbq2Y5Vvly2VBgQY5KqKWI6HY+n06KiqVJMSQyP/37wB6v29xGrnThyEDWh5dyr+fJscbQw/OjRcGG0OFvO3n+QSqKm7exlYgsvNgolkyFs1HGV2OQgTGsjNjnVBtO8Owj3nwbhgWnttgWxy2PaoWaC+AuAXqWYKHupMgAAAABJRU5ErkJggg=='; +@img-logo: ''; @prefix: __dumi-default; @mobile: ~'only screen and (max-width: 767px)'; @desktop: ~'only screen and (min-width: 768px)'; @icons: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcwAAAA8CAMAAADc4HoZAAABFFBMVEUAAABGT2VGTmZaYXpCvGtIUGg3tGBGTmU3s2A/tm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lZHFACUV/VMDgc0o5oACcCgEHpX8rOR6V/VKq4PXtQApIHWgHIpGXJ69q/layPSgBAMmv6p85pDyCM0gXHegD+VvFf1TA5ppHOc04dPWgD+Viv6pz3r+VjBNf1TdaAP5WvWv6putNYHNfytnr0oASv6pz3r+Viv6pz3oA/lZxnNf1TA5FfyshsZoLAnpQAgGTX9U4OaCCQRmkC4NACkgdaAcikZcnr2r+VrI9KAP6p6/lX64r+qfNfytYxQA3FBGDX9Upz1/Sv5WyOen5UAf1T0UUUAFFFFABRRRQAnev5WK/qn71/KxQB/VOeaAMV/KxRQB/VPj2FGPYV/KxRQB/VOSQM4zX8rJGMH3pAcGjJJoA/qnHSlpB0paAP5V80u4mkooAXNf1TAYr+VjtX9VFAH8q9f1Tk4r+Viv6pz3oAaWIPSv5WyB60etf1TdKAP5WByetOx3zTQcV/VPjFAH8rQHH9DX9Ui9Bxj61/K1kg0hOTQB/VORx0pFPOMUpGa/lYJoA/qnIz2oAx2r+ViigBcD1r+qTdk4x+NOIyKNo9KAP5Wto6+9NIwa/qnIFfysE5oA/qnoOa/lYoHWgD+qcHNfysV/VOO1fysUAKOvWv6pAee9OIyKMACgBMZ60oGO1fysHrRQB/VRRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQB//Z'; .@{prefix}-icon { background: url(@icons) no-repeat ~'0 0/230px auto'; diff --git a/docs/guide/faq.md b/docs/guide/faq.md index 804c027..ff1b7f0 100644 --- a/docs/guide/faq.md +++ b/docs/guide/faq.md @@ -1,8 +1,12 @@ +--- +order: 4 +--- + # FAQ ## M1 芯片 Mac 如何安装 -`Homebrew`已支持在`arm`上安装,但是一些软件兼容性还有待更新,官方查阅地址可看[说明](https://github.com/Homebrew/brew/issues/7857)。 +`Homebrew`已支持在`arm`上安装,但是一些软件兼容性还有待更新,官方查阅地址可看 [说明](https://github.com/Homebrew/brew/issues/7857) 。 你可以考虑安装`x86`版本保持兼容性。 @@ -28,7 +32,7 @@ Use '--' to separate paths from revisions, like this: 解决方案: -- 根据文章[解决 GitHub 网页 githubusercontent 地址无法访问问题][hosts],给`github.com`域名加速 +- 根据文章 [GitHub 访问加速指南][hosts] ,给`github.com`域名加速 - 通过代理访问 ## 设置镜像无效,安装还是很慢 @@ -97,3 +101,5 @@ To retry an incomplete download, remove the file above. - `/bin/bash` => `bash` => `.bash_profile` - `/bin/zsh` => `zsh` => `.zprofile` + +[hosts]: https://mp.weixin.qq.com/s/gFNP2Pk81vg7nE1XsDingg