diff --git a/config.toml b/config.toml index 5a335449f24727b7df4b1a820bc2919d04418e76..31d631b4f915693a14094df41491862f6dee2459 100644 --- a/config.toml +++ b/config.toml @@ -33,53 +33,60 @@ paginate = 10 [[menu.main]] identifier = "community" name = "Community" - weight = 3 - hasChilren = true - -[[menu.main]] - identifier = "mails" - name = "Mail Lists" - url = "/en/community/mails.html" - parent = "community" - weight = 11 - -[[menu.main]] - identifier = "irc" - name = "IRC" - url = "/en/community/irc.html" - parent = "community" - weight = 9 + url = "/en/community.html" + weight = 2 [[menu.main]] - identifier = "meetings" - name = "Meetings" - url = "/en/meetings.html" - parent = "community" - weight = 10 + identifier = "client" + name = "Client" + url = "/en/client.html" + weight = 3 [[menu.main]] identifier = "docs" name = "Docs" url = "/en/docs.html" weight = 5 - hasChildren = true + hasChidren = true [[menu.main]] identifier = "download" name = "Download" url = "/en/download.html" - weight = 7 + weight = 6 [[menu.main]] identifier = "security" name = "Security" url = "/en/security.html" + weight = 7 + +[[menu.main]] + identifier = "join" + name = "Join Us" + url = "/en/join.html" weight = 8 + [[menu.main]] identifier = "lang" - name = "中文" - url = "/zh" + name = "English" weight = 9 + hasChidren = true + +[[menu.main]] + identifier = "zh" + name = "简体中文" + url = "/zh" + weight = 11 + parent = "lang" + +[[menu.main]] + identifier = "en" + name = "English" + url = "/en" + weight = 12 + parent = "lang" + # Menu chinese [[languages.zh.menu.main]] @@ -91,29 +98,14 @@ paginate = 10 [[languages.zh.menu.main]] identifier = "community" name = "社区" - weight = 3 - hasChilren = true + url = "/zh/docs/community.html" + weight = 2 [[languages.zh.menu.main]] - identifier = "mails" - name = "邮件列表" - url = "/zh/community/mails.html" - parent = "community" - weight = 11 - -[[languages.zh.menu.main]] - identifier = "irc" - name = "IRC" - url = "/zh/community/irc.html" - parent = "community" - weight = 9 - -[[languages.zh.menu.main]] - identifier = "meetings" - name = "会议" - url = "/zh/meetings.html" - parent = "community" - weight = 10 + identifier = "client" + name = "用户" + url = "/en/client.html" + weight = 3 [[languages.zh.menu.main]] identifier = "docs" @@ -126,19 +118,41 @@ paginate = 10 identifier = "download" name = "下载" url = "/zh/download.html" - weight = 8 + weight = 6 [[languages.zh.menu.main]] identifier = "security" name = "安全" url = "/zh/security.html" - weight = 9 + weight = 7 + +[[languages.zh.menu.main]] + identifier = "join" + name = "加入我们" + url = "/zh/join.html" + weight = 8 [[languages.zh.menu.main]] identifier = "lang" - name = "EN" - url = "/en" - weight = 10 + name = "简体中文" + weight = 9 + hasChidren = true + +[[languages.zh.menu.main]] + identifier = "en" + name = "English" + url = "/en" + weight = 11 + parent = "lang" + +[[languages.zh.menu.main]] + identifier = "zh" + name = "简体中文" + url = "/zh" + weight = 12 + parent = "lang" + + # Top bar social links menu diff --git a/content/zh/docs/community.html b/content/zh/docs/community.html new file mode 100644 index 0000000000000000000000000000000000000000..0706fcb0890200086ed80fecac0e1d571d9b22ef --- /dev/null +++ b/content/zh/docs/community.html @@ -0,0 +1,11 @@ + + + + + + Document + + + hhhh + + \ No newline at end of file diff --git a/data/clients/1.yaml b/data/clients/1.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7bab8e48c9663ea6dacdfb172732081eae1d4bd3 --- /dev/null +++ b/data/clients/1.yaml @@ -0,0 +1 @@ +url: "/img/clients/logo1.png" diff --git a/data/clients/10.yaml b/data/clients/10.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3f04685ed84c786959a4bb9674b72afc1458937a --- /dev/null +++ b/data/clients/10.yaml @@ -0,0 +1 @@ +url: "/img/clients/logo10.png" diff --git a/data/clients/2.yaml b/data/clients/2.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d7b5d88ab13a49410269bc3476db92d7f0863864 --- /dev/null +++ b/data/clients/2.yaml @@ -0,0 +1 @@ +url: "/img/clients/logo2.png" diff --git a/data/clients/3.yaml b/data/clients/3.yaml new file mode 100644 index 0000000000000000000000000000000000000000..a595b5b277367d60ca176de11d19b7685f9ef18a --- /dev/null +++ b/data/clients/3.yaml @@ -0,0 +1 @@ +url: "/img/clients/logo3.png" diff --git a/data/clients/4.yaml b/data/clients/4.yaml new file mode 100644 index 0000000000000000000000000000000000000000..017ebfa97b01278bb40e72254de0dd1d9365ba08 --- /dev/null +++ b/data/clients/4.yaml @@ -0,0 +1 @@ +url: "/img/clients/logo4.png" diff --git a/data/clients/5.yaml b/data/clients/5.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3b03ac6196b0ebac818938f9556102633e5a4f0e --- /dev/null +++ b/data/clients/5.yaml @@ -0,0 +1 @@ +url: "/img/clients/logo5.png" diff --git a/data/clients/6.yaml b/data/clients/6.yaml new file mode 100644 index 0000000000000000000000000000000000000000..ad30683a3f50c54890e2bda42981a0b19096c13a --- /dev/null +++ b/data/clients/6.yaml @@ -0,0 +1 @@ +url: "/img/clients/logo6.png" diff --git a/data/clients/7.yaml b/data/clients/7.yaml new file mode 100644 index 0000000000000000000000000000000000000000..af8fe498c822cbb4958f114d64478877510713eb --- /dev/null +++ b/data/clients/7.yaml @@ -0,0 +1 @@ +url: "/img/clients/logo7.png" diff --git a/data/clients/8.yaml b/data/clients/8.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cda6874d74e0846ed47602836693ebf4f3823666 --- /dev/null +++ b/data/clients/8.yaml @@ -0,0 +1 @@ +url: "/img/clients/logo8.png" diff --git a/data/clients/9.yaml b/data/clients/9.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d115a0033d6b70c70f6625787c9b7738c7c387ff --- /dev/null +++ b/data/clients/9.yaml @@ -0,0 +1 @@ +url: "/img/clients/logo9.png" diff --git a/data/features/1.yaml b/data/features/1.yaml new file mode 100644 index 0000000000000000000000000000000000000000..89d4913c993f6cc23f2e0ccdda7aa8ece73bb8e8 --- /dev/null +++ b/data/features/1.yaml @@ -0,0 +1,5 @@ +weight: 1 +title: "鲲鹏生态" +description: > + "全球首款支持x86和Kunpeng硬件架构的数据库" +image: "svgs/store.svg" diff --git a/data/features/2.yaml b/data/features/2.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6800592b2696fbe69f07cfe3c280f1025e6bc3fa --- /dev/null +++ b/data/features/2.yaml @@ -0,0 +1,5 @@ +weight: 2 +title: "高度兼容" +description: > + "兼容SQL2003标准,高度兼容业界主流商业数据库生态" +image: "svgs/model.svg" \ No newline at end of file diff --git a/data/features/3.yaml b/data/features/3.yaml new file mode 100644 index 0000000000000000000000000000000000000000..d7a76902ab2f06e3393ea8d0750ab2ff59446cfc --- /dev/null +++ b/data/features/3.yaml @@ -0,0 +1,5 @@ +weight: 3 +title: "极致性能" +description: > + "单机百万tpmc,典型配置下sysbench性能数据高出开源数据库30%到50%" +image: "svgs/fun_define.svg" \ No newline at end of file diff --git a/data/features/4.yaml b/data/features/4.yaml new file mode 100644 index 0000000000000000000000000000000000000000..52e6f51260217033b6788c86158947a7cdc5ee61 --- /dev/null +++ b/data/features/4.yaml @@ -0,0 +1,5 @@ +weight: 4 +title: "简单易用" +description: > + "支持丰富的SQL、存储过程、自定义函数,提供丰富的API接口" +image: "svgs/nerve.svg" \ No newline at end of file diff --git a/data/features/5.yaml b/data/features/5.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7909f57aa541300367fc04276d856b1fdfe1789b --- /dev/null +++ b/data/features/5.yaml @@ -0,0 +1,5 @@ +weight: 5 +title: "安全可靠" +description: > + "系统稳定可靠提供单机主备版本。数据误操作秒级闪回恢复,用户权限管理,多维度审计,数据无忧。全自研、安全可信、支持鲲鹏优化" +image: "svgs/sec.svg" \ No newline at end of file diff --git a/data/features/6.yaml b/data/features/6.yaml new file mode 100644 index 0000000000000000000000000000000000000000..163af83ffd81ddc28be01b94b6b4b57573017087 --- /dev/null +++ b/data/features/6.yaml @@ -0,0 +1,5 @@ +weight: 6 +title: "MulanPSL" +description: > + "采用协议“木兰宽松许可证”(MulanPSL)" +image: "svgs/shape.svg" \ No newline at end of file diff --git a/data/partners/1.yaml b/data/partners/1.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bfd70597e098159590b5ccd26d18abfd834f6f00 --- /dev/null +++ b/data/partners/1.yaml @@ -0,0 +1 @@ +image: "/img/partners/beijing.png" \ No newline at end of file diff --git a/data/partners/2.yaml b/data/partners/2.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bfd70597e098159590b5ccd26d18abfd834f6f00 --- /dev/null +++ b/data/partners/2.yaml @@ -0,0 +1 @@ +image: "/img/partners/beijing.png" \ No newline at end of file diff --git a/data/partners/3.yaml b/data/partners/3.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bfd70597e098159590b5ccd26d18abfd834f6f00 --- /dev/null +++ b/data/partners/3.yaml @@ -0,0 +1 @@ +image: "/img/partners/beijing.png" \ No newline at end of file diff --git a/data/partners/4.yaml b/data/partners/4.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bfd70597e098159590b5ccd26d18abfd834f6f00 --- /dev/null +++ b/data/partners/4.yaml @@ -0,0 +1 @@ +image: "/img/partners/beijing.png" \ No newline at end of file diff --git a/data/partners/5.yaml b/data/partners/5.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bfd70597e098159590b5ccd26d18abfd834f6f00 --- /dev/null +++ b/data/partners/5.yaml @@ -0,0 +1 @@ +image: "/img/partners/beijing.png" \ No newline at end of file diff --git a/data/partners/6.yaml b/data/partners/6.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bfd70597e098159590b5ccd26d18abfd834f6f00 --- /dev/null +++ b/data/partners/6.yaml @@ -0,0 +1 @@ +image: "/img/partners/beijing.png" \ No newline at end of file diff --git a/data/partners/7.yaml b/data/partners/7.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bfd70597e098159590b5ccd26d18abfd834f6f00 --- /dev/null +++ b/data/partners/7.yaml @@ -0,0 +1 @@ +image: "/img/partners/beijing.png" \ No newline at end of file diff --git a/data/partners/8.yaml b/data/partners/8.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bfd70597e098159590b5ccd26d18abfd834f6f00 --- /dev/null +++ b/data/partners/8.yaml @@ -0,0 +1 @@ +image: "/img/partners/beijing.png" \ No newline at end of file diff --git a/data/swipers/1.yaml b/data/swipers/1.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c4e308ea7f61adf50cecbb6b5976b93577836fd0 --- /dev/null +++ b/data/swipers/1.yaml @@ -0,0 +1,4 @@ +slide: + - {name: AI大数据,time: 2019.09.01,content: 献度的统计数据包括代码提交、创建任务 / Pull Request、合并 Pull Request,其中代码提交的次数需本地配置的 git 邮箱是码云帐号已确认绑定的才会被统计} + - {name: CDN内容加速,time: 2019.09.01,content: 献度的统计数据包括代码提交、创建任务 / Pull Request、合并 Pull Request,其中代码提交的次数需本地配置的 git 邮箱是码云帐号已确认绑定的才会被统计} + - {name: 兼容Oracle的开源企业级数据库,time: 2019.09.01,content: 献度的统计数据包括代码提交、创建任务 / Pull Request、合并 Pull Request,其中代码提交的次数需本地配置的 git 邮箱是码云帐号已确认绑定的才会被统计} \ No newline at end of file diff --git a/data/swipers/2.yaml b/data/swipers/2.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c4e308ea7f61adf50cecbb6b5976b93577836fd0 --- /dev/null +++ b/data/swipers/2.yaml @@ -0,0 +1,4 @@ +slide: + - {name: AI大数据,time: 2019.09.01,content: 献度的统计数据包括代码提交、创建任务 / Pull Request、合并 Pull Request,其中代码提交的次数需本地配置的 git 邮箱是码云帐号已确认绑定的才会被统计} + - {name: CDN内容加速,time: 2019.09.01,content: 献度的统计数据包括代码提交、创建任务 / Pull Request、合并 Pull Request,其中代码提交的次数需本地配置的 git 邮箱是码云帐号已确认绑定的才会被统计} + - {name: 兼容Oracle的开源企业级数据库,time: 2019.09.01,content: 献度的统计数据包括代码提交、创建任务 / Pull Request、合并 Pull Request,其中代码提交的次数需本地配置的 git 邮箱是码云帐号已确认绑定的才会被统计} \ No newline at end of file diff --git a/data/swipers/3.yaml b/data/swipers/3.yaml new file mode 100644 index 0000000000000000000000000000000000000000..c4e308ea7f61adf50cecbb6b5976b93577836fd0 --- /dev/null +++ b/data/swipers/3.yaml @@ -0,0 +1,4 @@ +slide: + - {name: AI大数据,time: 2019.09.01,content: 献度的统计数据包括代码提交、创建任务 / Pull Request、合并 Pull Request,其中代码提交的次数需本地配置的 git 邮箱是码云帐号已确认绑定的才会被统计} + - {name: CDN内容加速,time: 2019.09.01,content: 献度的统计数据包括代码提交、创建任务 / Pull Request、合并 Pull Request,其中代码提交的次数需本地配置的 git 邮箱是码云帐号已确认绑定的才会被统计} + - {name: 兼容Oracle的开源企业级数据库,time: 2019.09.01,content: 献度的统计数据包括代码提交、创建任务 / Pull Request、合并 Pull Request,其中代码提交的次数需本地配置的 git 邮箱是码云帐号已确认绑定的才会被统计} \ No newline at end of file diff --git a/static/img/clients/logo.png b/static/img/clients/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..9a6f56e47c11f296fb6c964bb774a559230d49c7 Binary files /dev/null and b/static/img/clients/logo.png differ diff --git a/static/img/clients/logo1.png b/static/img/clients/logo1.png new file mode 100644 index 0000000000000000000000000000000000000000..fe44a29f08e10999b247991118ac0db71a0e5425 Binary files /dev/null and b/static/img/clients/logo1.png differ diff --git a/static/img/clients/logo10.png b/static/img/clients/logo10.png new file mode 100644 index 0000000000000000000000000000000000000000..7bde11150b51a18f346c2d0531c2bff9f9d43785 Binary files /dev/null and b/static/img/clients/logo10.png differ diff --git a/static/img/clients/logo2.png b/static/img/clients/logo2.png new file mode 100644 index 0000000000000000000000000000000000000000..baffcf6bdce5d5b2251cf7390d5655de9e3bd0ff Binary files /dev/null and b/static/img/clients/logo2.png differ diff --git a/static/img/clients/logo3.png b/static/img/clients/logo3.png new file mode 100644 index 0000000000000000000000000000000000000000..97ddc8580e064aa9379c099b4a3d954e90e4f68d Binary files /dev/null and b/static/img/clients/logo3.png differ diff --git a/static/img/clients/logo4.png b/static/img/clients/logo4.png new file mode 100644 index 0000000000000000000000000000000000000000..ea55beb1bed984d2b7d6a360624af22c827de127 Binary files /dev/null and b/static/img/clients/logo4.png differ diff --git a/static/img/clients/logo5.png b/static/img/clients/logo5.png new file mode 100644 index 0000000000000000000000000000000000000000..cbb62134e3aa81bb82a60f605c876224dac39074 Binary files /dev/null and b/static/img/clients/logo5.png differ diff --git a/static/img/clients/logo6.png b/static/img/clients/logo6.png new file mode 100644 index 0000000000000000000000000000000000000000..547914bcdf7a19d52624cd52bca6166d5739edef Binary files /dev/null and b/static/img/clients/logo6.png differ diff --git a/static/img/clients/logo7.png b/static/img/clients/logo7.png new file mode 100644 index 0000000000000000000000000000000000000000..be718a43a7c9b5e2917b6f15bf7f905556ce9d1d Binary files /dev/null and b/static/img/clients/logo7.png differ diff --git a/static/img/clients/logo8.png b/static/img/clients/logo8.png new file mode 100644 index 0000000000000000000000000000000000000000..15e034a6af47f0e974dac7e9d82f3098468e0bcd Binary files /dev/null and b/static/img/clients/logo8.png differ diff --git a/static/img/clients/logo9.png b/static/img/clients/logo9.png new file mode 100644 index 0000000000000000000000000000000000000000..27c1caa210e699587ced4bc4b00706d76c3aff14 Binary files /dev/null and b/static/img/clients/logo9.png differ diff --git a/static/img/features/fun_define.svg b/static/img/features/fun_define.svg new file mode 100644 index 0000000000000000000000000000000000000000..d46e119db84fa01b087528096ad1e05f23cc6eb9 --- /dev/null +++ b/static/img/features/fun_define.svg @@ -0,0 +1,15 @@ + + + + 功能定义 + Created with Sketch. + + + + + + + + + + \ No newline at end of file diff --git a/static/img/features/model.svg b/static/img/features/model.svg new file mode 100644 index 0000000000000000000000000000000000000000..990c6ad470c13ddab0a69df7bb745d5de6c946b0 --- /dev/null +++ b/static/img/features/model.svg @@ -0,0 +1,15 @@ + + + + 物模型 + Created with Sketch. + + + + + + + + + + \ No newline at end of file diff --git a/static/img/features/nerve.svg b/static/img/features/nerve.svg new file mode 100644 index 0000000000000000000000000000000000000000..543649f07409ccf39d59958b921b6b48cf32f2c3 --- /dev/null +++ b/static/img/features/nerve.svg @@ -0,0 +1,15 @@ + + + + 神经 + Created with Sketch. + + + + + + + + + + \ No newline at end of file diff --git a/static/img/features/sec.svg b/static/img/features/sec.svg new file mode 100644 index 0000000000000000000000000000000000000000..9d71cda076671303ffe34702987ac6cbfea9371d --- /dev/null +++ b/static/img/features/sec.svg @@ -0,0 +1,16 @@ + + + + 安全 + Created with Sketch. + + + + + + + + + + + \ No newline at end of file diff --git a/static/img/features/shape.svg b/static/img/features/shape.svg new file mode 100644 index 0000000000000000000000000000000000000000..5a86f56825cee6a96ad95715d089c4f659baf3a1 --- /dev/null +++ b/static/img/features/shape.svg @@ -0,0 +1,13 @@ + + + + 形状结合 + Created with Sketch. + + + + + + + + \ No newline at end of file diff --git a/static/img/features/store.svg b/static/img/features/store.svg new file mode 100644 index 0000000000000000000000000000000000000000..7baf1be50cdb5af138c5465287f46785de4fa7af --- /dev/null +++ b/static/img/features/store.svg @@ -0,0 +1,15 @@ + + + + 储存 + Created with Sketch. + + + + + + + + + + \ No newline at end of file diff --git a/static/img/partners/beijing.png b/static/img/partners/beijing.png new file mode 100644 index 0000000000000000000000000000000000000000..b62e37cc7726e1ee65e30915a1baf280d7fb5c06 Binary files /dev/null and b/static/img/partners/beijing.png differ diff --git a/themes/project/layouts/index.html b/themes/project/layouts/index.html index e7160887ed2ca003cf4a8268cc584fee3d64fec7..13cc3a7c2601978122205390d988382427700027 100644 --- a/themes/project/layouts/index.html +++ b/themes/project/layouts/index.html @@ -9,14 +9,16 @@
- {{ partial "top.html" . }} - {{ partial "nav.html" . }}
{{ partial "banner.html" . }} + {{ partial "feature_case_client.html" . }} + + {{ partial "partner.html" . }} + {{ partial "footer.html" . }} diff --git a/themes/project/layouts/partials/banner.html b/themes/project/layouts/partials/banner.html index f2c253f08d279550ec5c2f35d4b6acd672d45228..93d314053116bd8d3049e31a6fac2644cbf3eb3e 100644 --- a/themes/project/layouts/partials/banner.html +++ b/themes/project/layouts/partials/banner.html @@ -1,3 +1,15 @@ -
- -
\ No newline at end of file + diff --git a/themes/project/layouts/partials/feature_case_client.html b/themes/project/layouts/partials/feature_case_client.html new file mode 100644 index 0000000000000000000000000000000000000000..ca1a95c04dacd46481df5ec3e18c874baa2f0c53 --- /dev/null +++ b/themes/project/layouts/partials/feature_case_client.html @@ -0,0 +1,72 @@ +
+ +
+
+

