From 04cbdd22eab732703e26597c1b3bf5f7f86bb039 Mon Sep 17 00:00:00 2001
From: Joe TS Dell <thunyathep.s@outlook.com>
Date: Tue, 25 May 2021 13:59:24 +0200
Subject: [PATCH] up

---
 public/content/team.json | 25 ++++++++++++++++++++-----
 public/index.html        |  2 +-
 public/js/add_content.js |  2 +-
 public/js/search.js      |  3 ++-
 4 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/public/content/team.json b/public/content/team.json
index b0efcf8..ab66f80 100644
--- a/public/content/team.json
+++ b/public/content/team.json
@@ -30,7 +30,10 @@
         "jobTitle_en": "Researcher",
         "imgUrl": "https://www.region-stuttgart.de/fileadmin/user_upload/region-stuttgart/menschen/Dastageeri.jpg",
         "profile_link": "https://www.hft-stuttgart.de/p/habiburrahman-dastageeri",
-        "researchTopics": "Geo-informatics | AR/VR"
+        "researchTopics": "Geo-informatics | AR/VR",
+        "optional": {
+            "LinkedInURL": "https://www.linkedin.com/in/dastageeri/"
+        }
     },
     {
         "firstName": "Patrick",
@@ -38,7 +41,10 @@
         "jobTitle_en": "Researcher",
         "imgUrl": "/imgs/avatar/PatrickSquare.jpg",
         "profile_link": "https://www.hft-stuttgart.de/p/patrick-wuerstle",
-        "researchTopics": "Smart Cities | OGC Standards | Participation Platform | 3D City Models | 3D Web Visualization | 3D Simulation | Big Data"
+        "researchTopics": "Smart Cities | OGC Standards | Participation Platform | 3D City Models | 3D Web Visualization | 3D Simulation | Big Data",
+        "optional": {
+            "LinkedInURL": "https://www.linkedin.com/in/patrick-w%C3%BCrstle-939027170/"
+        }
     },
     {
         "firstName": "Rosanny",
@@ -46,7 +52,10 @@
         "jobTitle_en": "Researcher",
         "imgUrl": "https://www.hft-stuttgart.de/fileadmin/Dateien/Profilbilder/_processed_/3/a/csm_IMG_6311_resized_371f276be7.jpg",
         "profile_link": "https://www.hft-stuttgart.de/p/rosanny-sihombing",
-        "researchTopics": "Smart Cities | 3D City Models | 3D Web Visualization | AR/VR"
+        "researchTopics": "Smart Cities | 3D City Models | 3D Web Visualization | AR/VR",
+        "optional": {
+            "LinkedInURL": "https://www.linkedin.com/in/rsihombing/"
+        }
     },
     {
         "firstName": "Sven",
@@ -54,7 +63,10 @@
         "jobTitle_en": "Researcher",
         "imgUrl": "https://www.hft-stuttgart.de/fileadmin/Dateien/Profilbilder/_processed_/9/d/csm_sven_head_shot_ieee_d1acb7cb1f.png",
         "profile_link": "https://www.hft-stuttgart.de/p/Sven-Schneider",
-        "researchTopics": "Remote Sensing | Spectroscopy | Geology| Geo-informatics | Machine learning"
+        "researchTopics": "Remote Sensing | Spectroscopy | Geology| Geo-informatics | Machine learning",
+        "optional": {
+            "LinkedInURL": "https://www.linkedin.com/in/sven-schneider-2236bb71/"
+        }
     },
     {
         "firstName": "Sabo ",
@@ -62,6 +74,9 @@
         "jobTitle_en": "Researcher",
         "imgUrl": "https://profile-images.xing.com/images/5ef0d642ca45841ddfb1d998e35ebc80-2/sabo-kwada-sini.256x256.jpg",
         "profile_link": "https://www.hft-stuttgart.de/p/sabo-kwada-sini",
-        "researchTopics": "Geo-informatics | 3D City Model | Smart Cities"
+        "researchTopics": "Geo-informatics | 3D City Model | Smart Cities",
+        "optional": {
+            "LinkedInURL": "https://www.linkedin.com/in/sabo-kwada-sini-345143107/"
+        }
     }
 ]
\ No newline at end of file
diff --git a/public/index.html b/public/index.html
index 4112125..6c6dbaf 100644
--- a/public/index.html
+++ b/public/index.html
@@ -425,7 +425,7 @@
       <p class="float-right">
         <a id="rgc_backtotop" href="#">Back to top</a>
       </p>
-      <p>&copy; HFT Stuttgart, 2020-2021.</p>
+      <p>&copy; HFT Stuttgart, 2020 - <span id="current-year"></span>.</p>
       <a href="https://www.hft-stuttgart.de/impressum" target="_blank">Impressum</a>
       <a href="https://www.hft-stuttgart.de/datenschutz" target="_blank">Datenschutz</a>
     </div>
diff --git a/public/js/add_content.js b/public/js/add_content.js
index 7fdbdaf..24bdc61 100644
--- a/public/js/add_content.js
+++ b/public/js/add_content.js
@@ -97,7 +97,7 @@ function addTeam(item) {
       }
     }
     var html_team = `
-        <div class="col-lg-3 col-md-6 mb-lg-0 mb-5">
+        <div class="col-lg-3 col-md-6 mb-lg-5 mb-5">
           <div class="avatar mx-auto">
             <img src="${item.imgUrl}" class="rounded-circle z-depth-1" width="150px">
           </div>
diff --git a/public/js/search.js b/public/js/search.js
index 8a66399..3a65f10 100644
--- a/public/js/search.js
+++ b/public/js/search.js
@@ -91,7 +91,8 @@ $(document).ready(function () {
         });
         changeLang();
     });
-
+    var currentYear = new Date().getFullYear();
+    document.getElementById('current-year').innerHTML = currentYear;   
 
     // get paper content is commented out for back up
     // $.getJSON("./content/paper2.json", function (result) {
-- 
GitLab