From 64307ccde8678e8bfb41472caeec7d228a8dc05c Mon Sep 17 00:00:00 2001
From: Tobias Huste <t.huste@hzdr.de>
Date: Wed, 28 Apr 2021 15:05:53 +0200
Subject: [PATCH] Fix links to moved services objects

---
 _includes/frontpage/title-content.html      | 8 ++------
 _layouts/services/index.html                | 2 +-
 assets/css/title/service-title-buttons.scss | 4 ++--
 3 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/_includes/frontpage/title-content.html b/_includes/frontpage/title-content.html
index 20aede303..3b039d512 100644
--- a/_includes/frontpage/title-content.html
+++ b/_includes/frontpage/title-content.html
@@ -10,15 +10,11 @@
         <a href="https://aai.helmholtz.de" class="btn btn-light btn-lg text-dark">
             <i class="fas fa-network-wired"></i>Helmholtz AAI
         </a>
-        <a href="{{ '/services/consulting' | relative_url }}" class="btn btn-light btn-lg text-dark">
+        <a href="{{ '/services/software/consulting' | relative_url }}" class="btn btn-light btn-lg text-dark">
             <i class="fas fa-chart-line"></i> Consulting
         </a>
-        
-        <a href="{{ '/services/training' | relative_url }}" class="btn btn-light btn-lg text-dark">
+        <a href="{{ '/services/software/training' | relative_url }}" class="btn btn-light btn-lg text-dark">
             <i class="fas fa-university"></i> Education & Training
-        </a>        
-        <a href="{{ '/services/#community' | relative_url }}" class="btn btn-light btn-lg text-dark">
-            <i class="fas fa-users"></i> Communities
         </a>
     </div>
 </div>
diff --git a/_layouts/services/index.html b/_layouts/services/index.html
index 65745bbd5..cfa1583a8 100644
--- a/_layouts/services/index.html
+++ b/_layouts/services/index.html
@@ -25,7 +25,7 @@
                                 In Education &amp; Training we will offer courses, materials or workshops
                                 to help you in getting started or in boosting your software
                                 engineering practice.
-                                <a href="{{ 'services/training' | relative_url }}"><strong>More...</strong></a>
+                                <a href="{{ 'services/software/training' | relative_url }}"><strong>More...</strong></a>
                             </p>
                             <h4>Need something specific? Talk to us</h4>
                             {% include contact_us/mini.html %}
diff --git a/assets/css/title/service-title-buttons.scss b/assets/css/title/service-title-buttons.scss
index 86164f818..92daf2a5c 100644
--- a/assets/css/title/service-title-buttons.scss
+++ b/assets/css/title/service-title-buttons.scss
@@ -11,10 +11,10 @@
 
 .services-title-buttons {
     display:                grid;
-    grid-template-columns:  1fr 1fr 1fr;
+    grid-template-columns:  1fr 1fr;
 
     @include medium-is-tablet {
-        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
+        grid-template-columns: 1fr 1fr 1fr 1fr;
     }
 
     @include medium-is-phone {
-- 
GitLab