Skip to content

Commit

Permalink
partners: add conta aberta
Browse files Browse the repository at this point in the history
  • Loading branch information
macabeus committed Sep 2, 2024
1 parent a25e1b5 commit 0f0dafc
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 6 deletions.
2 changes: 2 additions & 0 deletions l10n/en.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ partners--become-a-partner = _
.href = { $assets }/mediakit-en.pdf
.src = { $assets }/become-a-partner.png
.alt = The GambiConf mascot holding a lifting a board written 'Become a partner'
partners--sponsors = Sponsors
partners--supporters = Supporters
## Footer

Expand Down
2 changes: 2 additions & 0 deletions l10n/pt.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ partners--become-a-partner = _
.href = { $assets }/mediakit-pt.pdf
.src = { $assets }/seja-parceiro.png
.alt = The GambiConf mascot holding a lifting a board written 'Become a partner'
partners--sponsors = Patrocinador
partners--supporters = Apoiador
## Footer

Expand Down
38 changes: 32 additions & 6 deletions src/components/RowPartners.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@
</script>

<Window title={$t("partners--title")}>
<div class="content">
<h3 class="title"><Localized id="partners--sponsors" /></h3>

<div class="grid grid-sponsors">
<a href={`https://contaaberta.info/?${utmSource}`} target="_blank" rel="noopener">
<img src={`${assets}/conta-aberta.png`} alt="Conta Aberta" />
</a>
</div>

<h3 class="title"><Localized id="partners--supporters" /></h3>

<div class="grid grid-partners">
<a href={`https://symcomp.ime.usp.br/?${utmSource}`} target="_blank" rel="noopener">
<img src={`${assets}/symcomp.png`} alt="SymComp" />
</a>
Expand All @@ -33,16 +43,20 @@
</Window>

<style>
.content {
.title {
padding: 10px 25px;
margin: 0;
}
.grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
justify-items: center;
gap: 25px;
padding: 25px;
}
.content img {
.grid img {
height: 175px;
transition: filter 0.75s;
filter: grayscale(1);
Expand All @@ -51,12 +65,24 @@
object-fit: contain;
}
.content img:hover {
.grid img:hover {
filter: grayscale(0);
}
.grid-sponsors {
grid-template-columns: repeat(1, 1fr);
}
.grid-sponsors img {
height: 100px;
}
.grid-partners {
grid-template-columns: repeat(2, 1fr);
}
@media screen and (min-width: 768px) {
.content {
.grid-partners {
grid-template-columns: repeat(3, 1fr);
}
}
Expand Down
Binary file added static/conta-aberta.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0f0dafc

Please sign in to comment.