diff --git a/public/content/content.json b/public/content/content.json index 063a08cf2dff7d52feb578beff9f5fd18a3e8b66..f8f11ed0968db3b5a48354198883d9ee35bf7558 100644 --- a/public/content/content.json +++ b/public/content/content.json @@ -6,7 +6,7 @@ "author": { "firstName": "Maxim", "lastName": "Rossknecht", - "hftURL": "#" + "hftURL": "https://www.researchgate.net/profile/Maxim-Rossknecht" }, "project_year_start": "2020", "project_year_end": "2020", diff --git a/public/css/main.css b/public/css/main.css index dbf43d81b78630dc783fddbf7f9264b0acf98424..aea0c765f5f62401936a9344a82bdac00870d4e9 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -111,7 +111,7 @@ a.button { /* min-height: 445px; */ /* max-height: 445px; */ /* margin: 20px; */ - height: 500px; + height: 610px; } .py-5{ diff --git a/public/js/add_content.js b/public/js/add_content.js index 66f7609cc1b0ff57c81803963a92c3066d7109e3..18d029ff7d0c8ddf3a4ecbee654e2b9610158908 100644 --- a/public/js/add_content.js +++ b/public/js/add_content.js @@ -9,11 +9,7 @@ function addcontent(item) { // Prepare YouTube Link // var array_contains_youtube = true - var YouTubeHTML = '' - if ('youtube' in item.links) { // to be replaced by if (item.YouTubelink) or so... - var YouTubelink = item.links.youtube // to be replaced by item.YouTubelink or so... - YouTubeHTML = `YouTube` - } + var description = "" if (lang_setting == "1") { description = item.item.description_en @@ -26,10 +22,22 @@ function addcontent(item) { } // Prepare Explore Link // var array_contains_explore_link = true + var YouTubeHTML = '' + if ('youtube' in item.links) { // to be replaced by if (item.YouTubelink) or so... + var YouTubelink = item.links.youtube // to be replaced by item.YouTubelink or so... + YouTubeHTML = ` YouTube` + } + var ExploreHTML = '' - if ('demo' in item.links) { // to be replaced by if (item.YouTubelink) or so... - var ExploreLink = item.links.demo // to be replaced by item.ExploreLink or so... - ExploreHTML = `Explore` + if ('demo' in item.links) { + var ExploreLink = item.links.demo + ExploreHTML = ` Explore` + } + + var publicationHTML = '' + if ('publication' in item.links) { + var publicationLink = item.links.publication + publicationHTML = ` Publication` } new_row.innerHTML = new_row.innerHTML + '