diff --git a/.gitignore b/.gitignore index e995fb4..01b329d 100644 --- a/.gitignore +++ b/.gitignore @@ -21,10 +21,12 @@ node_modules/ !/.knosys/sites/default/source/_posts/hello-world.md /.knosys/sites/default/themes/*/layout/* !/.knosys/sites/default/themes/*/layout/_nop/ +!/.knosys/sites/default/themes/*/layout/_local/ /.knosys/sites/default/themes/*/scripts/ /.knosys/sites/default/themes/*/source/fonts/* /.knosys/sites/default/themes/*/source/images/* !/.knosys/sites/default/themes/*/source/images/nop/ +!/.knosys/sites/default/themes/*/source/images/local/ /.knosys/sites/default/themes/*/source/javascripts/* /.knosys/sites/default/themes/*/source/stylesheets/* !/.knosys/sites/default/themes/*/_config.yml diff --git a/.knosys/sites/default/_config.yml b/.knosys/sites/default/_config.yml index f9ab28f..ce3fd87 100644 --- a/.knosys/sites/default/_config.yml +++ b/.knosys/sites/default/_config.yml @@ -157,6 +157,10 @@ ksio: - javascripts/ksio/components/toc _nop/layouts/doc: extends: ksio/doc + _local/layouts/index: + values: + ksio_asset_css: + - local/pages/index page: - scope: type: posts diff --git a/.knosys/sites/default/source/_data/local/members.yml b/.knosys/sites/default/source/_data/local/members.yml new file mode 100644 index 0000000..e1f63ae --- /dev/null +++ b/.knosys/sites/default/source/_data/local/members.yml @@ -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/ diff --git a/.knosys/sites/default/source/community.md b/.knosys/sites/default/source/community.md new file mode 100644 index 0000000..42ad622 --- /dev/null +++ b/.knosys/sites/default/source/community.md @@ -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 平台群」**: + +
+ Nop 平台创作者微信 +
Nop 平台创作者微信
+
+ +另有 Discord 社区正在准备中! diff --git a/.knosys/sites/default/source/images/wechat-group.png b/.knosys/sites/default/source/images/wechat-group.png new file mode 100644 index 0000000..43d8f7c Binary files /dev/null and b/.knosys/sites/default/source/images/wechat-group.png differ diff --git a/.knosys/sites/default/source/index.ejs b/.knosys/sites/default/source/index.ejs new file mode 100644 index 0000000..d7b2b06 --- /dev/null +++ b/.knosys/sites/default/source/index.ejs @@ -0,0 +1,13 @@ +--- +layout: _nop/layouts/index +--- + +
+
+
+

Nop

+

基于可逆计算原理从零开始构建的新一代低代码平台

+

开始了解

+
+
+
diff --git a/.knosys/sites/default/source/team.md b/.knosys/sites/default/source/team.md new file mode 100644 index 0000000..9996b8b --- /dev/null +++ b/.knosys/sites/default/source/team.md @@ -0,0 +1,6 @@ +--- +title: 团队 +ksio_slot_content: _local/partials/team +ksio_asset_css: + - local/pages/team +--- diff --git a/.knosys/sites/default/themes/nop-project/layout/_local/layouts/index.ejs b/.knosys/sites/default/themes/nop-project/layout/_local/layouts/index.ejs new file mode 100644 index 0000000..26ab31b --- /dev/null +++ b/.knosys/sites/default/themes/nop-project/layout/_local/layouts/index.ejs @@ -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') %> diff --git a/.knosys/sites/default/themes/nop-project/layout/_local/partials/team.ejs b/.knosys/sites/default/themes/nop-project/layout/_local/partials/team.ejs new file mode 100644 index 0000000..2e1bd8d --- /dev/null +++ b/.knosys/sites/default/themes/nop-project/layout/_local/partials/team.ejs @@ -0,0 +1,22 @@ +

核心成员

+ diff --git a/.knosys/sites/default/themes/nop-project/source/images/local/avatars/canonical.jpg b/.knosys/sites/default/themes/nop-project/source/images/local/avatars/canonical.jpg new file mode 100644 index 0000000..5dd4d76 Binary files /dev/null and b/.knosys/sites/default/themes/nop-project/source/images/local/avatars/canonical.jpg differ diff --git a/.knosys/sites/default/themes/nop-project/source/images/local/avatars/ourai.jpg b/.knosys/sites/default/themes/nop-project/source/images/local/avatars/ourai.jpg new file mode 100644 index 0000000..b8b712c Binary files /dev/null and b/.knosys/sites/default/themes/nop-project/source/images/local/avatars/ourai.jpg differ diff --git a/.knosys/sites/default/themes/nop-project/source/local/pages/index.scss b/.knosys/sites/default/themes/nop-project/source/local/pages/index.scss new file mode 100644 index 0000000..d05c98d --- /dev/null +++ b/.knosys/sites/default/themes/nop-project/source/local/pages/index.scss @@ -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; + } +} diff --git a/.knosys/sites/default/themes/nop-project/source/local/pages/team.scss b/.knosys/sites/default/themes/nop-project/source/local/pages/team.scss new file mode 100644 index 0000000..703e96a --- /dev/null +++ b/.knosys/sites/default/themes/nop-project/source/local/pages/team.scss @@ -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; + } +} diff --git a/.knosys/sites/en/_data/local/members.yml b/.knosys/sites/en/_data/local/members.yml index f55b822..0ed1dcc 100644 --- a/.knosys/sites/en/_data/local/members.yml +++ b/.knosys/sites/en/_data/local/members.yml @@ -12,4 +12,4 @@ website: https://ourai.github.io projects: - name: Nop official website - url: https://github.com/nop-platform/nop-platform.github.io + url: https://github.com/nop-platform/site diff --git a/.knosys/sites/zh/_data/local/members.yml b/.knosys/sites/zh/_data/local/members.yml index f000f31..e1f63ae 100644 --- a/.knosys/sites/zh/_data/local/members.yml +++ b/.knosys/sites/zh/_data/local/members.yml @@ -12,5 +12,5 @@ website: https://linxoid.com/ourai projects: - name: Nop 官网 - url: https://gitee.com/nop-platform/nop-platform + url: https://gitee.com/nop-platform/site sponsor: https://ourai.ws/sponsor/ diff --git a/.knosys/sites/zh/_data/local/repos.yml b/.knosys/sites/zh/_data/local/repos.yml index 1642232..81c2a7c 100644 --- a/.knosys/sites/zh/_data/local/repos.yml +++ b/.knosys/sites/zh/_data/local/repos.yml @@ -8,6 +8,15 @@ nop-entropy: name: Nop Entropy 项目文档 base: /projects/nop-entropy collection: docs + source: + local: _knosys/project-nop-entropy + remote: + default: + host: github.com + url: 'https://github.com/entropy-cloud/nop-entropy/edit/master/docs/:path' + zh: + host: gitee.com + url: 'https://gitee.com/canonical-entropy/nop-entropy/edit/master/docs/:path' toc: - text: 介绍 slug: why-nop diff --git a/.knosys/sites/zh/_layouts/local/doc.html b/.knosys/sites/zh/_layouts/local/doc.html index ef0cfa6..cd115fd 100644 --- a/.knosys/sites/zh/_layouts/local/doc.html +++ b/.knosys/sites/zh/_layouts/local/doc.html @@ -27,7 +27,7 @@

{{ page.title }}

{{ content }}