From fb5e4beb20fde8ddedaf9439baa14b7681f7d61c Mon Sep 17 00:00:00 2001 From: xiaolou86 <20718693+xiaolou86@users.noreply.github.com> Date: Wed, 22 May 2024 15:19:13 +0800 Subject: [PATCH 1/5] feat: adding contributors --- src/partials/article.hbs | 1 + src/partials/contributors.hbs | 168 ++++++++++++++++++++++++++++++++++ 2 files changed, 169 insertions(+) create mode 100644 src/partials/contributors.hbs diff --git a/src/partials/article.hbs b/src/partials/article.hbs index 07cf818..648c870 100644 --- a/src/partials/article.hbs +++ b/src/partials/article.hbs @@ -5,6 +5,7 @@ {{#with page.title}}

{{{this}}}

{{/with}} +{{> contributors}} {{{page.contents}}} {{/if}} {{> pagination}} diff --git a/src/partials/contributors.hbs b/src/partials/contributors.hbs new file mode 100644 index 0000000..af2d837 --- /dev/null +++ b/src/partials/contributors.hbs @@ -0,0 +1,168 @@ + + +
+
+
+ Last edit +
+
+ +
+
+
+ +
+
+

Contributors

+
+ +
+ + + From 79284390ed8e56065d2932657810468c5492681c Mon Sep 17 00:00:00 2001 From: xiaolou86 <20718693+xiaolou86@users.noreply.github.com> Date: Thu, 23 May 2024 17:14:02 +0800 Subject: [PATCH 2/5] Update build/ui-bundle.zip for adding contributors --- build/ui-bundle.zip | Bin 2544057 -> 2545754 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/build/ui-bundle.zip b/build/ui-bundle.zip index f20beaab7d30479e86ec0e63287a482a867deda7..3cf07583901cea36efc39deab93f099841b0ffb9 100644 GIT binary patch delta 8039 zcmZt~30zFu`_8oQCG9h9GxwG@tti?>mKG8zR8-26l%*$(>7i^X(IE*ndeWwKv@fVg zDMZDS?V*%4JX`(G+;(fG!0^rT$ ziVhl?GO9qQ6q8Mec9Z2tyUAU&Ar;2S@wMaR6Ksjk+%oxu+%g4zZkghrq|$@EiU|jM zmG}pHC-GbfE=#6zf+ce@-;${^YDA!{-Bl8--BtP4?rJ_{B!||iB^+9(&OfwHLzEOu zEzn3vEzsnr7HDmu5rQ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Ygz~Ie_=Z6E32wGWMORoi-fzNHEQg5?}0kwWrUCzDj4jV0>netL#$ufSWc zLi`ABUCpb3q%GMFd7*=O_B;l??HBmgRTM(GYJYwp3?XrXgGIjI9_+-S*O0q?8CS+7 Lh!Cf}2vqzZ#k{_Y From ffcf2fa59687b2f09a21276dce8f9501b4a8746c Mon Sep 17 00:00:00 2001 From: xiaolou86 <20718693+xiaolou86@users.noreply.github.com> Date: Tue, 28 May 2024 17:12:14 +0800 Subject: [PATCH 3/5] Modify some css for contributors.hbs --- src/partials/contributors.hbs | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/src/partials/contributors.hbs b/src/partials/contributors.hbs index af2d837..8abd7a2 100644 --- a/src/partials/contributors.hbs +++ b/src/partials/contributors.hbs @@ -11,6 +11,9 @@ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .last-edit, .contributors { + font-family: Inter, sans-serif; + font-size: .83333rem; + color: #6b7280; display: flex; align-items: center; } @@ -24,6 +27,7 @@ } .contributors { margin-left: 10px; + border-radius: 0.5rem; } .contributors-dialog { display: none; @@ -33,6 +37,7 @@ transform: translate(-50%, -50%); background: white; border: 1px solid #ccc; + border-radius: 0.5rem; padding: 20px; z-index: 1000; max-height: 80vh; @@ -46,6 +51,16 @@ overflow-y: auto; padding-right: 10px; } + .contributor-item { + display: flex; + align-items: center; + justify-content: flex-start; + margin-bottom: 10px; + } + .contributor-item img { + margin-right: 10px; + vertical-align: middle; + } .dialog-overlay { display: none; position: fixed; @@ -59,6 +74,9 @@ .dialog-overlay.active { display: block; } + .contributors-button { + border-radius: 0.5rem; + }
@@ -67,7 +85,7 @@ Last edit
- +
@@ -76,7 +94,7 @@

Contributors

- +