Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0neerpat committed Jul 4, 2024
1 parent 00e4673 commit e0f28aa
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 43 deletions.
83 changes: 41 additions & 42 deletions src/containers/Bolts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useActiveWeb3React } from '~/hooks'
import Button from '~/components/Button'
import { MULTIPLIERS, QUESTS } from './quests'
import QuestBlock from './QuestBlock'
import Image from '~/assets/quests-img.png'
import styled from 'styled-components'
import Leaderboard from '~/containers/Bolts/Leaderboard'
import { useStoreState, useStoreActions } from '~/store'
Expand Down Expand Up @@ -120,46 +119,46 @@ const Container = styled.div`
color: ${(props) => props.theme.colors.accent};
`

const MessageBox = styled.div`
max-width: 800px;
margin-left: auto;
margin-right: auto;
border-radius: 4px;
background: ${(props) => props.theme.colors.gradientBg};
color: white;
padding-left: 28px;
display: flex;
align-items: center;
& h3 {
font-size: 32px;
font-weight: 700;
font-family: ${(props) => props.theme.family.headers};
margin-bottom: 10px;
line-height: 36px;
}
a {
text-decoration: underline;
color: white;
}
@media (max-width: 767px) {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding-left: 0;
padding-bottom: 36px;
padding-left: 25px;
padding-right: 25px;
border-radius: 0;
}
`

const Text = styled.div`
max-width: 400px;
`
// const MessageBox = styled.div`
// max-width: 800px;
// margin-left: auto;
// margin-right: auto;
// border-radius: 4px;
// background: ${(props) => props.theme.colors.gradientBg};
// color: white;
// padding-left: 28px;
// display: flex;
// align-items: center;

// & h3 {
// font-size: 32px;
// font-weight: 700;
// font-family: ${(props) => props.theme.family.headers};
// margin-bottom: 10px;
// line-height: 36px;
// }

// a {
// text-decoration: underline;
// color: white;
// }

// @media (max-width: 767px) {
// display: flex;
// flex-direction: column;
// align-items: center;
// text-align: center;
// padding-left: 0;
// padding-bottom: 36px;
// padding-left: 25px;
// padding-right: 25px;
// border-radius: 0;
// }
// `

// const Text = styled.div`
// max-width: 400px;
// `

const Title = styled.h2`
font-size: 34px;
Expand Down Expand Up @@ -215,6 +214,6 @@ const BtnWrapper = styled.div`
}
`

const Link = styled.a``
// const Link = styled.a``

export default Bolts
1 change: 0 additions & 1 deletion src/containers/Bolts/quests.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Button from '~/components/Button'
import { ExternalLink } from 'react-feather'
import styled from 'styled-components'
import Affiliate from './Affiliate'
import zealyLogo from '~/assets/zealy.svg'
import galxeLogo from '~/assets/galxe.svg'
import camelotLogo from '~/assets/camelot.svg'
Expand Down

0 comments on commit e0f28aa

Please sign in to comment.