Skip to content

Commit

Permalink
[INJIWEB-126]: remove download on mobile images and add links for docs
Browse files Browse the repository at this point in the history
Signed-off-by: Vijay <[email protected]>
  • Loading branch information
vijay151096 committed Apr 15, 2024
1 parent 6ad9ca0 commit b01193c
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions inji-web/src/pages/PageTemplate/Navbar.jsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
import * as React from 'react';
import Box from '@mui/material/Box';
import Container from '@mui/material/Container';
import Tooltip from '@mui/material/Tooltip';
import {Grid} from "@mui/material";

import {InjiNavbar, StyledGridItem, StyledLink, StyledToolbar} from "./styles";
import {useNavigate} from 'react-router-dom';
import logo from "../../assets/inji-logo.png";
import DownloadAppStore from '../../assets/DownloadAppStore.svg';
import DownloadFromGooglePlay from '../../assets/DownloadFromPlay.svg';

const links = ["About MOSIP"];

function Navbar(props) {

Expand All @@ -23,30 +19,11 @@ function Navbar(props) {
<StyledGridItem item xs={3} onClick={() => {navigate('/')}}>
<img src={logo} alt='logo' width='140px' height='70px'/>
</StyledGridItem>
<StyledGridItem item xs={5.5} style={{justifyContent: 'end'}}>
<StyledGridItem item xs={9} style={{justifyContent: 'end'}}>
<Box>
{
links.map((link) => (
<StyledLink key={link}>{link}</StyledLink>
))
}
{/* <Tooltip title="Download INJI">
<DownloadButton>
<Typography variant='body1' style={{font: "normal normal 600 14px/16px Inter", textTransform: "none"}}>
Download Inji
</Typography>
</DownloadButton>
</Tooltip> */}
<StyledLink href={"https://docs.mosip.io/inji"}>{"About Inji"}</StyledLink>
</Box>
</StyledGridItem>
<StyledGridItem item xs={3.5} style={{justifyContent: 'end'}}>
<Tooltip title="Download INJI">
<img src={DownloadAppStore} width='155px' height='50px' style={{margin:'10px'}}/>
</Tooltip>
<Tooltip title="Download INJI">
<img src={DownloadFromGooglePlay} width='155px' height='50px' style={{margin:'10px'}}/>
</Tooltip>
</StyledGridItem>
</Grid>
</StyledToolbar>
</Container>
Expand Down

0 comments on commit b01193c

Please sign in to comment.