Skip to content

Commit e05c9bf

Browse files
committed
add blue title bar and spacing to main, add to navigation
1 parent d0e4946 commit e05c9bf

5 files changed

+58
-36
lines changed

_includes/header-navigation.html

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<ul class="submenu">
2727
<li><a href="{{site.baseurl}}/get-started" class="{% if page.url contains '/get-started/' %}active{% endif %}">GET STARTED</a></li>
2828
<li><a href="{{site.baseurl}}/guides" class="{% if page.url contains '/guides/' %}active{% endif %}">DOCUMENTATION</a></li>
29+
<li><a href="{{site.baseurl}}/migration-guides" class="{% if page.url contains '/migration-guides/' %}active{% endif %}">MIGRATION GUIDES</a></li>
2930
<li><a href="{{site.baseurl}}/qtips" class="{% if page.url contains '/qtips/' %}active{% endif %}">"Q" TIP VIDEOS</a></li>
3031
<li><a href="{{site.baseurl}}/books" class="{% if page.url contains '/books/' %}active{% endif %}">BOOKS</a></li>
3132
</ul>

_includes/migration-guides-main.html

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<div class="full-width-bg component">
2+
<div class="grid-wrapper">
3+
<div class="width-12-12 width-12-12-m">
4+
5+
{% assign doclist = site.migrations | sort: 'version_counter' | where: 'unversion_counter', nil %}
6+
7+
<ul>
8+
{% for doc in doclist %}
9+
{% if doc.lts == true %}
10+
{% assign lts = ' LTS ' %}
11+
{% else %}
12+
{% assign lts = '' %}
13+
{% endif %}
14+
15+
{% if doc.proposed_version %}
16+
{% assign comment = ', will be ' | append: doc.proposed_version %}
17+
{% else %}
18+
{% if doc.date != site.time %}
19+
{% assign pretty_date = doc.date | date: "%-d %B %Y" %}
20+
{% assign comment = ' – released on ' | append: pretty_date %}
21+
{% else %}
22+
{% assign comment = ' – to be released' %}
23+
{% endif %}
24+
{% endif %}
25+
<li><a href="{{ site.baseurl }}{{ doc.url }}">{{ doc.version }}</a> <strong>{{lts}}</strong> {{ comment }}</li>
26+
{% endfor %}
27+
28+
</ul>
29+
30+
{% assign doclist = site.migrations | sort: 'version_counter' | where: 'version_counter', nil | where_exp: 'doc', "doc.version != 'Migration-Guides'" %}
31+
32+
<h2>Special Guides</h2>
33+
34+
<ul>
35+
{% for doc in doclist %}
36+
<li><a href="{{ site.baseurl }}{{ doc.url }}">{{ doc.version }}</a></li>
37+
{% endfor %}
38+
</ul>
39+
40+
{% assign doclist = site.migrations | sort: 'version_counter' | where: 'version_counter', nil | where_exp: 'doc', "doc.version != 'Migration-Guides'" %}
41+
42+
</div>
43+
</div>
44+
</div>

_layouts/migration-guides-main.html

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: base
3+
---
4+
5+
{% include title-band.html %}
6+
7+
{% include migration-guides-main.html %}

migration-guides.html

-36
This file was deleted.

migration-guides.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
layout: migration-guides-main
3+
title: Migration Guides
4+
subtitle: Keep your application up-to-date with the latest version of Quarkus.
5+
permalink: /migration-guides/
6+
---

0 commit comments

Comments
 (0)