Skip to content

Commit fe032c9

Browse files
authored
doc(Readme): add .net foundation code of conduct (#4410)
* doc: add .net foundation code of conduct * doc: 更新网站
1 parent 490e0aa commit fe032c9

File tree

4 files changed

+51
-6
lines changed

4 files changed

+51
-6
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
English | <a href="README.zh-CN.md">中文</a>
1616

1717
---
18+
## .NET Foundation
19+
[<img align="right" src="https://github.com/dotnet-foundation/swag/blob/main/logo/dotnetfoundation_v4.png?raw=true" width="100" />](https://www.dotnetfoundation.org/)
20+
<p>This project is part of the <a href="https://www.dotnetfoundation.org/">.NET Foundation</a> and operates under their <a href="https://www.dotnetfoundation.org/code-of-conduct">code of conduct</a>. </p>
1821

1922
## Features
2023
- Enterprise-class UI designed for web applications.
@@ -169,6 +172,11 @@ To start the wizard, use either of the following approaches
169172
3. Commit
170173
4. Create Pull Request
171174

175+
## Code of Conduct
176+
177+
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
178+
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
179+
172180
## Donate
173181

174182
If this project is helpful to you, please scan the QR code below for a cup of coffee.

README.zh-CN.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
<a href="README.md">English</a> | <span>中文</span>
1616

1717
---
18+
## .NET Foundation
19+
[<img align="right" src="https://github.com/dotnet-foundation/swag/blob/main/logo/dotnetfoundation_v4.png?raw=true" width="100" />](https://www.dotnetfoundation.org/)
20+
<p>该项目属于 <a href="https://www.dotnetfoundation.org/">.NET 基金会</a> ,并根据其 <a href="https://www.dotnetfoundation.org/code-of-conduct">行为准则</a> 运作。</p>
1821

1922
## 项目介绍
2023
Blazor 是一个使用 .NET 生成交互式客户端 Web UI 的框架:
@@ -39,7 +42,7 @@ Blazor 是一个使用 .NET 生成交互式客户端 Web UI 的框架:
3942

4043
目前 `BootstrapBlazor` 团队由六名热爱开源的技术达人组成,其中有四名 **微软最有价值专家(Microsoft MVP)** ;成立了大约 2000 人的 `Blazor 中文社区` 积极响应,只讨论 Blazor 相关技术
4144

42-
本组件库内置 **150** 多个组件,作者所在几家公司的项目均在重度使用,大多数组件都是在实际项目中提炼出来,非常适合国人操作习惯,大大节约开发时间,不像有些开源作品甚至作者本人都不使用,遇到问题从根本上无法解决,提交 Issue 也是让其自行解决并帮忙 PR 到其仓库
45+
本组件库内置 **200** 多个组件,作者所在几家公司的项目均在重度使用,大多数组件都是在实际项目中提炼出来,非常适合国人操作习惯,大大节约开发时间,不像有些开源作品甚至作者本人都不使用,遇到问题从根本上无法解决,提交 Issue 也是让其自行解决并帮忙 PR 到其仓库
4346

4447
作者与团队积极处理 Issue 社区中积极回答问题,绝对不会一个开源仓库有几百上千 Issue 不予处理,当需求合理,即使是新功能也会积极响应并尽快提供新版本不会出现让提交者自己实现功能并提交 PR 的行为
4548

@@ -69,7 +72,7 @@ WTM 快速开发框架,设计的核心理念就是 "尽一切可能提高开
6972
### 克隆代码
7073

7174
```shell
72-
git clone https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
75+
git clone https://github.com/dotnetcore/BootstrapBlazor.git
7376
cd BootstrapBlazor/src/BootstrapBlazor.Server
7477
dotnet run
7578
```
@@ -202,7 +205,7 @@ Blazor 应用基于组件。 Blazor 中的组件是指 UI 元素,例如页面
202205

203206
### 上海智通建设发展股份有限公司
204207

205-
特别鸣谢胡总对本项目的鼎力赞助 **10000**
208+
特别鸣谢对本项目的鼎力赞助 **10000**
206209

207210
<img src="https://gitee.com/Longbow/Pictures/raw/master/BootstrapBlazor/[email protected]" width="552px;" />
208211

@@ -213,6 +216,11 @@ Blazor 应用基于组件。 Blazor 中的组件是指 UI 元素,例如页面
213216
3. 提交代码
214217
4. 新建 Pull Request
215218

219+
## 行为准则
220+
221+
本项目采用了《贡献者公约》所定义的行为准则,以明确我们社区的预期行为。
222+
更多信息请见 [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
223+
216224
## 捐助
217225

218226
如果这个项目对您有所帮助,请扫下方二维码打赏一杯咖啡。

src/BootstrapBlazor.Server/Components/Pages/Index.razor

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
@page "/index"
44
@page "/home"
55

6-
<section class="bd-masthead mb-3">
6+
<section class="bd-masthead">
77
<div class="container-xxl bd-gutter">
88
<div class="col-md-8 mx-auto text-center">
99
<a class="d-flex flex-column flex-lg-row justify-content-center align-items-center mb-4 text-dark lh-sm text-decoration-none" href="https://github.com/dotnetcore/BootstrapBlazor?wt.mc_id=DT-MVP-5004174" rel="noopener" target="_blank">
1010
<span class="d-sm-inline-flex align-items-center gap-1 py-2 px-3 mb-lg-0 rounded-5 masthead-notice">
1111
@Localizer["Support"]
1212
</span>
1313
</a>
14-
<img src="./favicon.png" width="150" height="150" alt="bootstrap-blazor" class="d-none d-sm-block mx-auto my-5">
14+
<img src="./favicon.png" alt="bootstrap-blazor" class="bb-logo d-none d-sm-block mx-auto my-5">
1515
<h1 class="mb-3 fw-semibold">@Localizer["Title"]</h1>
1616
<p class="lead mb-4">
1717
@Localizer["SubTitle"]
@@ -36,4 +36,10 @@
3636
<h5 class="d-none d-sm-block mb-3">@Localizer["DonateH2"]</h5>
3737
<img alt="barcode" class="barcode" src="./images/[email protected]" />
3838
</div>
39+
<div class="bb-foundation">
40+
<a class="bb-foundation-img" href="https://www.dotnetfoundation.org/">
41+
<img align="right" src="https://github.com/dotnet-foundation/swag/blob/main/logo/dotnetfoundation_v4.png?raw=true" width="100" />
42+
</a>
43+
<div class="bb-foundation-content">本项目属于 <a href="https://www.dotnetfoundation.org/">.NET 基金会</a>,并根据其 <a href="https://www.dotnetfoundation.org/code-of-conduct">行为准则</a> 运作。</div>
44+
</div>
3945
</section>

src/BootstrapBlazor.Server/Components/Pages/Index.razor.css

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
--bd-pink-rgb: 214, 51, 132;
55
--bd-violet-rgb: 112.520718, 44.062154, 249.437846;
66
--bd-accent-rgb: 255, 228, 132;
7-
padding: 3rem 0;
7+
padding-top: 3rem;
88
background-image: linear-gradient(180deg, rgba(var(--bs-body-bg-rgb), 0.01), rgba(var(--bs-body-bg-rgb), 1) 85%), radial-gradient(ellipse at top left, rgba(var(--bs-primary-rgb), 0.5), transparent 50%), radial-gradient(ellipse at top right, rgba(var(--bd-accent-rgb), 0.5), transparent 50%), radial-gradient(ellipse at center right, rgba(var(--bd-violet-rgb), 0.5), transparent 50%), radial-gradient(ellipse at center left, rgba(var(--bd-pink-rgb), 0.5), transparent 50%);
99
}
1010

@@ -28,6 +28,10 @@
2828
text-decoration: underline;
2929
}
3030

31+
.bd-masthead .bb-logo {
32+
width: 200px;
33+
}
34+
3135
.bd-gutter {
3236
--bs-gutter-x: 3rem;
3337
}
@@ -80,6 +84,25 @@
8084
width: 280px;
8185
}
8286

87+
.bb-foundation {
88+
background-color: rgb(var(--bs-tertiary-bg-rgb));
89+
position: relative;
90+
}
91+
92+
.bb-foundation .bb-foundation-img {
93+
position: absolute;
94+
right: 1rem;
95+
top: 1rem;
96+
}
97+
98+
.bb-foundation .bb-foundation-content {
99+
text-align: center;
100+
font-size: 1.1rem;
101+
font-weight: bolder;
102+
line-height: 100px;
103+
padding: 1rem 0;
104+
}
105+
83106
@media (min-width: 768px) {
84107
.bd-masthead .lead {
85108
font-size: calc(1.275rem + .3vw);

0 commit comments

Comments
 (0)