Skip to content

Commit

Permalink
Merge branch 'main' into bust-sponsors-image-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
elcuervo authored Jan 8, 2025
2 parents 5285c98 + 1f1bb52 commit c571821
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v3

- name: Setup Ruby
uses: ruby/setup-ruby@v1.171.0
uses: ruby/setup-ruby@v1
with:
bundler-cache: true

Expand Down
7 changes: 7 additions & 0 deletions _data/companies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,10 @@ howdy:
image: /images/sponsors/howdy.svg
address: F. García Cortinas 2357
address_url: https://maps.app.goo.gl/V9VASexXVijNw64p7

mimiquate:
name: Mimiquate
url: https://www.mimiquate.com
image: /images/sponsors/mimiquate.svg
address: Bv. España 2480
address_url: https://maps.app.goo.gl/KUqohrMxJdLubP596
2 changes: 1 addition & 1 deletion _data/sponsors.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
- rootstrap
- gogrow
- neocoast
- eagerworks
- cedarcode
- howdy
- xmartlabs
- effectussoftware
- mimiquate
13 changes: 6 additions & 7 deletions _sass/sponsors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
overflow: hidden;

ul {
padding-left: 2rem;
padding-left: 3rem;
padding-top: 2rem;
padding-bottom: 2rem;
display: flex;
align-items: center;
gap: 2rem;
gap: 3rem;
border-top: 2px solid black;
background-color: #F6EEEC;

Expand All @@ -25,11 +27,8 @@

li {
img {
width: 12rem;

@media (max-width: 425px) {
width: 8rem;
}
max-width: 12rem;
height: 3rem;
}
}
}
Expand Down
10 changes: 3 additions & 7 deletions assets/js/sponsors.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
document.addEventListener("DOMContentLoaded", () => {
const sponsorsList = document.querySelector("#sponsors-list ul")
duplicate(sponsorsList, {times: 2})
addAnimationToSponsorsLists()
})

function addAnimationToSponsorsLists() {
const sponsorsLists = document.querySelectorAll("#sponsors-list ul");
sponsorsLists.forEach((sponsorsList) => duplicate(sponsorsList, { times: 2 }));
document.querySelectorAll("#sponsors-list ul").forEach(list => {
list.classList.add("infinite-horizontal-animation")
})
}
});
6 changes: 6 additions & 0 deletions images/sponsors/mimiquate.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/sponsors/xmartlabs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<article>
<section>
{% include sponsors.html %}
{% include meetups.html %}
{% include sponsors.html %}
</section>
Expand Down

0 comments on commit c571821

Please sign in to comment.