From 1aef00a8e11f02a728135864b9d103b7ec8b1877 Mon Sep 17 00:00:00 2001 From: Chojan Shang Date: Fri, 28 Apr 2023 20:30:50 +0800 Subject: [PATCH 1/4] docs(website): try to add opendal logo Signed-off-by: Chojan Shang --- website/docusaurus.config.js | 9 ++++++++- website/static/img/logo.svg | 1 + website/static/img/logo_dark.svg | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 website/static/img/logo.svg create mode 100644 website/static/img/logo_dark.svg diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 680abdb2d501..f2ee7835a8f0 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -84,7 +84,14 @@ const config = { disableSwitch: true }, navbar: { - title: 'OpenDAL (incubating)', + logo: { + alt: 'Apache OpenDAL Logo', + src: 'img/logo.svg', + srcDark: 'img/logo_dark.svg', + href: 'https://opendal.apache.org/', + target: '_self', + height: 32, + }, items: [ { position: 'right', diff --git a/website/static/img/logo.svg b/website/static/img/logo.svg new file mode 100644 index 000000000000..9bc8cf68248b --- /dev/null +++ b/website/static/img/logo.svg @@ -0,0 +1 @@ +OpenDAL Logo \ No newline at end of file diff --git a/website/static/img/logo_dark.svg b/website/static/img/logo_dark.svg new file mode 100644 index 000000000000..4ec50be10d97 --- /dev/null +++ b/website/static/img/logo_dark.svg @@ -0,0 +1 @@ +OpenDAL Logo-反白 \ No newline at end of file From 5fb635ea9c61e6b29a487e605bc0ea5f4dad6455 Mon Sep 17 00:00:00 2001 From: Chojan Shang Date: Fri, 28 Apr 2023 21:14:29 +0800 Subject: [PATCH 2/4] docs(website): update logo alt Co-authored-by: Suyan --- website/docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index f2ee7835a8f0..e50f4f4615f6 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -85,7 +85,7 @@ const config = { }, navbar: { logo: { - alt: 'Apache OpenDAL Logo', + alt: 'Apache OpenDAL(incubating)', src: 'img/logo.svg', srcDark: 'img/logo_dark.svg', href: 'https://opendal.apache.org/', From 2f90191f87f620320f7a6e5c81c8b20d1e697bb7 Mon Sep 17 00:00:00 2001 From: Chojan Shang Date: Fri, 28 Apr 2023 21:27:59 +0800 Subject: [PATCH 3/4] docs(readme): add logo Signed-off-by: Chojan Shang --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 56c61687ca5b..b71356fc8470 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -# OpenDAL   [![Build Status]][actions] [![chat]][discord] + + + Apache OpenDAL(incubating) + + +[![Build Status]][actions] [![chat]][discord] [build status]: https://img.shields.io/github/actions/workflow/status/apache/incubator-opendal/ci.yml?branch=main [actions]: https://github.com/apache/incubator-opendal/actions?query=branch%3Amain From 3ae0a8dc72c8e51a9616ebeaf85b946e3efaf0f1 Mon Sep 17 00:00:00 2001 From: Chojan Shang Date: Sat, 29 Apr 2023 15:39:44 +0800 Subject: [PATCH 4/4] docs(readme): set logo width to 300px --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b71356fc8470..74a48fc41856 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ - Apache OpenDAL(incubating) + Apache OpenDAL(incubating) [![Build Status]][actions] [![chat]][discord]