Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: learn page implementation and starter guides page redesign #1759

Merged
merged 39 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
41adf0b
feat: update starter guide cards
oliviergoulet5 Nov 14, 2023
c1c907a
feat: remove intro text
oliviergoulet5 Nov 14, 2023
6fbe0f6
feat: update layout
oliviergoulet5 Nov 14, 2023
06e108b
feat: custom footer
oliviergoulet5 Nov 14, 2023
5e437f7
feat: add background tertiary and style headings
oliviergoulet5 Nov 21, 2023
4d639a3
feat: add links
oliviergoulet5 Nov 21, 2023
350ccd1
refactor: separate files
oliviergoulet5 Nov 21, 2023
506d38b
refactor: rename page_css_file to pages
oliviergoulet5 Nov 21, 2023
9fb55b0
feat: learn page starter guides section content
oliviergoulet5 Nov 21, 2023
45f0061
feat: other sections implemented for learn
oliviergoulet5 Nov 21, 2023
df607cb
fix: links
oliviergoulet5 Nov 21, 2023
ac55fd3
feat: add images and tweak margins
oliviergoulet5 Nov 24, 2023
cbc335e
feat: add tutorial link
oliviergoulet5 Nov 24, 2023
8c04a8c
feat: hide images on smaller devices
oliviergoulet5 Nov 24, 2023
4524d30
feat: remove documentation text
oliviergoulet5 Nov 24, 2023
9f380bb
feat: update jumbotron
oliviergoulet5 Nov 24, 2023
47b5558
feat: update jumbotron and introduce btn-contained
oliviergoulet5 Nov 24, 2023
f88705d
feat: update button sizes
oliviergoulet5 Nov 29, 2023
7141802
feat: add gap between cta items
oliviergoulet5 Nov 30, 2023
616d28d
feat: increase typography font size and change color
oliviergoulet5 Nov 30, 2023
47490ee
fix: apply only to link
oliviergoulet5 Nov 30, 2023
e04208d
fix: dont apply text color to buttons
oliviergoulet5 Nov 30, 2023
3ece46f
feat: style jumbotron
oliviergoulet5 Nov 30, 2023
cb50802
feat: replace image
oliviergoulet5 Nov 30, 2023
683d1ee
feat: adjust mobile
oliviergoulet5 Nov 30, 2023
482ed39
feat: implement jumbotron feedback
oliviergoulet5 Dec 1, 2023
d283f61
feat: update cta card styles
oliviergoulet5 Dec 1, 2023
7bc2b09
feat: change homepage column sizes
oliviergoulet5 Dec 1, 2023
7f09f56
feat: modify headings
oliviergoulet5 Dec 1, 2023
55f7c1f
feat: break text
oliviergoulet5 Dec 1, 2023
1ce6f44
feat: remove resource page tiles
oliviergoulet5 Dec 15, 2023
8628e6b
feat: remove resource menu items
oliviergoulet5 Dec 15, 2023
a642cca
feat: reorganize navbar
oliviergoulet5 Dec 15, 2023
a4e7d5b
Merge branch 'oliviergoulet/src/1743' into oliviergoulet/src/1742
oliviergoulet5 Dec 15, 2023
8e3c514
feat: add missing menu item for resources
oliviergoulet5 Dec 15, 2023
b90ced8
feat: one resource item
oliviergoulet5 Dec 15, 2023
5cf075f
Merge branch 'src' into oliviergoulet/src/1742
ZacharySabourin Dec 19, 2023
0d248d6
Add missing documentation links
ZacharySabourin Dec 19, 2023
ab98432
Merge branch 'src' into oliviergoulet/src/1742
ZacharySabourin Dec 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
168 changes: 90 additions & 78 deletions config/_default/menu.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
weight = 5

[[main]]
name = "Resources"
url = "/resources/"
weight = 6
name = "Learn"
url = "/learn/"
weight = 6

# About sub-menu
[[main]]
Expand Down Expand Up @@ -117,73 +117,54 @@
weight = 6

# Resource sub-menu
[[main]]
name = "Overview"
url = "/resources"
weight = 1
parent = "Resources"
identifier = "overview_resources"

[[main]]
name = "Branding"
url = "/resources#branding"
parent = "Resources"
weight = 2

[[main]]
name = "Datasheets"
url = "/resources#datasheets"
parent = "Resources"
weight = 3

[[main]]
name = "Documentation"
url = "/resources#documentation"
parent = "Resources"
weight = 4

[[main]]
name = "Presentations"
url = "/resources#presentations"
parent = "Resources"
weight = 5

[[main]]
name = "Surveys"
url = "/resources#surveys"
parent = "Resources"
weight = 6

[[main]]
name = "eBooks"
url = "/resources/#ebooks"
parent = "Resources"
weight = 7

[[main]]
name = "White Papers"
url = "/resources/#white-papers"
parent = "Resources"
weight = 8

[[main]]
name = "Case Studies"
url = "/resources/#cases-studies"
parent = "Resources"
weight = 9

[[main]]
name = "Starter for Jakarta EE"
url = "https://start.jakarta.ee/"
parent = "Resources"
weight = 10

[[main]]
name = "Jakarta EE Overview Course"
url = "https://www.linkedin.com/learning/jakarta-ee-overview"
parent = "Resources"
weight = 11

# [[main]]
# name = "Overview"
# url = "/resources"
# parent = "Resources"
# weight = 1
#
# [[main]]
# name = "Branding"
# url = "/resources#branding"
# parent = "Resources"
# weight = 2
#
# [[main]]
# name = "Datasheets"
# url = "/resources#datasheets"
# parent = "Resources"
# weight = 3
#
# [[main]]
# name = "Presentations"
# url = "/resources#presentations"
# parent = "Resources"
# weight = 4
#
# [[main]]
# name = "Surveys"
# url = "/resources#surveys"
# parent = "Resources"
# weight = 5
#
# [[main]]
# name = "eBooks"
# url = "/resources/#ebooks"
# parent = "Resources"
# weight = 6
#
# [[main]]
# name = "White Papers"
# url = "/resources/#white-papers"
# parent = "Resources"
# weight = 7
#
# [[main]]
# name = "Case Studies"
# url = "/resources/#cases-studies"
# parent = "Resources"
# weight = 8

# specifications
[[main]]
name = "Browse Specifications"
Expand Down Expand Up @@ -242,53 +223,59 @@
url = "/community/adopt-a-spec/"
weight = 2

[[main]]
name = "Resources"
url = "/resources/"
weight = 3
parent = "Community"

[[main]]
name = "Blog"
url = "/blogs"
parent = "Community"
weight = 3
weight = 4

[[main]]
name = "Events"
url = "/community/events/"
parent = "Community"
weight = 4
weight = 5

[[main]]
name = "JakartaOne Livestream"
url = "https://jakartaone.org"
parent = "Community"
weight = 5
weight = 6

[[main]]
name = "Stay Connected"
url = "/connect/"
parent = "Community"
weight = 6
weight = 7

[[main]]
name = "Tech Talk Meet-ups"
url = "/community/#meetups"
parent = "Community"
weight = 7
weight = 8

[[main]]
name = "Videos"
url = "/community/videos"
parent = "Community"
weight = 8
weight = 9

[[main]]
name = "Get Involved"
url = "/community/get-involved"
parent = "Community"
weight = 9
weight = 10

[[main]]
name = "Developer Advocate"
url = "/community/developer-advocate"
parent = "Community"
weight = 10
weight = 11

# Membership sub-menu
[[main]]
Expand All @@ -302,3 +289,28 @@
url = "/membership/members/"
parent = "Membership"
weight = 2

# Learn sub-menu
[[main]]
name = "Overview"
url = "/learn/"
weight = 1
parent = "Learn"

[[main]]
name = "Documentation"
url = "/learn#documentation"
weight = 2
parent = "Learn"

[[main]]
name = "Starter Guides"
url = "/learn/starter-guides/"
weight = 3
parent = "Learn"

[[main]]
name = "Jakarta EE Overview Course"
url = "https://www.linkedin.com/learning/jakarta-ee-overview"
weight = 4
parent = "Learn"
9 changes: 7 additions & 2 deletions content/learn/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
---
title: Learn
_build:
render: never
headline: Learn
hide_page_title: true
hide_sidebar: true
layout: single
page_css_file: /css/learn.css
---

{{< pages/learn/index >}}
Binary file added content/learn/images/generate-project.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/learn/images/starter-guides.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions content/learn/starter-guides/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ description: >-
These guides provide quick, hands-on instructions for building different
applications using Jakarta EE.
hide_page_title: true
hide_sidebar: true
layout: single
container: container-fluid
page_css_file: /css/starter-guides.css
---

