eclipsefdn-hugo-solstice-theme 2.0.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/config.toml +521 -286
  2. package/exampleSite/config/_default/config.toml +2 -2
  3. package/layouts/_default/baseof.html +0 -1
  4. package/layouts/partials/breadcrumbs.html +26 -33
  5. package/layouts/partials/featured_story_popup.html +6 -0
  6. package/layouts/partials/footer.html +60 -19
  7. package/layouts/partials/footer_js.html +1 -1
  8. package/layouts/partials/head.html +10 -10
  9. package/layouts/partials/header.html +8 -8
  10. package/layouts/partials/jumbotron.html +73 -85
  11. package/layouts/partials/main_prefix.html +16 -18
  12. package/layouts/partials/main_suffix.html +1 -18
  13. package/layouts/partials/mega_menu.html +47 -51
  14. package/layouts/partials/mobile_menu.html +43 -97
  15. package/layouts/partials/nav.html +47 -60
  16. package/layouts/partials/navbar.html +108 -29
  17. package/layouts/partials/sidebar.html +48 -54
  18. package/layouts/partials/socials.html +15 -90
  19. package/layouts/partials/toolbar.html +4 -70
  20. package/package.json +3 -3
  21. package/webpack.mix.js +4 -4
  22. package/layouts/partials/featured_story.html +0 -38
  23. package/layouts/partials/footer_links/footer-copyright.html +0 -19
  24. package/layouts/partials/footer_links/footer-eclipse-foundation.html +0 -11
  25. package/layouts/partials/footer_links/footer-legal.html +0 -12
  26. package/layouts/partials/footer_links/footer-other.html +0 -10
  27. package/layouts/partials/footer_links/footer-useful-links.html +0 -11
  28. package/layouts/partials/footer_links/links.html +0 -3
  29. package/layouts/partials/footer_links/prefix.html +0 -0
  30. package/layouts/partials/footer_links/suffix.html +0 -36
  31. package/layouts/partials/working_group_footer.html +0 -55
@@ -1,97 +1,22 @@
1
- {{/*
2
- Copyright (c) 2023 Eclipse Foundation, Inc.
1
+ <!--
2
+ Copyright (c) 2025 Eclipse Foundation AISBL
3
+
3
4
  This program and the accompanying materials are made available under the
4
5
  terms of the Eclipse Public License v. 2.0 which is available at
5
6
  http://www.eclipse.org/legal/epl-2.0.
6
7
 
7
- Contributors:
8
- Olivier Goulet <olivier.goulet@eclipse-foundation.org>
9
-
10
8
  SPDX-License-Identifier: EPL-2.0
11
- */}}
12
-
13
- {{ $twitter_url := $.Site.Params.twitter_url }}
14
- {{ $facebook_url := $.Site.Params.facebook_url }}
15
- {{ $instagram_url := $.Site.Params.instagram_url }}
16
- {{ $youtube_url := $.Site.Params.youtube_url }}
17
- {{ $linkedin_url := $.Site.Params.linkedin_url }}
18
- {{ $bluesky_url := $.Site.Params.bluesky_url }}
9
+ -->
19
10
 
20
- {{/* To support the legacy "socialmedia_url" params */}}
21
- {{ $socials := slice }}
22
- {{ $using_legacy_socials := cond (or (ne $facebook_url nil) (ne $twitter_url nil) (ne $instagram_url nil) (ne $youtube_url nil) (ne $linkedin_url nil) (ne $bluesky_url nil)) true false }}
23
-
24
- {{ if $using_legacy_socials }}
25
- {{ with $twitter_url }}
26
- {{ $x := (dict
27
- "name" "X"
28
- "url" .
29
- "icon" "fa-brands fa-x-twitter"
30
- ) }}
31
- {{ $socials = $socials | append $x }}
32
- {{ end }}
33
- {{ with $facebook_url }}
34
- {{ $facebook := (dict
35
- "name" "Facebook"
36
- "url" .
37
- "icon" "fa-brands fa-facebook-f"
38
- ) }}
39
- {{ $socials = $socials | append $facebook }}
11
+ <ul class="social-media-list">
12
+ {{ range $.Site.Params.socials }}
13
+ <li>
14
+ <a href="{{ .url }}" aria-label="{{ .name }}">
15
+ <span class="fa-stack">
16
+ <i class="fa-solid fa-circle fa-stack-2x" aria-hidden="true"></i>
17
+ <i class="{{ .icon }} fa-stack-1x fa-inverse" aria-hidden="true"></i>
18
+ </span>
19
+ </a>
20
+ </li>
40
21
  {{ end }}
