mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-27 15:22:56 +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"}
|
{isMobile ? "Incompatible Device" : "GO TO EDITOR"}
|
||||||
</Styles.StyledButton>
|
</Styles.StyledButton>
|
||||||
|
|
||||||
<Styles.StyledSponsorButton onClick={() => setModalVisible(true)}>
|
{!isMobile && (
|
||||||
Help JSON Visio Accomplish It's Goals
|
<>
|
||||||
<FaHeart />
|
<Styles.StyledSponsorButton onClick={() => setModalVisible(true)}>
|
||||||
</Styles.StyledSponsorButton>
|
Help JSON Visio Accomplish It's Goals
|
||||||
<GoalsModal visible={isModalVisible} setVisible={setModalVisible} />
|
<FaHeart />
|
||||||
|
</Styles.StyledSponsorButton>
|
||||||
|
<GoalsModal visible={isModalVisible} setVisible={setModalVisible} />
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</Styles.StyledHeroSection>
|
</Styles.StyledHeroSection>
|
||||||
|
|
||||||
<Styles.StyledPreviewSection>
|
<Styles.StyledPreviewSection>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user