Skip to content

Commit

Permalink
update home intro text
Browse files Browse the repository at this point in the history
  • Loading branch information
lgh06 committed Apr 22, 2022
1 parent 971bcaa commit 0bbc948
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/web/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const Home: NextPage = () => {
locale === 'zh' && <>
<h3>云端检测网页指定区域的文字变化, 发送Email通知</h3>
<h3>公开网页,均可检测,免插件免挂机</h3>
<h3>每月免费80次检测, 公开源码, 可以自己部署</h3>
<h3>每月免费80次检测. 公开源码, 支持自己部署</h3>
<h3>基于Next.js, MongoDB, RabbitMQ, puppeteer,高负载可扩展</h3>
</>
}
Expand Down
14 changes: 12 additions & 2 deletions packages/web/src/styles/modules/Home.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
// @media screen and (max-width: 768px) {
// height: auto;
// }
padding: 4rem 0;
padding: 2rem 0;
margin-top: 0;
@media screen and (max-width: 768px) {
padding: .5rem 0;
}
flex: 1;
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -70,6 +74,9 @@
margin: 3vh 0;
font-family: Georgia, 'Times New Roman', Times, serif;
color: rgb(0, 0, 50);
@media screen and (max-width: 840px) {
zoom: .8
}
h3{
margin: .3em 0;
&:nth-of-type(3){
Expand All @@ -79,7 +86,10 @@
zoom:.8
}
&:nth-of-type(4){
zoom:.6
zoom:.6;
@media screen and (max-width: 768px) {
display: none;
}
}
}
}
Expand Down

0 comments on commit 0bbc948

Please sign in to comment.