41
- {{ with $instagram_url }}
42
- {{ $instagram := (dict
43
- "name" "Instagram"
44
- "url" .
45
- "icon" "fa-brands fa-instagram"
46
- ) }}
47
- {{ $socials = $socials | append $instagram }}
48
- {{ end }}
49
- {{ with $youtube_url }}
50
- {{ $youtube := (dict
51
- "name" "YouTube"
52
- "url" .
53
- "icon" "fa-brands fa-youtube"
54
- ) }}
55
- {{ $socials = $socials | append $youtube }}
56
- {{ end }}
57
- {{ with $linkedin_url }}
58
- {{ $linkedin := (dict
59
- "name" "LinkedIn"
60
- "url" .
61
- "icon" "fa-brands fa-linkedin-in"
62
- ) }}
63
- {{ $socials = $socials | append $linkedin }}
64
- {{ end }}
65
- {{ with $bluesky_url }}
66
- {{ $bluesky := (dict
67
- "name" "Bluesky"
68
- "url" .
69
- "icon" "fa-brands fa-bluesky"
70
- ) }}
71
- {{ $socials = $socials | append $bluesky }}
72
- {{ end }}
73
- {{ else }}
74
- {{ $socials = $.Site.Params.socials }}
75
- {{ end }}
76
-
77
- <div class="footer-end-social">
78
- <p class="footer-end-social-text hidden-xs">Follow Us:</p>
79
- <ul class="footer-end-social-links list-unstyled">
80
- {{ range $socials }}
81
- {{ $text := i18n "footer-sr-social-account" .name | default (printf "%s account" .name) }}
82
- <li>
83
- <a
84
- class="link-unstyled"
85
- href="{{ .url }}"
86
- title="{{ $text }}"
87
- >
88
- <span class="fa-stack">
89
- <i class="fa-solid fa-circle fa-stack-2x" aria-hidden="true"></i>
90
- <i class="{{ .icon }} fa-stack-1x fa-inverse" aria-hidden="true"></i>
91
- <span class="sr-only">{{ $text }}</span>
92
- </span>
93
- </a>
94
- </li>
95
- {{ end }}
96
- </ul>
97
- </div>
22
+ </ul>
@@ -1,77 +1,11 @@
1
- {{/*
2
- Copyright (c) 2023 Eclipse Foundation, Inc.
1
+ <!--
2
+ Copyright (c) 2025 Eclipse Foundation AISBL
3
3
 
4
4
  This program and the accompanying materials are made available under the
5
5
  terms of the Eclipse Public License v. 2.0 which is available at
6
6
  http://www.eclipse.org/legal/epl-2.0.
7
7
 
8
- Contributors:
9
- Olivier Goulet <olivier.goulet@eclipse-foundation.org>
10
-
11
8
  SPDX-License-Identifier: EPL-2.0
12
- */}}
9
+ -->
13
10
 
14
- <div class="header-toolbar">
15
- <div class="container">
16
- <div class="header-toolbar-row">
17
- <div class="toolbar-btn toolbar-search-btn dropdown">
18
- <button
19
- class="dropdown-toggle"
20
- id="toolbar-search"
21
- type="button"
22
- data-toggle="dropdown"
23
- tabindex="0"
24
- aria-label="Search"
25
- >
26
- <i class="fa fa-search fa-lg" aria-role="none"></i>
27
- </button>
28
- <div
29
- class="toolbar-search-bar-wrapper dropdown-menu dropdown-menu-right"
30
- aria-labelledby="toolbar-search"
31
- >
32
- <form action="https://www.eclipse.org/home/search" method="get">
33
- <div class="search-bar">
34
- <input class="search-bar-input" name="q" placeholder="Search" />
35
- <button>
36
- <i class="fa fa-search" type="submit"></i>
37
- </button>
38
- </div>
39
- </form>
40
- </div>
41
- </div>
42
- <div class="toolbar-btn toolbar-user-menu-btn dropdown">
43
- <button
44
- class="dropdown-toggle"
45
- id="toolbar-user-menu"
46
- type="button"
47
- data-toggle="dropdown"
48
- tabindex="0"
49
- aria-label="User Menu"
50
- >
51
- <i class="fa fa-user fa-lg"></i>
52
- </button>
53
- <ul class="toolbar-user-menu dropdown-menu dropdown-menu-right text-center"
54
- aria-labelledby="toolbar-user-menu">
55
- <li>
56
- <a href="https://accounts.eclipse.org/user">
57
- <i class="fa fa-user"></i>
58
- View My Account
59
- </a>
60
- </li>
61
- <li>
62
- <a href="https://accounts.eclipse.org/user/edit">
63
- <i class="fa fa-edit"></i>
64
- Edit My Account
65
- </a>
66
- </li>
67
- <li>
68
- <a class="toolbar-manage-cookies">
69
- <i class="fa fa-wrench"></i>
70
- Manage Cookies
71
- </a>
72
- </li>
73
- </ul>
74
- </div>
75
- </div>
76
- </div>
77
- </div>
11
+ <!-- Neptune has no toolbar, so this file is intentionally left blank -->
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "webpack.min.js",
5
5
  "author": "Christopher Guindon",
6
6
  "license": "EPL-2.0",
7
- "version": "2.0.0",
7
+ "version": "3.0.0",
8
8
  "bugs": {
9
9
  "url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
10
10
  },
@@ -22,13 +22,13 @@
22
22
  },
23
23
  "readmeFilename": "README.md",
24
24
  "dependencies": {
25
- "eclipsefdn-solstice-assets": "0.2.7",
25
+ "eclipsefdn-solstice-assets": "0.2.8",
26
26
  "json2yaml": "^1.1.0",
27
27
  "toml": "^3.0.0"
28
28
  },
29
29
  "browserslist": "last 5 version, > 0.2%, not dead, IE 11",
30
30
  "devDependencies": {},
31
31
  "peerDependencies": {
32
- "@eclipsefdn/solstice-components": "~0.7.0"
32
+ "@eclipsefdn/solstice-components": ">=0.7.0 <1.0.0"
33
33
  }
34
34
  }
package/webpack.mix.js CHANGED
@@ -20,13 +20,13 @@ mix.setPublicPath('static');
20
20
  mix.setResourceRoot('../');
21
21
 
22
22
  mix.less(
23
- './node_modules/eclipsefdn-solstice-assets/less/astro/main.less',
24
- 'static/css/astro.css'
23
+ './node_modules/eclipsefdn-solstice-assets/less/neptune/main.less',
24
+ 'static/css/neptune.css'
25
25
  );
26
26
 
27
27
  mix.js(
28
- ['./node_modules/eclipsefdn-solstice-assets/js/astro.js'],
29
- './static/js/astro.js'
28
+ ['./node_modules/eclipsefdn-solstice-assets/js/neptune.js'],
29
+ './static/js/neptune.js'
30
30
  );
31
31
 
32
32
  mix.js(['./node_modules/eclipsefdn-solstice-assets/js/solstice/eclipsefdn.projects.ts'], './static/js/eclipsefdn.projects.js');
