From 82a1fc0437bc4f84b702656022f514ec6ef2d13a Mon Sep 17 00:00:00 2001 From: Luca Burgio Date: Sat, 10 Feb 2024 10:41:49 +0100 Subject: [PATCH] revert: restored supporter avatars --- iconoir.com/pages/index.tsx | 77 +++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/iconoir.com/pages/index.tsx b/iconoir.com/pages/index.tsx index bc9b2d26..8d4d3cae 100644 --- a/iconoir.com/pages/index.tsx +++ b/iconoir.com/pages/index.tsx @@ -92,6 +92,44 @@ const Home: NextPage = ({ > Donate + + + + + + + Join our supporters and help us continue developing Iconoir. @@ -143,6 +181,45 @@ export const HeroDescription = styled(Text18)<{ topMargin?: number }>` } `; +const Supporters = styled.div` + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + margin-bottom: 8px !important; +`; +const Supporter = styled.div<{ src?: string }>` + width: 40px; + height: 40px; + border-radius: 50%; + background-color: #000; + margin: 0 10px; + background-image: url(${(props) => props.src}); + background-size: contain; + background-repeat: no-repeat; + background-position: center; + border: 2px solid white; + margin: 0 -4px; + transition: 0.2s; + &:hover { + scale: 1.1; + transition: 0.2s; + &:before { + content: attr(data-tooltip); + position: absolute; + bottom: 100%; + left: 50%; + transform: translateX(-50%); + background-color: black; + color: white; + padding: 5px; + border-radius: 3px; + white-space: nowrap; + font-size: 12px; + } + } +`; + const SupportContainer = styled.div` text-align: center; > * {