Skip to content
Snippets Groups Projects
Unverified Commit 30d0cfa7 authored by Christopher Guindon's avatar Christopher Guindon Committed by GitHub
Browse files

update solstice theme (#83)


* update solstice theme

Signed-off-by: Christopher Guindon's avatarChristopher Guindon <chris.guindon@eclipse-foundation.org>

* update solstice theme

Signed-off-by: Christopher Guindon's avatarChristopher Guindon <chris.guindon@eclipse-foundation.org>

* update solstice theme

Signed-off-by: Christopher Guindon's avatarChristopher Guindon <chris.guindon@eclipse-foundation.org>

* support ie 11 with babel

Signed-off-by: Christopher Guindon's avatarChristopher Guindon <chris.guindon@eclipse-foundation.org>
parent c8597d03
No related branches found
No related tags found
No related merge requests found
{
"extends": "./node_modules/eclipsefdn-solstice-assets/babel.config.json"
}
\ No newline at end of file
......@@ -14,6 +14,27 @@ links: [[href: "https://join.slack.com/t/eclipse-edge-wg/shared_invite/enQtODI2N
container: "container-fluid"
---
{{< grid/section-container class="margin-bottom-30 margin-top-50 news-list" >}}
{{< grid/div class="col-sm-15 news-list-col" isMarkdown="false" >}}
<h2 class="heading-line"><span>What's New?</span></h2>
{{< newsroom/news id="news-template-id" class="news-list" includeList="true" publishTarget="edge_native" >}}
{{</ grid/div >}}
{{< grid/div class="col-sm-8 col-sm-offset-1 news-list-col" isMarkdown="false" >}}
<h2 class="heading-line"><span>Events</span></h2>
{{< newsroom/events
id="event-list-container"
publishTarget="edge_native"
class="event-list-custom"
upcoming="1"
templateId="custom-events-template"
templatePath="/js/templates/event-list-format.mustache"
count="4"
includeList="true"
>}}
{{</ grid/div >}}
{{</ grid/section-container >}}
{{< home-mission-statement >}}
{{< home-founding-members >}}
......
......@@ -2,3 +2,5 @@
title: "News"
date: 2019-09-10T15:50:25-04:00
---
{{< newsroom/news id="news-list-container" archive="true" publishTarget="edge_native" count="10" paginate="true" >}}
/*!
* Copyright (c) 2021 Eclipse Foundation, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* Contributors:
* Christopher Guindon <chris.guindon@eclipse-foundation.org>
*
* SPDX-License-Identifier: EPL-2.0
*/
import 'eclipsefdn-solstice-assets'
\ No newline at end of file
{{ define "main" }}
<div id="content">
<div class="container">
<div class="row margin-top-50 margin-bottom-50">
<div class="col-sm-16 news-list">
<div class="news-list-col margin-bottom-40">
<h2 class="heading-line">
<span>What's New?</span>
</h2>
<div id="news-list-container" class="news-list-media" data-news-count="3" data-publish-target="edge_native">
</div>
<ul class="list-inline block-summary-more margin-bottom-40">
<li><a href="https://newsroom.eclipse.org/rss/news/edge_native/news.xml" title="Subscribe to our RSS-feed"><i class="fa fa-rss margin-right-5"></i></a> <a href="/news">View all</a></li>
<li class="news-list-links-view-all"><a href="https://newsroom.eclipse.org/node/add/news">Submit News</a></li>
</ul>
</div>
</div>
<div class="col-sm-8 news-list event-list">
<div class="news-list-col margin-bottom-40">
<h2 class="heading-line">
<span>Events</span>
</h2>
<div id="event-list-container" class="news-items" data-template-id="event-short-list" data-count="3" data-publish-target="edge_native" data-upcoming="1">
</div>
<ul class="list-inline block-summary-more margin-bottom-40">
<li><a href="https://events.eclipse.org">View all</a></li>
<li class="news-list-links-view-all"><a href="https://newsroom.eclipse.org/node/add/events">Submit Event</a></li>
</ul>
</div>
</div>
</div>
</div>
{{ .Content }}
</div>
{{ end }}
{{ define "main" }}
<div id="news-list-container" class="news-items" data-pagination="true" data-news-count="10" data-publish-target="edge_native">
{{ end }}
\ No newline at end of file
<script id="event-short-list" type="text/html">
{{ readFile ("/js/templates/event-list-format.mustache") | safeHTML}}
</script>
<script>
(function($, document) {
// Eclipse News and events
$("#news-list-container").eclipseFdnApi({
type: "newsItems"
});
$("#event-list-container").eclipseFdnApi({
type: "filteredEvents"
});
})(jQuery, document);
</script>
\ No newline at end of file
This diff is collapsed.
......@@ -22,7 +22,7 @@
"build_netlify": "NODE_ENV=production npm run disallow_robots_txt && npm run production"
},
"dependencies": {
"eclipsefdn-hugo-solstice-theme": "0.0.111"
"eclipsefdn-hugo-solstice-theme": "0.0.129"
},
"browserslist": "last 5 version, > 0.2%, not dead, IE 11"
}
{
"/css/styles.css": "/css/styles.css",
"/js/solstice.js": "/js/solstice.js"
"/js/solstice.js": "/js/solstice.js",
"/css/styles.css": "/css/styles.css"
}
/*!
* Copyright (c) 2018 Eclipse Foundation, Inc.
*
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
*
* Contributors:
* Christopher Guindon <chris.guindon@eclipse-foundation.org>
*
*
* SPDX-License-Identifier: EPL-2.0
*/
*/
mix = require('laravel-mix');
mix.options({uglify: {uglifyOptions: {compress: false, output: {comments: true}}}});
require('laravel-mix-transpile-node-modules');
mix.transpileNodeModules(['eclipsefdn-solstice-assets']);
mix.options({
uglify: { uglifyOptions: { compress: false, output: { comments: true } } },
});
mix.setPublicPath('static');
mix.setResourceRoot('../');
mix.less('./less/styles.less', 'static/css/styles.css');
mix.babel([
'./node_modules/jquery/dist/jquery.min.js',
'./node_modules/bootstrap/dist/js/bootstrap.min.js',
'./node_modules/jquery-match-height/dist/jquery.matchHeight-min.js',
'./node_modules/feather-icons/dist/feather.min.js',
'./node_modules/cookieconsent/src/cookieconsent.js',
'./node_modules/jquery-eclipsefdn-api/dist/jquery.eclipsefdn-api.min.js',
'./node_modules/eclipsefdn-solstice-assets/js/solstice.cookieconsent.js',
'./node_modules/eclipsefdn-solstice-assets/js/eclipsefdn.videos.js',
'./node_modules/eclipsefdn-solstice-assets/js/solstice.cookies.js',
'./node_modules/eclipsefdn-solstice-assets/js/solstice.js'
], './static/js/solstice.js');
\ No newline at end of file
mix.webpackConfig({
resolve: {
alias: {
jquery: 'jquery/src/jquery',
},
},
});
mix.js('js/main.js', './static/js/solstice.js');
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