-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #287 from ethereumfollowprotocol/navbar-changes
navigation changes
- Loading branch information
Showing
33 changed files
with
518 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
'use client' | ||
|
||
import Link from 'next/link' | ||
import Image from 'next/image' | ||
import { useTheme } from 'next-themes' | ||
import { useTranslation } from 'react-i18next' | ||
|
||
import EnsDao from 'public/assets/sponsors/ensdao.svg' | ||
import Mask from 'public/assets/sponsors/masknetwork.svg' | ||
import Line from 'public/assets/lines/desktop/line-5.svg' | ||
import EnsDaoDark from 'public/assets/sponsors/ensdao-dark.svg' | ||
import MaskDark from 'public/assets/sponsors/masknetwork-dark.svg' | ||
|
||
const SupportedBy = () => { | ||
const { t } = useTranslation() | ||
const { resolvedTheme } = useTheme() | ||
|
||
return ( | ||
<div className='flex flex-col items-center gap-0 relative'> | ||
<Image | ||
src={Line} | ||
alt='line' | ||
width={3} | ||
height={154} | ||
className='absolute -bottom-[100px] lg:-bottom-[250px]' | ||
/> | ||
<div className='glass-card w-full flex flex-col gap-6 sm:gap-8 items-center px-4 py-6 mx-auto border-[3px] border-[#aaaaaa] text-dark-gray font-bold text-center text-sm rounded-3xl max-w-4xl'> | ||
<p className=' text-xl sm:text-2xl md:text-3xl font-bold'>{t('sponsors')}</p> | ||
<div className='items-center justify-center px-6 flex-col sm:flex-row w-full flex gap-4 sm:gap-8'> | ||
<Link target='_blank' rel='noopener noreferrer' href='https://ensdao.org/'> | ||
<Image | ||
src={resolvedTheme === 'dark' ? EnsDaoDark : EnsDao} | ||
width='180' | ||
alt='ens dao' | ||
className='mx-auto w-52 sm:w-60 rounded-[2rem] border-[3px] border-[#B879FF] hover:scale-110 transition-transform' | ||
/> | ||
</Link> | ||
<Link target='_blank' rel='noopener noreferrer' href='https://mask.io/'> | ||
<Image | ||
src={resolvedTheme === 'dark' ? MaskDark : Mask} | ||
width='180' | ||
alt='Mask Network' | ||
className='mx-auto w-52 sm:w-60 hover:scale-110 transition-transform border-[3px] rounded-[2rem] border-[#1C68F3]' | ||
/> | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default SupportedBy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.