@@ -1,38 +0,0 @@
1
- {{/*
2
- Copyright (c) 2023 Eclipse Foundation, Inc.
3
-
4
- This program and the accompanying materials are made available under the
5
- terms of the Eclipse Public License v. 2.0 which is available at
6
- http://www.eclipse.org/legal/epl-2.0.
7
-
8
- Contributors:
9
- Olivier Goulet <olivier.goulet@eclipse-foundation.org>
10
-
11
- SPDX-License-Identifier: EPL-2.0
12
- */}}
13
-
14
- {{ $show_featured_story := .Page.Params.show_featured_story }}
15
-
16
- {{/*
17
- The `$has_jumbotron` scratch variable is set in the `jumbotron.html` partial.
18
- */}}
19
- {{ $has_jumbotron := .Scratch.Get "has_jumbotron" }}
20
-
21
- {{ if $show_featured_story }}
22
- {{ if not $has_jumbotron }}
23
- <div class="eclipsefdn-featured-story featured-story" id="featured-story" data-publish-target="{{ .Page.Params.featured_content_publish_target | default .Site.Params.featured_content_publish_target | default "eclipse_org"}}">
24
- <div class="container">
25
- <div class="row">
26
- <div class="col-sm-12 col-sm-offset-2 col-md-16 col-md-offset-0 featured-story-block featured-story-block-content match-height-item-by-row featured-container">
27
- </div>
28
- <div class="col-sm-9 col-md-8 featured-side featured-story-block match-height-item-by-row">
29
- <div class="featured-side-content text-center">
30
- {{ .Site.Data.featuredstory.defaultRight | safeHTML }}
31
- </div>
32
- </div>
33
- </div>
34
- </div>
35
- </div>
36
- {{ end }}
37
- {{ end }}
38
-
@@ -1,19 +0,0 @@
1
- {{/*
2
- Copyright (c) 2023 Eclipse Foundation, Inc.
3
- This program and the accompanying materials are made available under the
4
- terms of the Eclipse Public License v. 2.0 which is available at
5
- http://www.eclipse.org/legal/epl-2.0.
6
-
7
- Contributors:
8
- Olivier Goulet <olivier.goulet@eclipse-foundation.org>
9
-
10
- SPDX-License-Identifier: EPL-2.0
11
- */}}
12
-
13
- <div class="col-sm-24 margin-top-20">
14
- <div class="row">
15
- <div id="copyright" class="col-sm-16">
16
- <p id="copyright-text">{{ i18n "footer-copyright-text" | safeHTML}}</p>
17
- </div>
18
- </div>
19
- </div>
@@ -1,11 +0,0 @@
1
- {{ $footer_eclipse_foundation_class := .Params.footer_section_eclipse_foundation_class | default .Site.Params.footer_section_eclipse_foundation_class | default "footer-section col-sm-8" }}
2
- <section id="footer-eclipse-foundation" class="{{ $footer_eclipse_foundation_class }}">
3
- <div class="menu-heading">{{ i18n "eclipse-foundation-text" }}</div>
4
- <ul class="nav">
5
- <li><a href="https://www.eclipse.org/org/">{{ i18n "footer-foundation-about-us-text" }}</a></li>
6
- <li><a href="https://projects.eclipse.org/">Projects</a></li>
7
- <li><a href="https://www.eclipse.org/collaborations/">Collaborations</a></li>
8
- <li><a href="https://www.eclipse.org/membership/">{{ i18n "footer-foundation-members-text" }}</a></li>
9
- <li><a href="https://www.eclipse.org/sponsor/">{{ i18n "footer-foundation-sponsor-text" }}</a></li>
10
- </ul>
11
- </section>
@@ -1,12 +0,0 @@
1
- {{ $footer_section_legal_class := .Params.footer_section_legal_class | default .Site.Params.footer_section_legal_class | default "footer-section col-sm-8" }}
2
- <section id="footer-legal" class="{{ $footer_section_legal_class }}">
3
- <div class="menu-heading">{{ i18n "footer-legal-section-text" }}</div>
4
- <ul class="nav">
5
- <li><a href="https://www.eclipse.org/legal/privacy/">{{ i18n "footer-legal-privacy-policy-text" }}</a></li>
6
- <li><a href="https://www.eclipse.org/legal/terms-of-use/">{{ i18n "footer-legal-terms-use-text" }}</a></li>
7
- <li><a href="https://www.eclipse.org/legal/compliance/">{{ i18n "footer-legal-compliance-text" }}</a></li>
8
- <li><a href="https://www.eclipse.org/org/documents/Community_Code_of_Conduct.php">{{ i18n "footer-legal-code-of-conduct-text" }}</a></li>
9
- <li><a href="https://www.eclipse.org/legal/">{{ i18n "footer-legal-resources-text" }}</a></li>
10
- <li><a class="toolbar-manage-cookies" href="#" onclick="event.preventDefault()">{{ i18n "footer-legal-manage-cookies-label" }}</a></li>
11
- </ul>
12
- </section>
@@ -1,10 +0,0 @@
1
- {{ $footer_section_other_class := .Params.footer_section_other_class | default .Site.Params.footer_section_other_class | default "footer-section col-sm-8" }}
2
- <section id="footer-more" class="{{ $footer_section_other_class }}">
3
- <div class="menu-heading">{{ i18n "footer-other-section-text" }}</div>
4
- <ul class="nav">
5
- <li><a href="https://www.eclipse.org/security/">{{ i18n "footer-other-report-vulnerability-text" }}</a></li>
6
- <li><a href="https://status.eclipse.org/">{{ i18n "footer-other-status-text" }}</a></li>
7
- <li><a href="https://www.eclipse.org/org/foundation/contact.php">{{ i18n "footer-other-contact-text" }}</a></li>
8
- <li><a href="https://www.eclipse.org/projects/support/">{{ i18n "footer-other-support-text" }}</a></li>
9
- </ul>
10
- </section>
@@ -1,11 +0,0 @@
1
- <section class="{{- .Params.footer_section_useful_links_class | default .Site.Params.footer_section_useful_links_class | default "col-sm-6 hidden-print"}}" id="footer-useful-links">
2
- <h2 class="section-title">{{ i18n "footer-useful-links-section-text" }}</h2>
3
- <ul class="nav">
4
- <li><a href="https://bugs.eclipse.org/bugs/">{{ i18n "footer-useful-links-report-bug-text" }}</a></li>
5
- <li><a href="//help.eclipse.org/">{{ i18n "footer-useful-links-documentation-text" }}</a></li>
6
- <li><a href="https://www.eclipse.org/contribute/">{{ i18n "footer-useful-links-contribute-text" }}</a></li>
7
- <li><a href="https://www.eclipse.org/mail/">{{ i18n "footer-useful-links-mailing-list-text" }}</a></li>
8
- <li><a href="https://www.eclipse.org/forums/">{{ i18n "footer-useful-links-forums-text" }}</a></li>
9
- <li><a href="//marketplace.eclipse.org">{{ i18n "footer-useful-links-marketplace-text" }}</a></li>
10
- </ul>
11
- </section>
@@ -1,3 +0,0 @@
1
- {{ partial "footer_links/footer-eclipse-foundation.html" . }}
2
- {{ partial "footer_links/footer-legal.html" . }}
3
- {{ partial "footer_links/footer-other.html" . }}
File without changes
@@ -1,36 +0,0 @@
1
- {{/*
2
- Copyright (c) 2023 Eclipse Foundation, Inc.
3
-
4
- This program and the accompanying materials are made available under the
5
- terms of the Eclipse Public License v. 2.0 which is available at
6
- http://www.eclipse.org/legal/epl-2.0.
7
-
8
- Contributors:
9
- Olivier Goulet <olivier.goulet@eclipse-foundation.org>
10
-
11
- SPDX-License-Identifier: EPL-2.0
12
- */}}
13
-
14
- {{ $hide_footer_newsletter := $.Site.Params.hide_footer_newsletter | default false }}
15
-
16
- <div id="footer-end" class="footer-section col-md-8 col-md-offset-1 col-sm-24">
17
- {{ if not $hide_footer_newsletter }}
18
- <div class="footer-end-newsletter">
19
- <form
20
- id="mc-embedded-subscribe-form"
21
- action="https://eclipse.us6.list-manage.com/subscribe/post?u=eaf9e1f06f194eadc66788a85&amp;id=e7538485cd&amp;f_id=00f9c2e1f0"
22
- method="post"
23
- novalidate
24
- target="_blank"
25
- >
26
- <label class="footer-end-newsletter-label" for="email">Subscribe to our Newsletter</label>
27
- <div class="footer-end-newsletter-input-wrapper">
28
- <input class="footer-end-newsletter-input" type="email" id="email" name="EMAIL" autocomplete="email" placeholder="Enter your email address" />
29
- <button class="footer-end-newsletter-submit btn btn-link" id="mc-embedded-subscribe" type="submit" name="subscribe">
30
- <i class="fa fa-solid fa-envelope fa-lg" aria-hidden="true"></i>
31
- </button>
32
- </div>
33
- </form>
34
- </div>
35
- {{ end }}
36
- </div>
@@ -1,55 +0,0 @@
1
- {{/*
2
- Copyright (c) 2024 Eclipse Foundation, Inc.
3
- This program and the accompanying materials are made available under the
4
- terms of the Eclipse Public License v. 2.0 which is available at
5
- http://www.eclipse.org/legal/epl-2.0.
6
-
7
- SPDX-License-Identifier: EPL-2.0
8
- */}}
9
-
10
- {{ $eclipse_foundation_logo := "https://www.eclipse.org/eclipse.org-common/themes/solstice/public/images/logo/eclipse-foundation-grey-orange.svg" }}
11
-
12
- <p id="back-to-top">
13
- <a class="visible-xs" href="#">{{ i18n "navigation-back-to-top" }}</a>
14
- </p>
15
- <footer class="footer footer-working-group" id="footer">
16
- <div class="container">
17
- {{ partial "footer_prefix.html" . }}
18
- <div class="text-center margin-bottom-40">
19
- <img
20
- class="img-responsive margin-x-auto margin-bottom-30"
21
- src="{{ $eclipse_foundation_logo }}"
22
- width="150"
23
- aria-labelledby="footer-working-group-ef"
24
- />
25
- <div class="footer-working-group-sponsor">
26
- <div class="footer-working-group-circle-group">
27
- <div class="footer-working-group-circle"></div>
28
- <div class="footer-working-group-circle"></div>
29
- <div class="footer-working-group-circle hidden-xs"></div>
30
- <div class="footer-working-group-circle hidden-xs"></div>
31
- </div>
32
- <p class="fw-500" id="footer-working-group-ef">An Eclipse Foundation Working Group</p>
33
- <div class="footer-working-group-circle-group">
34
- <div class="footer-working-group-circle"></div>
35
- <div class="footer-working-group-circle hidden-xs"></div>
36
- <div class="footer-working-group-circle hidden-xs"></div>
37
- <div class="footer-working-group-circle"></div>
38
- </div>
39
- </div>
40
- </div>
41
-
42
- <div class="footer-sections row equal-height-md font-bold">
43
- {{ partial "footer_links/prefix.html" . }}
44
- <div class="col-sm-20 col-sm-offset-4 col-xs-24">
45
- {{ partial "footer_links/links.html" . }}
46
- </div>
47
- {{ partial "footer_links/suffix.html" . }}
48
- </div>
49
- <div class="text-center">
50
- {{ partial "footer_links/footer-copyright.html" . }}
51
- </div>
52
- <a href="#" class="scrollup">{{ i18n "navigation-back-to-top" }}</a>
53
- </div>
54
- </footer>
55
-