This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 9c23ffa525 changes from user feedback
new a151d173ec Merge pull request #53 from Paul-TT/paul-tt-website-new
9c23ffa525 is described below
commit 9c23ffa52571b4437a5943caa64ece102589aef7
Author: Paul Thomas Au <[email protected]>
AuthorDate: Tue Apr 19 09:27:33 2022 -0700
changes from user feedback
---
site2/website-next/src/css/custom.css | 76 ++++++++++++++++++++++++----
site2/website-next/src/pages/community.js | 16 ++++--
site2/website-next/static/img/github-bg.png | Bin 0 -> 5925 bytes
3 files changed, 78 insertions(+), 14 deletions(-)
diff --git a/site2/website-next/src/css/custom.css
b/site2/website-next/src/css/custom.css
index 6965a6dfba..31d89a1581 100644
--- a/site2/website-next/src/css/custom.css
+++ b/site2/website-next/src/css/custom.css
@@ -190,10 +190,10 @@ html[data-theme="dark"] .navbar-sidebar {
.dropdown__link--active {
background-color: transparent;
}
-.github-nav.navbar__link{ color: transparent; font-size: 0px;}
+.github-nav.navbar__link{ color: transparent; font-size: 0px; top: 0;
position: absolute;}
.github-nav::before {content: url('@site/static/img/github-bg.svg');}
.github-nav.navbar__link:hover::before {content:
url('@site/static/img/github-bg-hovered.svg');}
-
+.navbar div[class^="toggle_node_"] {top: 9px; position: absolute; transform:
translateX(-70px);}
.community-dropdown ~ .dropdown__menu .dropdown__link--active,
.dropdown__link.navbar__link--active{color: #1c1e21;}
.navbar__link svg {
display: none;
@@ -201,6 +201,7 @@ html[data-theme="dark"] .navbar-sidebar {
div[class^="searchBox_"] {
position: absolute;
top: 0;
+ transform: translateX(-130px);
}
.DocSearch-Button {
@@ -277,14 +278,66 @@ div[class^="searchBox_"] {
padding-bottom: 24rem;
margin-bottom: 12rem;
}
-.docs-wrapper.docs-doc-page .main-wrapper aside {border: none; z-index: 1;}
-.docs-wrapper.docs-doc-page .main-wrapper aside nav.menu {border-right: 1px
solid var(--ifm-toc-border-color)}
-.docs-doc-page h1,.docs-doc-page .markdown h1:first-child {font-size: 24px;
margin-bottom: 20px;}
-.docs-doc-page h2 {font-size: 20px; margin-top: 0px; margin-bottom: 15px;}
-.docs-doc-page h3 {font-size: 18px;}
-.docs-doc-page h4 {font-size: 16px;}
-.docs-doc-page p {font-size: 14px; line-height: 1.3em;}
-.docs-doc-page .markdown li {font-size: 14px;}
+.docs-wrapper.docs-doc-page .main-wrapper aside {
+ border: none;
+ z-index: 1;
+}
+.docs-wrapper.docs-doc-page .main-wrapper aside nav.menu {
+ border-right: 1px solid var(--ifm-toc-border-color)
+}
+
+.docs-doc-page h1,
+.docs-doc-page .markdown h1:first-child {
+ font-size: 24px;
+ margin-bottom: 20px;
+}
+
+.docs-doc-page h2 {
+ font-size: 20px;
+ margin-top: 0px;
+ margin-bottom: 15px;
+}
+
+.docs-doc-page h3 {
+ font-size: 18px;
+}
+
+.docs-doc-page h4 {
+ font-size: 16px;
+}
+
+.docs-doc-page p {
+ font-size: 15px;
+ line-height: 1.3em;
+}
+
+.docs-doc-page li p {
+ font-size: 14px;
+ line-height: 1.5em;
+ margin-top: 0px;
+ margin-bottom: 10px;
+}
+
+.docs-doc-page .markdown li {
+ font-size: 14px;
+}
+
+.docs-doc-page code {
+ font-size: 14px;
+}
+
+.markdown table td {
+ font-size: 14px;
+}
+
+html[data-theme="dark"] .markdown table td,
+html[data-theme="dark"] .markdown table th {
+ color: #333;
+}
+
+html[data-theme="dark"] .markdown table td code {
+ color: #fff;
+}
.waves-bg:before,.waves-bg:after,.mdx-wrapper.mdx-page .main-wrapper:after {
z-index: 0;
content: '';
@@ -851,10 +904,11 @@ footer .row.footer__links {
display: none;
}
.navbar.navbar--fixed-top {padding-top: 0px;}
- div[class^="searchBox_"] {position: relative; top: auto;}
+ div[class^="searchBox_"] {position: relative; top: auto; transform:
translateX(0px);}
:root {
--ifm-navbar-height : 75px;
}
+ .menu__link.github-nav {font-size: 0px;}
}
@media (max-width: 880px){
diff --git a/site2/website-next/src/pages/community.js
b/site2/website-next/src/pages/community.js
index cb12ccb52d..4ffee36264 100644
--- a/site2/website-next/src/pages/community.js
+++ b/site2/website-next/src/pages/community.js
@@ -213,7 +213,7 @@ export default function Community(props) {
target="_blank"
href="mailto:[email protected]"
>Unsubscribe</PillButton>
- <p><strong>You can access the archive <a
className="secondary-cta"
href="https://lists.apache.org/[email protected]"
target="_blank">here</a>.</strong></p>
+ <p><strong>Access the <a className="secondary-cta"
href="https://lists.apache.org/[email protected]"
target="_blank">User List Archives</a>.</strong></p>
</div>
<div className="discussion-box md:w-1/2 md:pr-2">
<h4>Developer List</h4>
@@ -230,7 +230,7 @@ export default function Community(props) {
href="mailto:[email protected]"
>Unsubscribe</PillButton>
- <p><strong>You can access the archive <a
className="secondary-cta"
href="http://mail-archives.apache.org/mod_mbox/pulsar-dev/">here</a>.</strong></p>
+ <p><strong>Access the <a className="secondary-cta"
href="http://mail-archives.apache.org/mod_mbox/pulsar-dev/">Developer List
Archives</a>.</strong></p>
</div>
</div>
@@ -319,7 +319,17 @@ export default function Community(props) {
</div>
<div className="sm:w-2/3">
<h3>Contributing to the Project</h3>
- <p>Pulsar has many different opportunities for
contributions -- you can write new examples/tutorials, add new user-facing
libraries, write new Pulsar IO connectors, participate in documentation, and
more. Read our <a href={pageUrl('contributing')}
className="secondary-cta">Guide to Contributing</a> and <a
href={pageUrl('coding-guide')} className="secondary-cta">Coding Guide</a> to
get started.</p>
+ <p>Pulsar has many different opportunities for
contributions -- you can write new examples/tutorials, add new user-facing
libraries, write new Pulsar IO connectors, participate in documentation, and
more. </p>
+ <PillButton
+ variant=""
+ target=""
+ href={pageUrl('contributing')}
+ >Contributor Guide</PillButton>
+ <PillButton
+ variant="grey"
+ target=""
+ href={pageUrl('coding-guide')}
+ >Coding Guide</PillButton>
</div>
</div>
<div className="flex flex-col sm:flex-row items-center
py-12">
diff --git a/site2/website-next/static/img/github-bg.png
b/site2/website-next/static/img/github-bg.png
new file mode 100644
index 0000000000..1ce50c8f7b
Binary files /dev/null and b/site2/website-next/static/img/github-bg.png differ