File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy Landing Page
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout repository
13+ uses : actions/checkout@v4
14+
15+ - name : Setup Pages
16+ uses : actions/configure-pages@v4
17+
18+ - name : Upload artifact
19+ uses : actions/upload-pages-artifact@v3
20+ with :
21+ path : ' docs/pages'
22+
23+ - name : Deploy to GitHub Pages
24+ id : deployment
25+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+ body {
2+ font-family : sans-serif;
3+ margin : 0 ;
4+ background-color : # f8f8fa ;
5+ color : # 333 ;
6+ }
7+
8+ header {
9+ background-color : # fff ;
10+ padding : 20px ;
11+ text-align : center;
12+ border-bottom : 1px solid # eee ;
13+ }
14+
15+ main {
16+ max-width : 800px ;
17+ margin : 0 auto;
18+ padding : 20px ;
19+ }
20+
21+ # hero {
22+ text-align : center;
23+ margin-bottom : 40px ;
24+ }
25+
26+ # hero img {
27+ max-width : 100% ;
28+ border-radius : 8px ;
29+ }
30+
31+ .cta-button {
32+ display : inline-block;
33+ background-color : # 007aff ;
34+ color : # fff ;
35+ padding : 15px 30px ;
36+ text-decoration : none;
37+ border-radius : 5px ;
38+ margin-top : 20px ;
39+ }
40+
41+ # features ul {
42+ list-style : none;
43+ padding : 0 ;
44+ display : flex;
45+ justify-content : space-around;
46+ }
47+
48+ # features li {
49+ text-align : center;
50+ }
51+
52+ .icon {
53+ font-size : 2em ;
54+ display : block;
55+ margin-bottom : 10px ;
56+ }
57+
58+ footer {
59+ text-align : center;
60+ padding : 20px ;
61+ margin-top : 40px ;
62+ border-top : 1px solid # eee ;
63+ }
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="ja ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6+ < title > TrackWeight - MacBookをデジタルスケールに</ title >
7+ < link rel ="stylesheet " href ="css/style.css ">
8+ </ head >
9+ < body >
10+ < header >
11+ < h1 > TrackWeight</ h1 >
12+ < p > MacBookのトラックパッドを精密デジタルスケールに変えよう</ p >
13+ </ header >
14+
15+ < main >
16+ < section id ="hero ">
17+ < img src ="https://github.com/user-attachments/assets/7eaf9e0b-3dec-4829-b868-f54a8fd53a84 " alt ="TrackWeight Screenshot ">
18+ < a href ="https://github.com/krishkrosh/TrackWeight/releases " class ="cta-button "> 最新版をダウンロード</ a >
19+ </ section >
20+
21+ < section id ="features ">
22+ < h2 > 機能</ h2 >
23+ < ul >
24+ < li > < span class ="icon "> ⚖️</ span > 高精度な重量測定</ li >
25+ < li > < span class ="icon "> 👆</ span > 簡単な操作</ li >
26+ < li > < span class ="icon "> 💻</ span > Force Touch搭載のMacBookに対応</ li >
27+ </ ul >
28+ </ section >
29+
30+ < section id ="how-to-use ">
31+ < h2 > 使い方</ h2 >
32+ < ol >
33+ < li > スケールを開きます。</ li >
34+ < li > トラックパッドに指を置きます。</ li >
35+ < li > 指を触れたまま、測定したいものをトラックパッドに乗せます。</ li >
36+ < li > できるだけ圧力をかけずに指を触れ続けると、重さが表示されます。</ li >
37+ </ ol >
38+ </ section >
39+
40+ < section id ="requirements ">
41+ < h2 > 要件</ h2 >
42+ < ul >
43+ < li > macOS 13.0+ (Ventura以降)</ li >
44+ < li > Force Touchトラックパッド搭載のMacBook (2015年以降)</ li >
45+ </ ul >
46+ </ section >
47+ </ main >
48+
49+ < footer >
50+ < p > © 2024 TrackWeight. All rights reserved.</ p >
51+ </ footer >
52+
53+ < script src ="js/main.js "> </ script >
54+ </ body >
55+ </ html >
Original file line number Diff line number Diff line change 1+ // main.js
You can’t perform that action at this time.
0 commit comments