File tree Expand file tree Collapse file tree 2 files changed +38
-26
lines changed
Expand file tree Collapse file tree 2 files changed +38
-26
lines changed Original file line number Diff line number Diff line change @@ -3,31 +3,33 @@ import '../styles/hero.css';
33---
44
55<section class =" hero" >
6- <div class =" hero-content" >
7- <div class =" text-section" >
8- <h1 >简约优雅</h1 >
9- <p class =" text-2xl text-gray-400 mt-4 mb-8" >
10- 为极致体验而生<br >
11- 纯粹、克制、好用的 V2EX 客户端
12- </p >
13- <div class =" download-buttons" >
14- <a href =" https://play.google.com/store/apps/details?id=me.ghui.v2er"
15- class =" store-button"
16- target =" _blank" >
17- <i class =" fab fa-google-play" ></i >
18- Google Play Store
19- </a >
20- <a href =" https://apps.apple.com/app/id1596137027"
21- class =" store-button"
22- target =" _blank" >
23- <i class =" fab fa-apple" ></i >
24- Apple App Store
25- </a >
6+ <div class =" container" >
7+ <div class =" hero-content" >
8+ <div class =" text-section" >
9+ <h1 >简约优雅</h1 >
10+ <p class =" text-2xl text-gray-400 mt-4 mb-8" >
11+ 为极致体验而生<br >
12+ 纯粹、克制、好用的 V2EX 客户端
13+ </p >
14+ <div class =" download-buttons" >
15+ <a href =" https://play.google.com/store/apps/details?id=me.ghui.v2er"
16+ class =" store-button"
17+ target =" _blank" >
18+ <i class =" fab fa-google-play" ></i >
19+ Google Play Store
20+ </a >
21+ <a href =" https://apps.apple.com/app/id1596137027"
22+ class =" store-button"
23+ target =" _blank" >
24+ <i class =" fab fa-apple" ></i >
25+ Apple App Store
26+ </a >
27+ </div >
28+ </div >
29+ <div class =" preview-section" >
30+ <img src =" /image/android-screenshot.png" alt =" V2er Android 预览" class =" phone android" />
31+ <img src =" /image/ios-screenshot.png" alt =" V2er iOS 预览" class =" phone ios" />
2632 </div >
27- </div >
28- <div class =" preview-section" >
29- <img src =" /image/android-screenshot.png" alt =" V2er Android 预览" class =" phone android" />
30- <img src =" /image/ios-screenshot.png" alt =" V2er iOS 预览" class =" phone ios" />
3133 </div >
3234 </div >
3335</section >
Original file line number Diff line number Diff line change 11.hero {
2- @apply min-h-screen flex items-center relative overflow-hidden;
2+ width : 100% ;
3+ padding : 4rem 1rem ;
4+ }
5+
6+ .container {
7+ max-width : 1200px ;
8+ margin : 0 auto;
9+ padding : 0 1rem ;
310}
411
512.hero-content {
6- @apply container mx-auto flex flex-col lg:flex-row items-center gap-12;
13+ display : flex;
14+ align-items : center;
15+ justify-content : space-between;
16+ gap : 2rem ;
717}
818
919.text-section {
You can’t perform that action at this time.
0 commit comments