Bug 571227 - [February 2021] Newsletter Coding Support
- Featured content on home page
- Also added another match height to make the button align bottom
- Update committer name
Signed-off-by: Yi Liu <yi.liu@eclipse-foundation.org>
Change-Id: Ia072e7ab8158e87c784971c50f9b22cda66ed5f4
diff --git a/images/featured_contents/featured_committers/simon_bernard.png b/images/featured_contents/featured_committers/simon_bernard.png
new file mode 100644
index 0000000..685385c
--- /dev/null
+++ b/images/featured_contents/featured_committers/simon_bernard.png
Binary files differ
diff --git a/images/featured_contents/featured_projects/che.png b/images/featured_contents/featured_projects/che.png
new file mode 100644
index 0000000..4189b8c
--- /dev/null
+++ b/images/featured_contents/featured_projects/che.png
Binary files differ
diff --git a/js/data.json b/js/data.json
index 15e99de..e0f0edf 100644
--- a/js/data.json
+++ b/js/data.json
@@ -1,20 +1,20 @@
{
"committers": [
{
- "name": "Kevin Herron",
- "Committer to": "Eclipse Milo, Eclipse Sparkplug",
- "Committer since": "2016",
- "image": "/home/images/featured_contents/featured_committers/kevin_herron.jpg",
- "url": "http://eclipse.org/community/eclipse_newsletter/2021/january/4.php"
+ "name": "Simon Bernard",
+ "Committer to": "Eclipse Leshan, Eclipse Wakaama, Eclipse Californium (Cf) CoAP Framework, Eclipse Lua Development Tools",
+ "Committer since": "2011",
+ "image": "/home/images/featured_contents/featured_committers/simon_bernard.png",
+ "url": "http://eclipse.org/community/eclipse_newsletter/2021/february/4.php"
}
],
"projects": [
{
- "name": "Eclipse OpenJ9",
- "description": "Eclipse OpenJ9 is a fast and efficient JVM that delivers power and performance when you need it most.",
- "image": "/home/images/featured_contents/featured_projects/openj9.jpg",
- "url": "https://www.eclipse.org/openj9/"
+ "name": "Eclipse Che",
+ "description": "Eclipse Che is a developer workspace server and cloud IDE for Kubernetes development.",
+ "image": "/home/images/featured_contents/featured_projects/che.png",
+ "url": "https://www.eclipse.org/che/"
}
]
}
\ No newline at end of file
diff --git a/js/featured-projects-committer.js b/js/featured-projects-committer.js
index a4b25bc..3e399c9 100644
--- a/js/featured-projects-committer.js
+++ b/js/featured-projects-committer.js
@@ -8,8 +8,8 @@
var image = "<div class='col-xs-8 padding-0 eclipsefdn-user-display-circle'><img class='img img-responsive' src=" + committers[i].image + "></div>"
var content = " <div class='col-xs-16'>" +
"<h3 class='h4'><strong>" + committers[i].name + "</strong></h3>" +
- "<p><strong>Committer to: </strong>" + committers[i]["Committer to"] + "</p>" +
- "<p><strong>Committer since: </strong>" + committers[i]["Committer since"] + "</p>" +
+ "<div class=\"match-height-item margin-bottom-5\" data-mh=\"featured-content\"><p><strong>Committer to: </strong>" + committers[i]["Committer to"] + "</p>" +
+ "<p><strong>Committer since: </strong>" + committers[i]["Committer since"] + "</p></div>" +
"<a class='btn btn-primary' href='" + committers[i].url + "' title='Subscribe to our RSS-feed'> Read more </a>" +
"</div>"
@@ -22,7 +22,7 @@
var image = "<div class='col-xs-8 padding-0'><img class='img img-responsive' src=" + projects[i].image + "></div>"
var content = " <div class='col-xs-16'>" +
"<h3 class='h4'><strong>" + projects[i].name + "</strong></h3>" +
- "<p>" + projects[i].description + "</p>" +
+ "<div class=\"match-height-item margin-bottom-5\" data-mh=\"featured-content\"><p>" + projects[i].description + "</p></div>" +
"<a class='btn btn-primary' href='" + projects[i].url + "' title='Subscribe to our RSS-feed'> Read more </a>" +
"</div>"