-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(site-default): add Community and Team pages
- Loading branch information
Showing
17 changed files
with
262 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
- name: canonical | ||
slug: canonical | ||
job: 创作者 | ||
org: Nop 平台 | ||
projects: | ||
- name: Nop 平台 | ||
url: https://gitee.com/canonical-entropy/nop-entropy | ||
- name: 欧雷 | ||
slug: ourai | ||
job: 发起人 & 站长 | ||
org: Nop 社区 | ||
website: https://linxoid.com/ourai | ||
projects: | ||
- name: Nop 官网 | ||
url: https://gitee.com/nop-platform/site | ||
sponsor: https://ourai.ws/sponsor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
title: 社区 | ||
--- | ||
|
||
[Nop 平台](/projects/nop-entropy/)是 [canonical](https://gitee.com/canonical-entropy) 自创的[可逆计算理论](https://zhuanlan.zhihu.com/p/64004026)的代码实现,提供新的软件构造原理的某种元机制和元工具,是一种比较纯粹的「引擎」,并不直接提供对于一线业务开发人员友好的功能。 | ||
|
||
其创作者是一个不为世俗之事所扰且具有科研人员气质的理想主义者,因而[只关心作为底层的 Nop 平台的核心功能,自身不考虑任何商业化发展](https://zhuanlan.zhihu.com/p/682133332)。 | ||
|
||
鉴于上述原因,注定 Nop 平台在推广使用上会产生很大阻力。 | ||
|
||
本社区是以 Nop 平台为根基,由[一群有想法、热情和行动力的人](/team/)共建而来,旨在尽可能填平 Nop 平台与一线业务开发人员之间的鸿沟。 | ||
|
||
## 问题反馈 | ||
|
||
若在使用本网站或 Nop 平台的过程中遇到问题及 bug,可在 Gitee 上提 issue: | ||
|
||
| 项目 | Git 仓库 | | ||
| --- | --- | | ||
| 官方网站 | [`nop-platform/nop-platform`](https://gitee.com/nop-platform/nop-platform/issues) | | ||
| Nop 平台 | [`canonical-entropy/nop-entropy`](https://gitee.com/canonical-entropy/nop-entropy/issues) | | ||
|
||
## 讨论群组 | ||
|
||
扫描下方 QR 码添加 Nop 平台创作者微信,并**备注「加入 Nop 平台群」**: | ||
|
||
<figure> | ||
<img src="images/wechat-group.png" alt="Nop 平台创作者微信"> | ||
<figcaption>Nop 平台创作者微信</figcaption> | ||
</figure> | ||
|
||
另有 Discord 社区正在准备中! |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
layout: _nop/layouts/index | ||
--- | ||
|
||
<main class="Page-content"> | ||
<article class="Homepage"> | ||
<header class="Homepage-header"> | ||
<h1>Nop</h1> | ||
<p class="Homepage-slogan">基于可逆计算原理从零开始构建的新一代低代码平台</p> | ||
<p class="GetStarted"><a href="/projects/nop-entropy/docs/">开始了解<i class="fa fa-long-arrow-right"></i></a></p> | ||
</header> | ||
</article> | ||
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: 团队 | ||
ksio_slot_content: _local/partials/team | ||
ksio_asset_css: | ||
- local/pages/team | ||
--- |
3 changes: 3 additions & 0 deletions
3
.knosys/sites/default/themes/nop-project/layout/_local/layouts/index.ejs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<%- partial(theme.header && theme.header.partial || '_ksio/partials/header') %> | ||
<%- partial('_ksio/slots/content') %> | ||
<%- partial(theme.footer && theme.footer.partial || '_ksio/partials/footer') %> |
22 changes: 22 additions & 0 deletions
22
.knosys/sites/default/themes/nop-project/layout/_local/partials/team.ejs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<h2>核心成员</h2> | ||
<ul class="MemberList"> | ||
<% site.data['local/members'].forEach(mem => { %> | ||
<li class="MemberList-item"> | ||
<div class="Member"> | ||
<div class="Member-header"> | ||
<%- image_tag(`images/local/avatars/${mem.slug}.jpg`, { class: 'Member-avatar', alt: mem.name }) %> | ||
<h3 class="Member-name" data-toc-skip="true"><% if (mem.website) { %><a href="<%= mem.website %>" target="_blank" rel="external nofollow"><%= mem.name %></a><% } else { %><%= mem.name %><% } %></h3> | ||
<p class="Member-job"><%= mem.job %><% if (mem.org) { %> @ <%= mem.org %><% } %></p> | ||
<% if (mem.sponsor) { %><a class="Member-sponsor" href="<%= mem.sponsor %>" target="_blank" rel="external nofollow"><i class="fa fa-heart"></i><span>资助</span></a><% } %> | ||
</div> | ||
<div class="Member-body"> | ||
<div class="Member-projects"><i class="fa fa-code"></i><ul> | ||
<% mem.projects.forEach(prj => { %> | ||
<li><a href="<%= prj.url %>" target="_blank" rel="external nofollow"><%= prj.name %></a></li> | ||
<% }) %> | ||
</ul></div> | ||
</div> | ||
</div> | ||
</li> | ||
<% }) %> | ||
</ul> |
Binary file added
BIN
+12.2 KB
.knosys/sites/default/themes/nop-project/source/images/local/avatars/canonical.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+23 KB
.knosys/sites/default/themes/nop-project/source/images/local/avatars/ourai.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions
49
.knosys/sites/default/themes/nop-project/source/local/pages/index.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
@import "../../stylesheets/helper"; | ||
|
||
.Homepage { | ||
&-header { | ||
position: relative; | ||
z-index: 1; | ||
overflow: hidden; | ||
padding: 96px 20px; | ||
text-align: center; | ||
background-color: #fff; | ||
|
||
h1 { | ||
margin-top: 0; | ||
margin-bottom: .3em; | ||
font-size: 10rem; | ||
font-weight: 700; | ||
} | ||
} | ||
|
||
&-slogan { | ||
font-size: 2.5rem; | ||
} | ||
} | ||
|
||
.GetStarted { | ||
$height: 46px; | ||
|
||
margin-top: 56px; | ||
margin-bottom: 0; | ||
|
||
a { | ||
display: inline-block; | ||
padding: 0 30px; | ||
font-weight: 400; | ||
line-height: $height; | ||
border-radius: $height; | ||
color: #fff; | ||
background-color: #337ab7; | ||
|
||
&:hover { | ||
text-decoration: none; | ||
background-color: #0871ab; | ||
} | ||
} | ||
|
||
.fa { | ||
margin-left: .5em; | ||
} | ||
} |
104 changes: 104 additions & 0 deletions
104
.knosys/sites/default/themes/nop-project/source/local/pages/team.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
@import "../../stylesheets/helper"; | ||
|
||
.MemberList { | ||
list-style: none inside none; | ||
overflow: hidden; | ||
margin: 0 -8px !important; | ||
padding: 0; | ||
|
||
&-item { | ||
float: left; | ||
width: 100%; | ||
padding: 8px; | ||
|
||
@media (min-width: $screen-sm-min) { | ||
width: 50%; | ||
} | ||
} | ||
} | ||
|
||
.Member { | ||
display: block; | ||
// min-height: 180px; | ||
padding: 20px 20px 20px 120px; | ||
overflow: hidden; | ||
font-size: 14px; | ||
text-decoration: none !important; | ||
border-radius: 6px; | ||
background-color: #f9f9f9; | ||
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.22); | ||
@include pie-clearfix; | ||
|
||
&-header { | ||
position: relative; | ||
padding-top: 10px; | ||
} | ||
|
||
&-avatar { | ||
position: absolute; | ||
top: 0; | ||
left: -100px; | ||
padding: 3px; | ||
border: 1px solid #eee; | ||
border-radius: 3px; | ||
background-color: #fff; | ||
@include circle(80px); | ||
} | ||
|
||
&-name { | ||
margin: 0; | ||
font-size: 24px !important; | ||
} | ||
|
||
&-job { | ||
margin: 10px 0 0 !important; | ||
line-height: 1 !important; | ||
} | ||
|
||
&-sponsor { | ||
position: absolute; | ||
top: -5px; | ||
right: -5px; | ||
height: 30px; | ||
padding: 0 .8em; | ||
font-size: 12px; | ||
font-weight: normal; | ||
line-height: 1; | ||
text-align: center; | ||
border: 1px solid #0871ab; | ||
border-radius: 4px; | ||
@include text-middle(".fa, span"); | ||
|
||
.fa { | ||
margin-right: .5em; | ||
} | ||
|
||
&:hover { | ||
color: #fff; | ||
background-color: #0871ab; | ||
} | ||
} | ||
|
||
&-body { | ||
padding-top: 15px; | ||
font-weight: normal; | ||
} | ||
|
||
&-projects { | ||
.fa, | ||
ul { | ||
vertical-align: middle; | ||
} | ||
|
||
ul { | ||
display: inline-block; | ||
list-style: none inside none; | ||
margin: 0 0 0 .8em; | ||
padding: 0; | ||
} | ||
} | ||
|
||
@media (min-width: $screen-sm-min) { | ||
min-height: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters