From 92227c8185560af42b17d5d6e6df86e97ffb3e32 Mon Sep 17 00:00:00 2001 From: Shaun McCance Date: Dec 12 2024 21:22:41 +0000 Subject: Tweaks for the index page, some temporary Hiding the secondary navbar at mobile sizes because it doens't scale well currently. Adding padding to the banner at mobile sizes. Moving the Connect announcement to the editions tiles, because we have a blank space right now. We need to think hard about this presentation going forward as we add editions, but for now it works. --- diff --git a/_data/centos/distributions.yml b/_data/centos/distributions.yml index 1e825df..2939bf0 100644 --- a/_data/centos/distributions.yml +++ b/_data/centos/distributions.yml @@ -9,3 +9,7 @@ - title: "CentOS Hyperscale" page: "/hyperscale" description: "CentOS stability built for massively large-scale deployments." +- title: "CentOS Connect" + page: "https://connect.centos.org/" + description: "Join us January 30-31 in Brussels to collaborate on the future of Enterprise Linux." + background: images/connecttilebg.png diff --git a/_layouts/home.html b/_layouts/home.html index 316f0cc..b630666 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -59,7 +59,7 @@ {% endif %} -
+
CentOS
{{ site.data.centos.project.title }}
@@ -68,7 +68,7 @@
-
+
{% assign community_items = site.data.centos.navbar | where: "name", "Community" %} {% for community_item in community_items %} {% for shortcut in community_item.menu %} @@ -78,7 +78,7 @@
{% if page.with_content == true %} -
+
{{ content }} diff --git a/images/connecttilebg.png b/images/connecttilebg.png new file mode 100644 index 0000000..e9d7aeb Binary files /dev/null and b/images/connecttilebg.png differ diff --git a/index.md b/index.md index 83d8e1a..b219080 100644 --- a/index.md +++ b/index.md @@ -14,22 +14,17 @@ with_title: false with_sponsors: true --- -
-
- CentOS Connect, January 30-31, Brussels, Belgium -
-
-
@@ -37,7 +32,11 @@ background-image: url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox= {% for distro in distributions %}
-
 
+{% if distro.background %} +
+{% else %} +
 
+{% endif %}
{{ distro.title }}

{{ distro.description }}