Skip to content
Snippets Groups Projects
Commit a8502c3a authored by Christopher Guindon's avatar Christopher Guindon
Browse files

add comments for ads shortcode


Signed-off-by: Christopher Guindon's avatarChristopher Guindon <chris.guindon@eclipse-foundation.org>
parent 0d81df27
Branches main
No related tags found
1 merge request!15update eclipse.org to match current state
Pipeline #1686 passed with stage
......@@ -18,17 +18,32 @@ links:
- - href: /org/value
- text: Business Value
container: container-fluid
lastmod: '2022-01-06T20:56:34.225Z'
lastmod: '2022-01-07T17:52:46.083Z'
header_wrapper_class: header-anniversary-bg-img featured-jumbotron-bottom-shape
aliases:
- /home
- /home/
- /home/index.php
description: 'The Eclipse Foundation provides our global community of individuals and organizations with a mature, scalable, and business-friendly environment for open source software collaboration and innovation.'
keywords: ["eclipse", "project", "plug-ins", "plugins", "java", "ide", "swt", "refactoring", "free java ide", "tools", "platform", "open source", "development environment", "development", "ide"]
keywords:
- eclipse
- project
- plug-ins
- plugins
- java
- ide
- swt
- refactoring
- free java ide
- tools
- platform
- open source
- development environment
- development
- ide
---
{{< pages/home/ads_top_leaderboard >}}
{{< pages/home/newsroom_ads publishTo="eclipse_org_home" adFormat="ads_top_leaderboard" >}}
{{< grid/section-container class="margin-bottom-30 margin-top-50 news-list" >}}
......@@ -64,7 +79,7 @@ keywords: ["eclipse", "project", "plug-ins", "plugins", "java", "ide", "swt", "r
{{</ grid/div >}}
{{</ grid/section-container >}}
{{< pages/home/ads_leaderboard >}}
{{< pages/home/newsroom_ads publishTo="eclipse_org_home" adFormat="ads_leaderboard" >}}
{{< pages/home/featured-committer-project >}}
......
<!-- @todo: Create a ads shortcode and contribute back to hugo-solstice-theme -->
<div class="eclipsefdn-promo-content text-center margin-bottom-40" data-ad-format="ads_leaderboard" data-ad-publish-to="eclipse_org_home"></div>
\ No newline at end of file
<!-- @todo: Create a ads shortcode and contribute back to hugo-solstice-theme -->
<div class="eclipsefdn-promo-content text-center margin-bottom-40" data-ad-format="ads_top_leaderboard" data-ad-publish-to="eclipse_org_home"></div>
\ No newline at end of file
<!-- Featured Committer and Featured project -->
<div class="featured-committer-project-section container" style="display:none;">
<hr class="brand-primary padding-bottom-10">
<div class="row">
<div class="col-lg-10 col-lg-offset-2 col-md-12 padding-bottom-50 featured-committer-section" style="display:none;">
<div class="block-summary-title">
<i class="fa fa-star fa-3x center-block brand-primary text-center padding-bottom-10" aria-hidden="true"></i>
<h2>Featured Committer</h2>
<div class="featured-committer-project-section row" style="display:none;">
<div class="container">
<div class="row">
<hr class="brand-primary padding-bottom-10">
<div class="col-lg-10 col-lg-offset-2 col-md-12 padding-bottom-50 featured-committer-section"
style="display:none;">
<div class="block-summary-title">
<i class="fa fa-star fa-3x center-block brand-primary text-center padding-bottom-10" aria-hidden="true"></i>
<h2>Featured Committer</h2>
</div>
<div class="news-container my-group" id="commiters-container">
</div>
</div>
<div class="news-container my-group" id="commiters-container">
</div>
</div>
<div class="col-lg-10 col-md-12 padding-bottom-50 featured-project-section" style="display:none;">
<div class="block-summary-title">
<i class="fa fa-rocket fa-3x center-block brand-primary text-center padding-bottom-10" aria-hidden="true"></i>
<h2>Featured Project</h2>
</div>
<div class="news-container my-group" id="projects-container">
<div class="col-lg-10 col-md-12 padding-bottom-50 featured-project-section" style="display:none;">
<div class="block-summary-title">
<i class="fa fa-rocket fa-3x center-block brand-primary text-center padding-bottom-10" aria-hidden="true"></i>
<h2>Featured Project</h2>
</div>
<div class="news-container my-group" id="projects-container">
</div>
</div>
</div>
</div>
......
<div class="featured-stats row">
<div class="container margin-top-20">
<h2 class="margin-bottom-30 margin-top-0">Eclipse Foundation by the Numbers</h2>
<h2 class="margin-bottom-30 margin-top-0">Eclipse Foundation by the Numbers</h2>
<div class="row">
<div class="col-md-8 col-sm-8 col-xs-12">
<div class="row margin-right-0">
<a href="/projects" class="featured-stats-link">
<span class="col-xs-12 featured-stats-icon-container">
<span class="featured-circle featured-circle-stats"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-code"><polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline></svg></span>
<span class="featured-circle featured-circle-stats"><svg xmlns="http://www.w3.org/2000/svg" width="24"
height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="feather feather-code">
<polyline points="16 18 22 12 16 6"></polyline>
<polyline points="8 6 2 12 8 18"></polyline>
</svg></span>
</span>
<span class="col-xs-12 featured-stats-text-container">
<span class="featured-stats-number">415+</span><br>
......@@ -19,13 +24,20 @@
<div class="col-md-8 col-sm-8 col-xs-12">
<div class="row margin-right-0">
<a href="/membership/become_a_member/committer.php" class="featured-stats-link">
<span class="col-xs-12 featured-stats-icon-container">
<span class="featured-circle featured-circle-stats"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-users"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg></span>
</span>
<span class="col-xs-12 featured-stats-text-container">
<span class="featured-stats-number">1750+</span><br>
Committers
</span>
<span class="col-xs-12 featured-stats-icon-container">
<span class="featured-circle featured-circle-stats"><svg xmlns="http://www.w3.org/2000/svg" width="24"
height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="feather feather-users">
<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
<circle cx="9" cy="7" r="4"></circle>
<path d="M23 21v-2a4 4 0 0 0-3-3.87"></path>
<path d="M16 3.13a4 4 0 0 1 0 7.75"></path>
</svg></span>
</span>
<span class="col-xs-12 featured-stats-text-container">
<span class="featured-stats-number">1750+</span><br>
Committers
</span>
</a>
</div>
</div>
......@@ -33,13 +45,20 @@
<div class="col-md-8 col-sm-8 col-xs-12">
<div class="row margin-right-0">
<a href="https://github.com/eclipse" target="_blank" class="featured-stats-link">
<span class="col-xs-12 featured-stats-icon-container">
<span class="featured-circle featured-circle-stats"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-align-justify"><line x1="21" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="21" y1="18" x2="3" y2="18"></line></svg></span>
</span>
<span class="col-xs-12 featured-stats-text-container">
<span class="featured-stats-number">332M+</span><br>
Lines of code
</span>
<span class="col-xs-12 featured-stats-icon-container">
<span class="featured-circle featured-circle-stats"><svg xmlns="http://www.w3.org/2000/svg" width="24"
height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="feather feather-align-justify">
<line x1="21" y1="10" x2="3" y2="10"></line>
<line x1="21" y1="6" x2="3" y2="6"></line>
<line x1="21" y1="14" x2="3" y2="14"></line>
<line x1="21" y1="18" x2="3" y2="18"></line>
</svg></span>
</span>
<span class="col-xs-12 featured-stats-text-container">
<span class="featured-stats-number">332M+</span><br>
Lines of code
</span>
</a>
</div>
</div>
......@@ -48,11 +67,16 @@
<div class="row margin-right-0">
<a href="/membership/exploreMembership.php" class="featured-stats-link">
<span class="col-xs-12 featured-stats-icon-container">
<span class="featured-circle featured-circle-stats"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-briefcase"><rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path></svg></span>
<span class="featured-circle featured-circle-stats"><svg xmlns="http://www.w3.org/2000/svg" width="24"
height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="feather feather-briefcase">
<rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect>
<path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path>
</svg></span>
</span>
<span class="col-xs-12 featured-stats-text-container">
<span class="featured-stats-number">320+</span><br>
Members
Members
</span>
</a>
</div>
......@@ -62,11 +86,16 @@
<div class="row margin-right-0">
<a href="/membership/exploreMembership.php" class="featured-stats-link">
<span class="col-xs-12 featured-stats-icon-container">
<span class="featured-circle featured-circle-stats"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-award"><circle cx="12" cy="8" r="7"></circle><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline></svg></span>
<span class="featured-circle featured-circle-stats"><svg xmlns="http://www.w3.org/2000/svg" width="24"
height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="feather feather-award">
<circle cx="12" cy="8" r="7"></circle>
<polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline>
</svg></span>
</span>
<span class="col-xs-12 featured-stats-text-container">
<span class="featured-stats-number">43</span><br>
Staff Members
Staff Members
</span>
</a>
</div>
......@@ -76,11 +105,19 @@
<div class="row margin-right-0">
<a href="/org/workinggroups/" class="featured-stats-link">
<span class="col-xs-12 featured-stats-icon-container">
<span class="featured-circle featured-circle-stats"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-share-2"><circle cx="18" cy="5" r="3"></circle><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="19" r="3"></circle><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line></svg></span>
<span class="featured-circle featured-circle-stats"><svg xmlns="http://www.w3.org/2000/svg" width="24"
height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="feather feather-share-2">
<circle cx="18" cy="5" r="3"></circle>
<circle cx="6" cy="12" r="3"></circle>
<circle cx="18" cy="19" r="3"></circle>
<line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line>
<line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line>
</svg></span>
</span>
<span class="col-xs-12 featured-stats-text-container">
<span class="featured-stats-number">18</span><br>
Working Groups
Working Groups
</span>
</a>
</div>
......
<!-- @todo: contribute back to hugo-solstice-theme -->
{{ if and (isset .Params "adFormat") (isset .Params "publishTo")}}
{{ $class := .Get "class" | default "eclipsefdn-promo-content text-center margin-bottom-40" }}
<div class="{{ $class }}" data-ad-format="{{ index .Params "adFormat" }}" data-ad-publish-to="{{ index .Params "publishTo" }}"></div>
{{ end }}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment