Skip to content

Commit

Permalink
REFACTORING Updated banners and footer [DONE]
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahitya777 committed Nov 21, 2023
1 parent ccc6851 commit ccb2ff2
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 19 deletions.
12 changes: 6 additions & 6 deletions src/components/Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ const Content = () => {
// Array of texts and links
const texts = [
{
text: 'V1 mainnet is live ',
link: 'https://app.hashstack.finance//',
text: 'Airdrop for mainnet v1 ',
link: 'https://app.hashstack.finance/',
},
{
text: 'Referral Campaign is live ',
link: 'https://your-other-link.com//',
link: 'https://your-other-link.com/',
},
];

Expand All @@ -49,7 +49,7 @@ const Content = () => {
<Box mb="4rem" height="44px" display="flex" alignItems="center">
<Box fontSize="20px" fontWeight="500" lineHeight="20px" letterSpacing="-0.10px" ml="2rem" display="flex" alignItems="center">
<Text color="#00D395" mr="0.6rem" background="rgba(217, 217, 217, 0.10)" padding="9px 16px" borderRadius="10px">
Latest
Launched
</Text>
<Text
_hover={{ color: '#8C8C9B' }}
Expand All @@ -68,7 +68,7 @@ const Content = () => {
/>
</Link>
</Text>
<Text
{/* <Text
_hover={{ color: '#8C8C9B' }}
mr="0.6rem" background="rgba(217, 217, 217, 0.10)" padding="9px 16px" borderRadius="10px"
cursor="pointer"
Expand All @@ -84,7 +84,7 @@ const Content = () => {
// maxHeight="100px"
/>
</Link>
</Text>
</Text> */}

</Box>
</Box>
Expand Down
28 changes: 26 additions & 2 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,19 @@ const Footer = () => {
cursor="pointer"
_hover={{color:"#00D395"}}
>
Tokenomics
Hashtokens
</Text>
<Text
color="#8C8C9B"
fontSize="14px"
fontStyle="normal"
fontWeight="500"
lineHeight="20px"
cursor="pointer"
_hover={{color:"#00D395"}}

>
Referral Leaderboard
</Text>
<Link href="https://hashstack.finance/c2e" target="_blank">
<Text
Expand Down Expand Up @@ -328,7 +340,19 @@ const Footer = () => {
_hover={{color:"#00D395"}}

>
Tokenomics
Hashtokens
</Text>
<Text
color="#8C8C9B"
fontSize="14px"
fontStyle="normal"
fontWeight="500"
lineHeight="20px"
cursor="pointer"
_hover={{color:"#00D395"}}

>
Referral Leaderboard
</Text>
<Link href="https://hashstack.finance/c2e" target="_blank">
<Text
Expand Down
10 changes: 5 additions & 5 deletions src/components/IpadView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const IpadView = () => {
// Array of texts and links
const texts = [
{
text: 'V1 mainnet is live ',
text: 'Airdrop for mainnet v1 ',
link: 'https://app.hashstack.finance//',
},
{
Expand Down Expand Up @@ -93,10 +93,10 @@ const IpadView = () => {
<source src="/landingPage_illustration.mp4" type="video/mp4" />
</video> */}
</Box>
<Box mt="2rem" height="35px" display="flex" alignItems="center" justifyContent="center">
<Box mt="2rem" mb="2rem" height="35px" display="flex" alignItems="center" justifyContent="center">
<Box fontSize="20px" fontWeight="500" lineHeight="20px" letterSpacing="-0.15px" ml="1.5rem" whiteSpace="nowrap" display="flex" alignItems="center">
<Text color="#00D395" mr="0.6rem" background="rgba(217, 217, 217, 0.10)" padding="9px 16px" borderRadius="10px">
Latest
Launched
</Text>
<Text
_hover={{ color: '#8C8C9B' }}
Expand All @@ -117,7 +117,7 @@ const IpadView = () => {
</Box>

</Box>
<Box mb="2rem" mt="1rem" height="35px" display="flex" alignItems="center" >
{/* <Box mb="2rem" mt="1rem" height="35px" display="flex" alignItems="center" >
<Text
_hover={{ color: '#8C8C9B' }}
background="rgba(217, 217, 217, 0.10)" padding="9px 23px" borderRadius="10px"
Expand All @@ -135,7 +135,7 @@ const IpadView = () => {
/>
</Link>
</Text>
</Box>
</Box> */}

<Box display="flex" flexDirection="column" justifyContent="center">
<Image
Expand Down
20 changes: 19 additions & 1 deletion src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,25 @@ const Navbar = () => {
border="1px solid rgb(26, 26, 31)"
margin="0"
>
Tokenomics
Hashtokens
</Text>
<Text
color="#fff"
fontSize="14px"
fontStyle="normal"
fontWeight="500"
lineHeight="20px"
cursor="pointer"
width="100%"
textAlign="center"
height="64px"
display="flex"
alignItems="center"
justifyContent="center"
border="1px solid rgb(26, 26, 31)"
margin="0"
>
Referral Leaderboard
</Text>
<Box>
</Box>
Expand Down
10 changes: 5 additions & 5 deletions src/components/mobileView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const MobileView = () => {
// Array of texts and links
const texts = [
{
text: 'V1 mainnet is live ',
text: 'Airdrop for mainnet v1 ',
link: 'https://app.hashstack.finance//',
},
{
Expand Down Expand Up @@ -79,10 +79,10 @@ const MobileView = () => {
<source src="/landingPage_illustration.mp4" type="video/mp4" />
</video> */}
</Box>
<Box mt="1rem" height="35px" display="flex" alignItems="center" justifyContent="center">
<Box mt="1rem" mb="2rem" height="35px" display="flex" alignItems="center" justifyContent="center">
<Box fontSize="16px" fontWeight="500" lineHeight="20px" letterSpacing="-0.15px" display="flex" alignItems="center">
<Text color="#00D395" mr="0.4rem" background="rgba(217, 217, 217, 0.10)" padding="9px 16px" borderRadius="10px">
Latest
Launched
</Text>

<Text
Expand All @@ -103,7 +103,7 @@ const MobileView = () => {
</Text>
</Box>
</Box>
<Box mb="2rem" mt="1rem" mr="1.3rem" height="35px" display="flex" alignItems="center" justifyContent="center" >
{/* <Box mb="2rem" mt="1rem" mr="1.3rem" height="35px" display="flex" alignItems="center" justifyContent="center" >
<Text
_hover={{ color: '#8C8C9B' }}
background="rgba(217, 217, 217, 0.10)" padding="9px 23px" borderRadius="10px"
Expand All @@ -121,7 +121,7 @@ const MobileView = () => {
/>
</Link>
</Text>
</Box>
</Box> */}
<Box display="flex" flexDirection="column" justifyContent="center">
<Image
src="/maxBorrow.svg"
Expand Down

0 comments on commit ccb2ff2

Please sign in to comment.