Commit e69baa58 authored by Juan's avatar Juan
Browse files

Removed landing page announcement text

parent f466d11d
Pipeline #2068 passed with stages
in 2 minutes and 35 seconds
I"<h1 id="debug"><strong>debug</strong></h1>
<h3 id="15th18th-junelinz-austria"><strong>15th–18th June</strong><br /><strong>Linz, Austria</strong></h3>
:ET
\ No newline at end of file
......@@ -7,7 +7,7 @@ layout: main
<article class="main-content">
<div class="contributors-list-container">
{% for contributor in site.contributors %}
<div class="contributor-element">
<div class="contributor-element contributor-element-hover">
<a href="{{ site.baseurl }}{{ contributor.permalink }}">
<img src="{{ contributor.img_src }}" />
<h5>{{ contributor.name }}</h5>
......
......@@ -60,10 +60,23 @@ window.addEventListener("load", (event) => {
}
});
const contributorElement = document.getElementsByClassName("contributor-element");
const controlHoverActions = () => {
if (window.innerWidth <= 500) {
for (let i = 0; i < contributorElement.length; i++) {
contributorElement[0].classList.remove("contributor-element-hover");
contributorElement[0].classList.add("contributor-element-hover");
}
console.log(window.innerWidth);
}
};
window.addEventListener(
"resize",
function (event) {
setTextBlockFontSize();
controlHoverActions();
},
true
);
......
......@@ -5,5 +5,3 @@ layout: landing-page
# **debug**
### **15th–18th June**<br>**Linz, Austria**
#### **Contributors and locations<br>to be announced soon**
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment