Skip to content

Commit fb4e4d5

Browse files
committed
Merge branch 'master' of github.com:cornell-dti/carriage-web into sl2663/greyHolidays
2 parents 9cceb74 + 17eb2fb commit fb4e4d5

39 files changed

+2081
-639
lines changed

.github/workflows/ci-check.yml

+19-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: CI Check
22
on: push
3-
43
jobs:
54
check:
65
runs-on: ubuntu-latest
@@ -10,11 +9,25 @@ jobs:
109
uses: actions/setup-node@v1
1110
with:
1211
node-version: '20.x'
13-
- name: Install Dependencies
14-
run: npm install
12+
- name: Clean Install
13+
run: |
14+
rm -rf node_modules
15+
rm -rf package-lock.json
16+
npm cache clean --force
17+
npm install
18+
echo "Prettier version:"
19+
npx prettier --version
20+
- name: Debug Prettier
21+
run: |
22+
echo "Files to be checked:"
23+
npx prettier --list-different "**/*.{ts,js,tsx,jsx,css}"
24+
echo "Checking specific file:"
25+
npx prettier --check "frontend/src/pages/Landing/Landing.tsx"
26+
echo "Running full check:"
27+
ls -la frontend/src/pages/Landing/
28+
cat frontend/src/pages/Landing/Landing.tsx | od -c
29+
npm run format:check
1530
- name: Run Linter
1631
run: npm run lint
17-
- name: Run Prettier
18-
run: npm run format:check
1932
- name: Run Type Check
20-
run: npm run type-check
33+
run: npm run type-check

README.md

