Skip to content

Commit

Permalink
feat: update feature, remove version information
Browse files Browse the repository at this point in the history
  • Loading branch information
falsy committed May 21, 2024
1 parent 059fd9c commit 71044e6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 13 deletions.
22 changes: 22 additions & 0 deletions src/components/Feature.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ export default () => {
<p>
{t('Add AD blocking')}
</p>
<ul>
<li><input type='checkbox' checked disabled={true} />AdSense</li>
<li><input type='checkbox' checked disabled={true} />YouTube</li>
<li><input type='checkbox' disabled={true} />Other</li>
</ul>
</li>
<li>
<p>
Expand Down Expand Up @@ -62,6 +67,7 @@ const $featureList = styled.div`
&:not(:first-of-type) {
margin-top: 10px;
}
p {
font-size: 20px;
line-height: 24px;
Expand All @@ -85,6 +91,22 @@ const $featureList = styled.div`
opacity: 0.1;
}
}
ul {
margin-bottom: 15px;
li {
display: flex;
align-items: center;
font-size: 16px;
list-style: none;
&:first-of-type {
margin-top: 10px;
}
input {
margin: 0 5px 0 0;
}
}
}
}
}
`
Expand Down
13 changes: 0 additions & 13 deletions src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export default () => {
{t('Download for MacOS')}
</button>
</a>
<$version><p><span>v</span>1.0.0</p></$version>
</$buttonBox>
</$mainText>
<$mainImage>
Expand Down Expand Up @@ -160,18 +159,6 @@ const $buttonBox = styled.div`
}
`

const $version = styled.div`
font-size: 14px;
margin: 1px 0 0 10px;
color: #999;
p {
span {
display: inline-block;
margin-right: 2px;
}
}
`

const $mainImage = styled.div`
width: 50%;
display: flex;
Expand Down

0 comments on commit 71044e6

Please sign in to comment.