This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-pekko-sbt-paradox.git
The following commit(s) were added to refs/heads/main by this push:
new 3df3394 add incubator logo and link (#52)
3df3394 is described below
commit 3df33944cae6ff603dcbd99cd0ca823b5e7b7d03
Author: PJ Fanning <[email protected]>
AuthorDate: Tue Apr 18 10:59:07 2023 +0200
add incubator logo and link (#52)
* add incubator logo and link
* Update pekko-theme.css
---
.../src/main/scala/org/apache/pekko/PekkoParadoxPlugin.scala | 2 +-
theme/src/main/assets/assets/images/apache-incubator.svg | 1 +
theme/src/main/assets/assets/stylesheets/pekko-theme.css | 9 +++++++++
theme/src/main/assets/partials/footer.st | 10 ++++++++++
4 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/plugin/src/main/scala/org/apache/pekko/PekkoParadoxPlugin.scala
b/plugin/src/main/scala/org/apache/pekko/PekkoParadoxPlugin.scala
index e115fdb..971613d 100644
--- a/plugin/src/main/scala/org/apache/pekko/PekkoParadoxPlugin.scala
+++ b/plugin/src/main/scala/org/apache/pekko/PekkoParadoxPlugin.scala
@@ -30,7 +30,7 @@ object PekkoParadoxPlugin extends AutoPlugin {
paradoxTheme := Some("org.apache.pekko" % "pekko-theme-paradox" % version),
paradoxNavigationIncludeHeaders := true,
pekkoParadoxCopyright in Global :=
- """Copyright © 2011-2022 <a href="https://www.lightbend.com/">Lightbend,
Inc.</a>.
+ """Copyright © 2011-2022 <a href="https://www.lightbend.com/">Lightbend,
Inc</a>.
| Apache Pekko, Pekko, and its feather logo are trademarks of The
Apache Software Foundation.""".stripMargin,
pekkoParadoxGithub in Global := None,
Compile / paradoxMaterialTheme := {
diff --git a/theme/src/main/assets/assets/images/apache-incubator.svg
b/theme/src/main/assets/assets/images/apache-incubator.svg
new file mode 100644
index 0000000..1b4c364
--- /dev/null
+++ b/theme/src/main/assets/assets/images/apache-incubator.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 473.26
110.22"><defs><style>.cls-1,.cls-2{fill:#fff;}.cls-1{fill-rule:evenodd;}</style></defs><g
id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer
1"><polygon class="cls-1" points="445.81 13.29 467.03 13.29 467.03 15.29 448.03
15.29 448.03 27.09 465.11 27.09 465.11 29.09 448.03 29.09 448.03 41.1 467.24
41.1 467.24 43.11 445.81 43.11 445.81 13.29"/><polygon class="cls-1"
points="377.65 13.29 379.86 13.29 379.86 27.13 3 [...]
\ No newline at end of file
diff --git a/theme/src/main/assets/assets/stylesheets/pekko-theme.css
b/theme/src/main/assets/assets/stylesheets/pekko-theme.css
index 813a6c5..bdc9042 100644
--- a/theme/src/main/assets/assets/stylesheets/pekko-theme.css
+++ b/theme/src/main/assets/assets/stylesheets/pekko-theme.css
@@ -12,3 +12,12 @@ ul.md-nav__links li {
ul.md-nav__links li a {
display: inline;
}
+
+#incubator__logo {
+ float: left;
+ margin-right:40px;
+ margin-top:0;
+ max-width:inherit;
+ padding:10px;
+ width:380px
+}
diff --git a/theme/src/main/assets/partials/footer.st
b/theme/src/main/assets/partials/footer.st
index 70f80a7..0ad8c08 100644
--- a/theme/src/main/assets/partials/footer.st
+++ b/theme/src/main/assets/partials/footer.st
@@ -61,6 +61,16 @@ $!
$endif$
<div class="md-footer-meta md-typeset">
<div class="md-footer-meta__inner md-grid">
+ <div>
+ <a href="https://incubator.apache.org/" one-link-mark="yes">
+ <img src="assets/images/apache-incubator.svg" alt="Apache Incubator
logo" id="incubator__logo">
+ </a>
+ </div>
+ <div>
+ <p style="font-family: Avenir-Medium;font-size: 14px;color:
#999;line-height: 25px;">
+ Apache Pekko is an effort undergoing incubation at The Apache
Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is
required of all newly accepted projects until a further review indicates that
the infrastructure, communications, and decision making process have stabilized
in a manner consistent with other successful ASF projects. While incubation
status is not necessarily a reflection of the completeness or stability of the
code, it does indicate that the [...]
+ </p>
+ </div>
<div class="md-footer-copyright">
$ if (page.properties.("material.copyright")) $
<div class="md-footer-copyright__highlight">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]