From 412c52336ce18ef1c360197ef0165f18e2c722b4 Mon Sep 17 00:00:00 2001 From: ctbinh Date: Wed, 24 Apr 2024 14:59:25 +0700 Subject: [PATCH 1/2] feat(members): init members page --- docusaurus.config.ts | 6 +++++- members/2019-05-27-members.md | 12 ++++++++++++ members/2019-05-28-members.md | 12 ++++++++++++ members/2019-05-29-members.md | 12 ++++++++++++ members/2019-05-30-members.md | 12 ++++++++++++ members/authors.yml | 17 +++++++++++++++++ src/css/custom.css | 2 +- 7 files changed, 71 insertions(+), 2 deletions(-) create mode 100644 members/2019-05-27-members.md create mode 100644 members/2019-05-28-members.md create mode 100644 members/2019-05-29-members.md create mode 100644 members/2019-05-30-members.md create mode 100644 members/authors.yml diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 713d851..487fc46 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -58,7 +58,11 @@ const config: Config = { "https://github.com/zuni-lab/zuni-lab.github.io/tree/main/projects", }, blog: { + path: 'members', + pageBasePath: 'members', + routeBasePath: 'members', showReadingTime: true, + postsPerPage: 'ALL', // Please change this to your repo. // Remove this to remove the "edit this page" links. editUrl: @@ -90,7 +94,7 @@ const config: Config = { position: "left", label: "Projects", }, - { to: "/blog", label: "Blog", position: "left" }, + { to: '/members', label: 'Members', position: 'left' }, { href: "https://github.com/facebook/docusaurus", label: "GitHub", diff --git a/members/2019-05-27-members.md b/members/2019-05-27-members.md new file mode 100644 index 0000000..dc912ff --- /dev/null +++ b/members/2019-05-27-members.md @@ -0,0 +1,12 @@ +--- +slug: members +title: Members +authors: + name: Gao Wei + title: Docusaurus Core Team + url: https://github.com/wgao19 + image_url: https://github.com/wgao19.png +tags: [hola, docusaurus] +--- + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet diff --git a/members/2019-05-28-members.md b/members/2019-05-28-members.md new file mode 100644 index 0000000..dc912ff --- /dev/null +++ b/members/2019-05-28-members.md @@ -0,0 +1,12 @@ +--- +slug: members +title: Members +authors: + name: Gao Wei + title: Docusaurus Core Team + url: https://github.com/wgao19 + image_url: https://github.com/wgao19.png +tags: [hola, docusaurus] +--- + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet diff --git a/members/2019-05-29-members.md b/members/2019-05-29-members.md new file mode 100644 index 0000000..dc912ff --- /dev/null +++ b/members/2019-05-29-members.md @@ -0,0 +1,12 @@ +--- +slug: members +title: Members +authors: + name: Gao Wei + title: Docusaurus Core Team + url: https://github.com/wgao19 + image_url: https://github.com/wgao19.png +tags: [hola, docusaurus] +--- + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet diff --git a/members/2019-05-30-members.md b/members/2019-05-30-members.md new file mode 100644 index 0000000..dc912ff --- /dev/null +++ b/members/2019-05-30-members.md @@ -0,0 +1,12 @@ +--- +slug: members +title: Members +authors: + name: Gao Wei + title: Docusaurus Core Team + url: https://github.com/wgao19 + image_url: https://github.com/wgao19.png +tags: [hola, docusaurus] +--- + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet diff --git a/members/authors.yml b/members/authors.yml new file mode 100644 index 0000000..bcb2991 --- /dev/null +++ b/members/authors.yml @@ -0,0 +1,17 @@ +endi: + name: Endilie Yacop Sucipto + title: Maintainer of Docusaurus + url: https://github.com/endiliey + image_url: https://github.com/endiliey.png + +yangshun: + name: Yangshun Tay + title: Front End Engineer @ Facebook + url: https://github.com/yangshun + image_url: https://github.com/yangshun.png + +slorber: + name: Sébastien Lorber + title: Docusaurus maintainer + url: https://sebastienlorber.com + image_url: https://github.com/slorber.png diff --git a/src/css/custom.css b/src/css/custom.css index 4cc317b..be28995 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -50,4 +50,4 @@ background-image: url(/static/img/background/footer.png); background-size: cover; background-repeat: no-repeat; -} \ No newline at end of file +} From 32f17d2b34b0a355abb820c44d460b3932ac390c Mon Sep 17 00:00:00 2001 From: ctbinh Date: Wed, 24 Apr 2024 16:48:12 +0700 Subject: [PATCH 2/2] feat(members): update members page --- docusaurus.config.ts | 1 + members/2019-05-27-members.md | 12 ------------ members/2019-05-28-members.md | 12 ------------ members/2019-05-29-members.md | 4 ++-- members/2019-05-30-members.md | 4 ++-- 5 files changed, 5 insertions(+), 28 deletions(-) delete mode 100644 members/2019-05-27-members.md delete mode 100644 members/2019-05-28-members.md diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 487fc46..5a55dee 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -63,6 +63,7 @@ const config: Config = { routeBasePath: 'members', showReadingTime: true, postsPerPage: 'ALL', + blogSidebarTitle: 'Members', // Please change this to your repo. // Remove this to remove the "edit this page" links. editUrl: diff --git a/members/2019-05-27-members.md b/members/2019-05-27-members.md deleted file mode 100644 index dc912ff..0000000 --- a/members/2019-05-27-members.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -slug: members -title: Members -authors: - name: Gao Wei - title: Docusaurus Core Team - url: https://github.com/wgao19 - image_url: https://github.com/wgao19.png -tags: [hola, docusaurus] ---- - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet diff --git a/members/2019-05-28-members.md b/members/2019-05-28-members.md deleted file mode 100644 index dc912ff..0000000 --- a/members/2019-05-28-members.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -slug: members -title: Members -authors: - name: Gao Wei - title: Docusaurus Core Team - url: https://github.com/wgao19 - image_url: https://github.com/wgao19.png -tags: [hola, docusaurus] ---- - -Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet diff --git a/members/2019-05-29-members.md b/members/2019-05-29-members.md index dc912ff..139e24d 100644 --- a/members/2019-05-29-members.md +++ b/members/2019-05-29-members.md @@ -1,6 +1,6 @@ --- -slug: members -title: Members +slug: mia +title: Mia authors: name: Gao Wei title: Docusaurus Core Team diff --git a/members/2019-05-30-members.md b/members/2019-05-30-members.md index dc912ff..6270c09 100644 --- a/members/2019-05-30-members.md +++ b/members/2019-05-30-members.md @@ -1,6 +1,6 @@ --- -slug: members -title: Members +slug: david +title: David authors: name: Gao Wei title: Docusaurus Core Team