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 to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : " pages"
15+ cancel-in-progress : false
16+
17+ jobs :
18+ deploy :
19+ environment :
20+ name : github-pages
21+ url : ${{ steps.deployment.outputs.page_url }}
22+ runs-on : ubuntu-latest
23+ steps :
24+ - name : Checkout
25+ uses : actions/checkout@v4
26+
27+ - name : Setup Pages
28+ uses : actions/configure-pages@v5
29+
30+ - name : Upload artifact
31+ uses : actions/upload-pages-artifact@v3
32+ with :
33+ path : ' .'
34+
35+ - name : Deploy to GitHub Pages
36+ id : deployment
37+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1+ # ART Star Count Display
2+
3+ A simple website that displays the current star count for the [ OpenPipe/ART] ( https://github.com/OpenPipe/ART ) GitHub repository.
4+
5+ ## Features
6+ - Large, tasteful display of star count
7+ - Auto-refreshes every 30 seconds
8+ - Loads live count on page load
9+ - Clean, modern design
10+
11+ ## Deployment
12+
13+ ### Option 1: Vercel (Recommended - Easiest)
14+ 1 . Go to [ vercel.com] ( https://vercel.com )
15+ 2 . Sign up/login with GitHub
16+ 3 . Click "Add New..." → "Project"
17+ 4 . Import this repository or drag the ` art-star-count ` folder
18+ 5 . Click "Deploy"
19+
20+ ### Option 2: Netlify Drop
21+ 1 . Go to [ app.netlify.com/drop] ( https://app.netlify.com/drop )
22+ 2 . Drag the ` art-star-count ` folder into the browser
23+ 3 . Your site will be deployed instantly
24+
25+ ### Option 3: GitHub Pages
26+ 1 . Create a new GitHub repository
27+ 2 . Push this code to the repository
28+ 3 . Go to Settings → Pages
29+ 4 . Enable GitHub Pages from the main branch
30+ 5 . Your site will be available at ` https://[username].github.io/[repo-name] `
31+
32+ ## Local Development
33+ ``` bash
34+ # Using Python
35+ python -m http.server 8000
36+
37+ # Or using Node.js
38+ npx http-server
39+ ```
40+
41+ Then open http://localhost:8000 in your browser.
Original file line number Diff line number Diff line change 1919 .container {
2020 text-align : center;
2121 background : white;
22- padding : 3 rem 4 rem ;
22+ padding : 5 vw 6 vw ;
2323 border-radius : 20px ;
2424 box-shadow : 0 20px 40px rgba (0 , 0 , 0 , 0.1 );
2525 transition : transform 0.3s ease;
26+ width : 90vw ;
27+ max-width : 1200px ;
2628 }
2729
2830 .container : hover {
3133
3234 h1 {
3335 color : # 2d3748 ;
34- font-size : 2. 5rem ;
35- margin-bottom : 2 rem ;
36+ font-size : clamp ( 3 rem , 6 vw , 5rem ) ;
37+ margin-bottom : 3 vh ;
3638 font-weight : 600 ;
3739 }
3840
3941 .star-count {
40- font-size : 5 rem ;
42+ font-size : clamp ( 6 rem , 12 vw , 10 rem ) ;
4143 font-weight : 700 ;
4244 color : # 4a5568 ;
43- margin : 1 rem 0 ;
45+ margin : 2 vh 0 ;
4446 display : flex;
4547 align-items : center;
4648 justify-content : center;
47- gap : 1 rem ;
49+ gap : 2 vw ;
4850 }
4951
5052 .star-icon {
5153 color : # f6e05e ;
52- font-size : 4 rem ;
54+ font-size : clamp ( 5 rem , 10 vw , 8 rem ) ;
5355 }
5456
5557 .loading {
5658 color : # 718096 ;
57- font-size : 3rem ;
59+ font-size : clamp ( 3rem , 6 vw , 5 rem ) ;
5860 }
5961
6062 .error {
6163 color : # e53e3e ;
62- font-size : 1.5rem ;
64+ font-size : clamp ( 1.5rem , 3 vw , 2.5 rem ) ;
6365 }
6466
6567 .refresh-info {
6668 color : # 718096 ;
67- font-size : 0.9 rem ;
68- margin-top : 2 rem ;
69+ font-size : clamp ( 1 rem , 2 vw , 1.5 rem ) ;
70+ margin-top : 3 vh ;
6971 }
7072
7173 .github-link {
72- margin-top : 1.5 rem ;
74+ margin-top : 2 vh ;
7375 display : inline-block;
7476 color : # 4a5568 ;
7577 text-decoration : none;
76- font-size : 1.1 rem ;
78+ font-size : clamp ( 1.2 rem , 2.5 vw , 2 rem ) ;
7779 transition : color 0.3s ease;
7880 }
7981
8082 .github-link : hover {
8183 color : # 2d3748 ;
8284 }
85+
86+ @media (orientation : portrait) {
87+ .container {
88+ padding : 8vw ;
89+ }
90+
91+ h1 {
92+ font-size : clamp (4rem , 8vw , 6rem );
93+ }
94+
95+ .star-count {
96+ font-size : clamp (8rem , 16vw , 12rem );
97+ }
98+
99+ .star-icon {
100+ font-size : clamp (6rem , 12vw , 10rem );
101+ }
102+ }
83103 </ style >
84104</ head >
85105< body >
You can’t perform that action at this time.
0 commit comments