{{< pages/learn/starter_guides >}}
Expand Down
100 changes: 100 additions & 0 deletions layouts/shortcodes/pages/learn/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
{{/*
Copyright (c) 2023 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:
Olivier Goulet <[email protected]>

SPDX-License-Identifier: EPL-2.0
*/}}

{{ $guides := (.Page.GetPage "starter-guides").RegularPages }}

<section class="column-section column-section-even gap-60">
<div class="image-column hidden-xs hidden-sm">
<img src="./images/starter-guides.jpg" alt="" />
</div>
<div>
<h2 class="big-text" id="starter-guides">Starter Guides</h2>
<p>Get started with Jakarta EE starter guides.</p>
<ul class="learn-resource-list">
{{ range first 4 $guides }}
<li class="resource-item margin-bottom-30 margin-top-30">
<i class="margin-right-20 fa fa-code fa-xl text-secondary" aria-hidden="true"></i>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
<a class="btn btn-primary margin-top-40" href="/learn/starter-guides/">View the Starter Guides</a>
</div>
</section>

<hr class="margin-top-40 margin-bottom-40">

<div class="column-section column-section-even gap-60">
<section>
<h2 class="big-text" id="documentation">Documentation</h2>
<ul class="learn-resource-list">
<li class="resource-item margin-bottom-30 margin-top-30">
<i class="margin-right-20 fa fa-file-code-o fa-xl text-secondary" aria-hidden="true"></i>
<a href="/learn/docs/jakartaee-tutorial/current/index.html">Jakarta EE Tutorial</a>
</li>
<li class="resource-item margin-bottom-30 margin-top-30">
<i class="margin-right-20 fa fa-file-code-o fa-xl text-secondary" aria-hidden="true"></i>
<a href="https://eclipse-ee4j.github.io/jakartaee-firstcup/">Jakarta EE First Cup</a>
</li>
<li class="resource-item margin-bottom-30 margin-top-30">
<i class="margin-right-20 fa fa-file-code-o fa-xl text-secondary" aria-hidden="true"></i>
<a href="https://github.com/eclipse-ee4j/cargotracker">CargoTracker Example Application</a>
</li>
</ul>
</section>
<section>
<h2 class="big-text" id="Generate a Jakarta EE Project">Generate a Jakarta EE Project</h2>
<div class="column-section column-section-even gap-40">
<div class="image-column hidden-xs hidden-sm">
<img src="./images/generate-project.jpg" alt="" />
</div>
<div>
<p>
The official Eclipse Foundation Starter for Jakarta EE. The starter
uses a Maven Archetype to generate sample code to get you going
quickly with simple Jakarta EE microservices projects.
</p>
<a class="btn btn-primary margin-top-20" href="https://start.jakarta.ee/">Start a Project</a>
</div>
</div>
</section>
</div>

<hr class="margin-top-40 margin-bottom-40">

<section class="column-section column-section-even gap-60">
<div class="image-column">
<img src="./images/jakarta-ee-overview-course.jpg" alt="The thumbnail of Jakarta EE Overview Course found on Linkedin Learning." />
</div>
<div>
<h2 class="big-text" id="jakarta-ee-essentials">Jakarta EE Overview Course</h2>

<div class="margin-bottom-20 margin-top-20">
<p class="margin-0"><strong>Instructor: Ivar Grimstad</strong></p>
<i>Java Champion and Jakarta EE Developer Advocate</i>
</div>

<p>
Do you need an overview of Jakarta EE as a whole? In this course, Java
Champion and Jakarta EE Developer Advocate Ivar Grimstad guides you
through the purpose of Jakarta EE and the specifications that you will
need to understand. Ivar presents a quick overview of Jakarta EE, its
specifications and implementations, the containers you will use for
different component types, and the standard units for deployments. He
goes into more depth on the Jakarta EE Platform, then dives into Web
Profiles and Core Profiles. Packed with useful tips and practical
challenges, this course can help you to decide the next steps in your
Jakarta EE journey.
</p>
<a class="btn btn-primary margin-top-20" href="https://www.linkedin.com/learning/jakarta-ee-overview">Enroll in our course today!</a>
</div>
</section>
Loading