特性

+

关于openGauss独特功能介绍

+
+
+
    + {{ range .Site.Data.features }} +
  • +
    +
    + + {{ partial .image }} +

    {{ .title }}

    +
    +

    {{ .description }}

    +
    +
  • + {{ end }} +
+
+
+ + +
+
+

成功案例

+

更多 >

+
+ + +
+
+ {{ range .Site.Data.swipers }} +
+ {{ range $elm := .slide }} +
+
+
+

{{ $elm.name }}

+

{{ $elm.time }}

+

{{ $elm.content }}

+
+
+
+ {{ end }} +
+ {{ end }} +
+ +
+ +
+
+ + +
+
+

合作伙伴

+
+
+
    + {{ range .Site.Data.clients }} +
  • + {{ end }} +
+
+
+ +
\ No newline at end of file diff --git a/themes/project/layouts/partials/head.html b/themes/project/layouts/partials/head.html index baac5aa841c092f4622bf6b04d55fa4be0a414cd..30a91ca6ec78012dead03522caaad2fd3a042743 100644 --- a/themes/project/layouts/partials/head.html +++ b/themes/project/layouts/partials/head.html @@ -39,6 +39,8 @@ + + {{ ` diff --git a/themes/project/layouts/partials/nav.html b/themes/project/layouts/partials/nav.html index 62a9208b9c40859ffd7325842f92be458531a860..ca0be781cc72948ce465903870a6695fa404a4d9 100644 --- a/themes/project/layouts/partials/nav.html +++ b/themes/project/layouts/partials/nav.html @@ -42,7 +42,7 @@ {{ end }} {{ end }} - + @@ -50,7 +50,6 @@