mirror of
https://gitee.com/ineo6/homebrew-install.git
synced 2025-04-05 19:41:45 +08:00
feat: 添加赞赏页面
This commit is contained in:
parent
156fea7b4b
commit
d1fc19cf23
@ -155,7 +155,7 @@ const SourceGenerate = ({ first }) => {
|
||||
size="small"
|
||||
value={platform}
|
||||
onChange={value => setPlatform((1 * (value as any)) as Platform)}
|
||||
style={{ width: '120px' }}
|
||||
style={{ width: '100px' }}
|
||||
>
|
||||
{platformList.map(config => (
|
||||
<Option value={config.key} key={config.key}>
|
||||
@ -170,7 +170,7 @@ const SourceGenerate = ({ first }) => {
|
||||
size="small"
|
||||
value={terminalType}
|
||||
onChange={value => setTerminalType(value)}
|
||||
style={{ width: '120px' }}
|
||||
style={{ width: '80px' }}
|
||||
>
|
||||
<Option value="zsh">zsh</Option>
|
||||
<Option value="bash">bash</Option>
|
||||
|
@ -122,7 +122,9 @@ const Layout: React.FC<IRouteComponentProps> = ({ children, location }) => {
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<Notice />
|
||||
{!showHero && !showFeatures && meta.filePath && !meta.gapless && (
|
||||
<Notice />
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
@ -49,7 +49,7 @@ brew update
|
||||
|
||||
<h2 id='part3'>设置镜像</h2>
|
||||
|
||||
> 更新:强烈建议使用[镜像助手](/guide/change-source/),你可以自助获取镜像脚本,目前支持中科大、清华、腾讯、北京外国语镜像源。
|
||||
> 更新:强烈建议使用 [镜像助手](/guide/change-source/) ,你可以自助获取镜像脚本,目前支持中科大、清华、腾讯、北京外国语镜像源。
|
||||
|
||||
### 中科大源
|
||||
|
||||
|
@ -11,14 +11,20 @@ footer: Open-source MIT Licensed | Copyright © 2021<br />Powered by [Neo](https
|
||||
|
||||
<h1 style="display: none">镜像快速安装Homebrew教程</h1>
|
||||
|
||||
<Center><h2>快速安装 Homebrew</h2></Center>
|
||||
## 快速安装
|
||||
|
||||
```shell script
|
||||
/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)"
|
||||
```
|
||||
|
||||
<Center>将以上命令粘贴至终端。脚本内置<a target="_blank" href="http://mirrors.ustc.edu.cn/help/brew.git.html">中科大镜像</a>,所以能让Homebrew安装速度飞快。</Center>
|
||||
<Center>将以上命令粘贴至终端。脚本内置 <a target="_blank" href="http://mirrors.ustc.edu.cn/help/brew.git.html">中科大镜像</a> ,所以能让Homebrew安装的更快。</Center>
|
||||
|
||||
<Center>如果想使用其他源安装,或者已安装但是想换源,请使用<a href="/guide/change-source/">镜像助手</a>获取脚本。</Center>
|
||||
<Center>如果想使用其他源安装,或者已安装但是想换源,请使用 <a href="/guide/change-source/">镜像助手</a> 获取脚本。</Center>
|
||||
|
||||
<Center>更详细的安装说明,请点击 <a href="/guide/start/">快速开始</a> 开始安装。</Center>
|
||||
|
||||
## 交流
|
||||
|
||||
想加入微信群,可以关注公众号“湖中剑”回复“brew”获取加群二维码。
|
||||
|
||||
<img src="https://i.loli.net/2021/03/14/Gn7XKDUhtElmSV8.jpg" width="200" />
|
||||
|
14
docs/reward.md
Normal file
14
docs/reward.md
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
nav:
|
||||
title: 赞赏
|
||||
toc: false
|
||||
sidemenu: false
|
||||
---
|
||||
|
||||
# 赞赏
|
||||
|
||||
如果我的工作帮助到你,可以请我喝杯咖啡。
|
||||
|
||||
| 微信 | 公众号 |
|
||||
| ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
|
||||
|  |  |
|
Loading…
x
Reference in New Issue
Block a user