mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
fix mobile modal
This commit is contained in:
parent
136f4f94ef
commit
4df6cd6f95
@ -66,11 +66,15 @@ const Home: React.FC = () => {
|
||||
{isMobile ? "Incompatible Device" : "GO TO EDITOR"}
|
||||
</Styles.StyledButton>
|
||||
|
||||
<Styles.StyledSponsorButton onClick={() => setModalVisible(true)}>
|
||||
Help JSON Visio Accomplish It's Goals
|
||||
<FaHeart />
|
||||
</Styles.StyledSponsorButton>
|
||||
<GoalsModal visible={isModalVisible} setVisible={setModalVisible} />
|
||||
{!isMobile && (
|
||||
<>
|
||||
<Styles.StyledSponsorButton onClick={() => setModalVisible(true)}>
|
||||
Help JSON Visio Accomplish It's Goals
|
||||
<FaHeart />
|
||||
</Styles.StyledSponsorButton>
|
||||
<GoalsModal visible={isModalVisible} setVisible={setModalVisible} />
|
||||
</>
|
||||
)}
|
||||
</Styles.StyledHeroSection>
|
||||
|
||||
<Styles.StyledPreviewSection>
|
||||
|
Loading…
x
Reference in New Issue
Block a user