+69-47
Original file line numberDiff line numberDiff line change
@@ -26,50 +26,72 @@ The **Rider App** branch can be found [here](https://github.com/cornell-dti/carr
2626

2727
## Contributors:
2828

29-
**Current Contributors**
30-
31-
- Harrison Chin - Software Developer
32-
- Andrew Choi - Product Manager
33-
- Rohit Valiveti - Software Developer
34-
- Pratyush Sudhakar - Technical Project Manager
35-
- Enoch Chen - Software Developer
36-
- Desmond Atikpui - Software Developer
37-
- Stuti Gupta - Software Developer
38-
- Kevin Lin - Software Developer
39-
- Colin Wu - Software Developer
40-
- Raissa Ji - Software Developer
41-
- Nam Anh Dang - Software Developer
42-
- Selena Liu - Software Developer
43-
- Dwain Anderson - Software Developer
44-
45-
**Past Contributors**
46-
47-
- Daniel Wei - Technical Project Manager
48-
- Bryan Graeser - Product Manager
49-
- Nina Xie - Product Manager
50-
- Matthew Guo - Technical Project Manager
51-
- Aaron Kang - Software Developer
52-
- Zack Ashen - Software Developer
53-
- Tucker Stanley - Software Developer
54-
- Justin Kang - Software Developer
55-
- Michael Torku - Technical Project Manager
56-
- Austin Wu - Software Developer
57-
- Li Fengyu - Software Developer
58-
- Sam Steinberg - Product Manager
59-
- Laura Sizemore - Technical Project Manager, Software Developer
60-
- Christopher Hansen - Technical Project Manager
61-
- Jessica Chen - Software Developer
62-
- Bryan Graeser - Software Developer
63-
- Matthew Guo - Software Developer
64-
- Ishika Jain - Software Developer
65-
- Lucy Wang - Software Developer
66-
- Michael Ye - Software Developer
67-
- Becky Hu - Software Developer
68-
- Laura Sizemore - Software Developer
69-
- Pinxuan Huang - Software Developer
70-
- Jay Joo - Software Developer
71-
- Simran Puri - Software Developer
72-
- Aiden Kim - Designer
73-
- Yisu Zheng - Designer
74-
- Chelsea Wang - Designer
75-
- Joanne Lee - Designer
29+
## Contributors
30+
31+
### Current Contributors
32+
33+
#### Product Manager
34+
- Matthias Choi
35+
36+
#### Technical Project Manager
37+
- Desmond Atikpui
38+
39+
#### Software Developers
40+
- Dwain Anderson
41+
- Nam Anh Dang
42+
- Raissa Ji
43+
- Selena Liu
44+
45+
---
46+
47+
### Past Contributors
48+
49+
#### Product Managers
50+
- Andrew Choi
51+
- Bryan Graeser
52+
- Nina Xie
53+
- Sam Steinberg
54+
- Stephy Chen
55+
56+
#### Technical Project Managers
57+
- Christopher Hansen
58+
- Daniel Wei
59+
- Laura Sizemore
60+
- Matthew Guo
61+
- Michael Torku
62+
- Pratyush Sudhakar
63+
64+
#### Software Developers
65+
- Aaron Kang
66+
- Aiden Kim
67+
- Andrew Choi
68+
- Becky Hu
69+
- Bryan Graeser
70+
- Chelsea Wang
71+
- Colin Wu
72+
- Enoch Chen
73+
- Harrison Chin
74+
- Ishika Jain
75+
- Jay Joo
76+
- Jessica Chen
77+
- Joanne Lee
78+
- Justin Kang
79+
- Kevin Lin
80+
- Laura Sizemore
81+
- Li Fengyu
82+
- Lucy Wang
83+
- Matthew Guo
84+
- Michael Ye
85+
- Pinxuan Huang
86+
- Rohit Valiveti
87+
- Simran Puri
88+
- Stuti Gupta
89+
- Tucker Stanley
90+
- Zack Ashen
91+
92+
#### Designers
93+
- Aiden Kim
94+
- Chelsea Wang
95+
- Joanne Lee
96+
- Yisu Zheng
97+

frontend/package-lock.json

+7-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/components/AnalyticsOverview/AnalyticsOverview.module.css

+34-21
Original file line numberDiff line numberDiff line change
@@ -16,46 +16,59 @@
1616

1717
.statsContainer {
1818
display: flex;
19-
flex-wrap: wrap;
20-
justify-content: flex-start;
19+
gap: 1.5rem;
2120
align-items: center;
22-
box-shadow: 0.25rem 0.25rem 1rem rgba(0, 0, 0, 0.1);
23-
padding: 2rem;
24-
max-width: 100%;
21+
background: white;
22+
padding: 1.5rem 2rem;
23+
border-radius: 8px;
24+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
2525
}
2626

27+
/* Individual stat box */
2728
.statsbox {
28-
flex-direction: row;
29-
min-width: 25%;
3029
display: flex;
31-
flex-flow: row;
3230
align-items: center;
31+
padding: 0.5rem 1rem;
32+
min-width: 180px;
3333
}
3434

3535
.left {
3636
display: flex;
37-
width: 35%;
38-
margin: 0.5rem;
39-
}
40-
41-
.right {
42-
width: 65%;
43-
margin: 0.5rem;
37+
align-items: center;
38+
justify-content: center;
39+
margin-right: 1rem;
40+
flex-shrink: 0;
4441
}
4542

4643
.icon {
47-
border-radius: 100%;
44+
border-radius: 50%;
4845
width: 2.5rem;
4946
height: 2.5rem;
47+
display: flex;
48+
align-items: center;
49+
justify-content: center;
50+
background-color: rgba(0, 0, 0, 0.04);
51+
}
52+
53+
.right {
54+
display: flex;
55+
flex-direction: column;
56+
align-items: center; /* Center the content */
57+
text-align: center; /* Center the text */
58+
width: 100%; /* Take full width for proper centering */
5059
}
5160

5261
.stats {
53-
font-size: 1.35rem;
54-
font-weight: bold;
55-
margin-bottom: -5%;
62+
font-size: 1.5rem;
63+
font-weight: 600;
64+
color: #111827;
65+
margin: 0;
66+
line-height: 1.2;
5667
}
5768

5869
.description {
59-
font-size: 0.75rem;
60-
margin-top: -5%;
70+
font-size: 0.875rem;
71+
color: #6b7280;
72+
margin: 0;
73+
margin-top: 0.25rem;
6174
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
.statsContainer {
2+
display: flex;
3+
gap: 1.5rem;
4+
align-items: center;
5+
}
6+
7+
.statsbox {
8+
display: flex;
9+
align-items: center;
10+
padding: 1.25rem 1.5rem;
11+
min-width: 180px;
12+
background: white;
13+
border-radius: 8px;
14+
transition: all 0.2s ease;
15+
}
16+
17+
.left {
18+
display: flex;
19+
align-items: center;
20+
justify-content: center;
21+
margin-right: 1rem;
22+
flex-shrink: 0;
23+
}
24+
25+
.iconWrapper {
26+
border-radius: 50%;
27+
width: 2.5rem;
28+
height: 2.5rem;
29+
display: flex;
30+
align-items: center;
31+
justify-content: center;
32+
background-color: rgba(0, 0, 0, 0.04);
33+
transition: all 0.2s ease;
34+
}
35+
36+
.icon {
37+
width: 1.5rem;
38+
height: 1.5rem;
39+
object-fit: contain;
40+
}
41+
42+
.right {
43+
display: flex;
44+
flex-direction: column;
45+
align-items: center;
46+
text-align: center;
47+
width: 100%;
48+
}
49+
50+
.stats {
51+
font-size: 1.5rem;
52+
font-weight: 600;
53+
margin: 0;
54+
line-height: 1.2;
55+
}
56+
57+
.description {
58+
font-size: 0.875rem;
59+
color: #6b7280;
60+
margin: 0;
61+
margin-top: 0.25rem;
62+
}
63+
64+
/* Color variants */
65+
.green .iconWrapper,
66+
.icon-green {
67+
background-color: rgba(34, 197, 94, 0.1);
68+
}
69+
70+
.stats-green {
71+
color: #16a34a;
72+
}
73+
74+
.gray .iconWrapper,
75+
.icon-gray {
76+
background-color: rgba(107, 114, 128, 0.1);
77+
}
78+
79+
.stats-gray {
80+
color: #4b5563;
81+
}
82+
83+
.red .iconWrapper,
84+
.icon-red {
85+
background-color: rgba(246, 59, 59, 0.1);
86+
}
87+
88+
.stats-red {
89+
color: #eb2525;
90+
}
91+
92+
/* Default variant */
93+
.default .iconWrapper,
94+
.icon-default {
95+
background-color: rgba(0, 0, 0, 0.04);
96+
}
97+
98+
.stats-default {
99+
color: #111827;
100+
}

0 commit comments

Comments
 (0)