Skip to content

Website/conf/sponsor: Add TheGraph logo #1465

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions src/assets/css/_css/brand.less
Original file line number Diff line number Diff line change
Expand Up @@ -268,23 +268,41 @@
}
.zoom-platinum {
transition: transform .2s; /* Animation */
width: 299px;
width: 300px;
height: 153px;
cursor: pointer;
}
.zoom-platinum:hover {
transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
.zoom-gold {
transition: transform .2s; /* Animation */
width: 250px;
height: 128px;
cursor: pointer;
}
.zoom-gold:hover {
transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
.zoom-silver {
transition: transform .2s; /* Animation */
width: 208px;
height: 106px;
cursor: pointer;
}

.zoom-silver:hover {
transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
.zoom-bronze {
transition: transform .2s; /* Animation */
width: 144px;
height: 103px;
cursor: pointer;
}

.zoom-bronze:hover {
transform: scale(1.1); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}
.zoom-partner {
transition: transform .2s; /* Animation */
width: 158px;
Expand Down
28 changes: 28 additions & 0 deletions src/components/Conf/Sponers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { ReactComponent as Stellate } from "../../../../static/img/conf/Sponsors
import { ReactComponent as Postman } from "../../../../static/img/conf/Sponsors/Postman.svg"
import { ReactComponent as Solo } from "../../../../static/img/conf/Sponsors/Solo.svg"
import { ReactComponent as Hasura } from "../../../../static/img/conf/Sponsors/Hasura.svg"
import { ReactComponent as TheGraph } from "../../../../static/img/conf/Sponsors/TheGraph.svg"

interface Image {
iconPath: string
Expand Down Expand Up @@ -42,6 +43,14 @@ const sponsorPlatinum: Image[] = [
},
]

const sponsorGold: Image[] = [
{
iconPath: TheGraph,
name: "The Graph",
link: "https://thegraph.com/",
},
]

const sponsorSilver: Image[] = [
{
iconPath: Stellate,
Expand Down Expand Up @@ -90,6 +99,25 @@ const SponsersConf = () => {
</a>
))}
</div>

<h3 className="text-center text-[--rhodamine] font-bold my-10 underline underline-offset-8">
GOLD
</h3>
<div className="flex justify-center items-start flex-wrap gap-[20px]">
{sponsorGold
.sort((a, b) => alphabetSort(a, b))
.map((sponsor, i) => (
<a
key={i}
className="zoom-gold flex flex-col items-center text-center w-full h-full"
href={sponsor.link}
target="_blank"
>
<sponsor.iconPath />
</a>
))}
</div>

<h3 className="text-center text-[--rhodamine] font-bold my-20 underline underline-offset-8">
SILVER
</h3>
Expand Down
28 changes: 28 additions & 0 deletions static/img/conf/Sponsors/TheGraph.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.