Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! feat: add manual webkit support for safari
Browse files Browse the repository at this point in the history
  • Loading branch information
RasenGUY committed Nov 9, 2023
1 parent 31c7cce commit ef3ac03
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/containers/NavigationMobile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ import {
} from '../Navigation/types';
import { NormalText } from '../../common/typography/types';
import { useHamburgerTween, useAnimateNav } from '../../hooks';
import 'twin.macro';
import tw, {styled} from 'twin.macro';

const NavLinksBackdropFilter = styled.div`
${tw`absolute top-0 right-0 w-full h-full z-[795] transition-wega-nav backdrop-opacity-[1] backdrop-blur-[15px] rounded-[5px]`}
-webkit-backdrop-filter: blur(15px);
`
export const NavigationMobile = () => {
const close = 1, open = 0;
const mobileLinksContainerRef = useRef<any>(null);
Expand Down Expand Up @@ -69,8 +73,8 @@ export const NavigationMobile = () => {
<Link to="https://app.wega.fun/3/" tw="w-full text-center"><NormalText tw="font-primary text-[21px] leading-[19px] text-transparent dark:bg-gradient-to-r from-oranjo-blanc to-oranjo bg-clip-text">Play Beta</NormalText></Link>
</div>
</div>
<div tw="absolute top-0 right-0 w-full h-full z-[795] transition-wega-nav backdrop-blur-[15px] backdrop-opacity-[1] rounded-[5px]">
</div>
<NavLinksBackdropFilter/>
{/* <div tw="" style={{ WebkitBackdropFilter: 'blur(15px)' }}></div> */}
</div>
</div>
</>
Expand Down

0 comments on commit ef3ac03

Please sign in to comment.