You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@incubator.apache.org by jm...@apache.org on 2022/09/20 08:00:53 UTC
[incubator] 27/46: fix(website): Tried fixing the ApacheCon Event link.
This is an automated email from the ASF dual-hosted git repository.
jmclean pushed a commit to branch ApacheConSlides
in repository https://gitbox.apache.org/repos/asf/incubator.git
commit 4d36cf8c5097f4d2e6a047f4680089f91d430c14
Author: cdutz <ch...@c-ware.de>
AuthorDate: Wed Apr 6 11:47:02 2022 +0200
fix(website): Tried fixing the ApacheCon Event link.
---
site/src/site/site.xml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/site/src/site/site.xml b/site/src/site/site.xml
index 92e6f1e3..3a28fab8 100644
--- a/site/src/site/site.xml
+++ b/site/src/site/site.xml
@@ -88,9 +88,13 @@
<!-- Use JQuery to manipulate the final output of the page, which is a lot simpler than adjusting the templates for site generation. -->
<![CDATA[
<script>
+ var apache_events_script = document.createElement('script');
+ apache_events_script.setAttribute('src','https://www.apachecon.com/event-images/snippet.js');
+ document.head.appendChild(apache_events_script);
+
document.addEventListener("DOMContentLoaded", function(event) {
/* Add an image for promoting Apache events below the right banner */
- $("#bannerRight").append('<p id="apacheEvents"><a href="//www.apache.org/events/current-event.html"><img src="//www.apache.org/events/current-event-234x60.png"/></a></p>');
+ $("#bannerRight").append('<a class="acevent" data-format="wide" data-mode="light" data-event="random" style="width:240px;height:60px;"></a>');
/* Append the trademarks info to the copyright section */
$(".copyright").append('<p>Apache Training, Apache, the Apache feather logo, and the Apache Training project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries. All other marks mentioned may be trademarks or registered trademarks of their respective owners.</p>');
});
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org