Skip to content

Commit

Permalink
Changed sponsors style
Browse files Browse the repository at this point in the history
  • Loading branch information
sajochems committed Dec 2, 2023
1 parent b635220 commit e23e0f2
Show file tree
Hide file tree
Showing 11 changed files with 48 additions and 10 deletions.
17 changes: 14 additions & 3 deletions src/components/sponsors/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,37 @@ export const sponsorItem = (category: SponsorCategory) => {
return (
<Fragment>
<h3>{category.title}</h3>
<p>More too be announced!</p>
<ul class={style.sponsorlist}>
{sponsors.map((sponsor: Sponsor) => (
<li key={sponsor.logoKey} data-type={category.type}>

<a
href={sponsor.url}
target="_blank"
rel="noopener"
title={sponsor.title}
>

<div class={style.topbar}>
<hr/>
</div>

<div class={style.img}>
<img
src={sponsorLogoMap[
sponsor.logoKey
].toString()}
alt={sponsor.title}
/>

</div>
<p>{sponsor.title}</p>

<div class={style.bottombar}>
<hr/>
</div>
<p>{sponsor.title}</p>
</a>

</a>
</li>
))}
</ul>
Expand Down
41 changes: 34 additions & 7 deletions src/components/sponsors/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,22 @@
font-weight: 400;
line-height: normal;
text-align: center;
margin: 0;
margin-bottom: 32px;
margin-bottom: 64px;
padding-left: 2px;
}

h3 {
color: $primary-color;
font-family: "Krona-One";
font-size: 32px;
font-style: normal;
font-weight: 400;
line-height: normal;
text-align: center;
margin: 0;
margin-bottom: 64px;
padding-left: 2px;
}

}

.sponsorlist {
Expand All @@ -42,27 +43,53 @@
justify-content: center;
}

.topbar{

hr {
margin-bottom: 10px;
height: 2px;
width: 100%;
color: #84C1EE;
background-color: #84C1EE;
}
}

.bottombar {

hr {
margin-top: 10px;
height: 2px;
width: 75%;
color: #84C1EE;
background-color: #84C1EE;
}
}

.img {
display: flex;
padding: 8px;
border: 3px solid currentColor;
border-radius: 12px;
background-color: $sponsor-background;

img {
width: 100%;
height: 120px;
object-fit: contain;
}


}

a {
text-decoration: none;
}

p {
margin: 8px 0 0 0;
color: #FFF;
text-align: center;
font-family: Krona One;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: normal;
}

[data-type="organisation"] > * {
Expand Down
Binary file removed static/sponsors/bit.png
Binary file not shown.
Binary file removed static/sponsors/bwl.png
Binary file not shown.
Binary file removed static/sponsors/cgi.png
Binary file not shown.
Binary file modified static/sponsors/ch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/sponsors/ded.png
Binary file not shown.
Binary file removed static/sponsors/elastic.png
Binary file not shown.
Binary file removed static/sponsors/ind.png
Binary file not shown.
Binary file removed static/sponsors/kleine.png
Binary file not shown.
Binary file removed static/sponsors/koro.png
Binary file not shown.

0 comments on commit e23e0f2

Please sign in to comment.