Skip to content

Commit dce463c

Browse files
committed
feat: add merchandise page with T-shirt details and styling
1 parent ede0282 commit dce463c

File tree

7 files changed

+176
-0
lines changed

7 files changed

+176
-0
lines changed

docs/merch.md

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
# cpp-linter Merchandise
2+
3+
Show your support for cpp-linter with our official T-shirts!
4+
5+
## About These T-Shirts
6+
7+
These aren't for sale — just something we made for ourselves to wear and promote this open source project. If you've used cpp-linter, appreciate the open source approach, or want to support the project, consider getting one.
8+
9+
<div class="grid cards" markdown>
10+
11+
<div markdown>
12+
13+
### White Edition
14+
15+
![White T-shirt Front](static/merch/white-front.jpg){: style="max-width: 100%; border-radius: 8px;"}
16+
17+
**Features:**
18+
19+
- "cpp linter" logo with circuit board design
20+
- "Lint your C/C++ code in workflow" tagline
21+
22+
</div>
23+
24+
<div markdown>
25+
26+
### Black Edition
27+
28+
![Black T-shirt Front](static/merch/black-front.jpg){: style="max-width: 100%; border-radius: 8px;"}
29+
30+
**Features:**
31+
32+
- "cpp-linter" logo with circuit board design
33+
- "Lint your C/C++ code in workflow" tagline
34+
35+
</div>
36+
37+
</div>
38+
39+
## Design Gallery
40+
41+
<div class="image-grid" markdown>
42+
43+
![White T-shirt](static/merch/white-demo.jpg){: style="max-width: 100%; border-radius: 8px;"}
44+
45+
![Black T-shirt](static/merch/black-demo.jpg){: style="max-width: 100%; border-radius: 8px;"}
46+
47+
</div>
48+
49+
## Size Chart
50+
51+
!!! warning "Important: Sizes run small!"
52+
Please carefully check the size chart before ordering. **No returns or refunds** after shipping.
53+
54+
| Size | S | M | L | XL | 2XL | 3XL | 4XL | 5XL |
55+
|------|---|---|---|----|----|-----|-----|-----|
56+
| **Chest (cm)** | 45 | 47 | 49 | 51 | 53 | 55 | 57 | 59 |
57+
| **Length (cm)** | 63 | 65 | 67 | 69 | 71 | 73 | 75 | 77 |
58+
| **Sleeve (cm)** | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
59+
| **Shoulder (cm)** | 40 | 42 | 44 | 46 | 48 | 50 | 52 | 54 |
60+
| **Height (cm)** | 155 | 160 | 165 | 170 | 175 | 180 | 185 | 190 |
61+
| **Weight (kg)** | 50± | 55± | 60± | 65± | 75± | 85± | 95± | 105± |
62+
63+
*Note: Measurements are manual and may vary by 1-3cm. Everyone's body is different, so height and weight are for reference only. Since this is a custom product, sizes cannot be changed after ordering.*
64+
65+
## How to Order
66+
67+
### For International Users
68+
69+
**Price: $23 USD per shirt** (includes international shipping from China)
70+
71+
We're currently setting up payment options for international orders. Here are the recommended options for supporting open source projects:
72+
73+
#### Option 1: GitHub Sponsors (Recommended)
74+
75+
We're in the process of setting up GitHub Sponsors for [@cpp-linter](https://github.com/cpp-linter). This allows you to:
76+
77+
- Support the project directly through GitHub
78+
- Revenue will be shared between the core maintainers ([@2bndy5](https://github.com/2bndy5) and the team)
79+
- Transparent and trusted payment processing
80+
- Tax-compliant for open source donations
81+
82+
!!! tip "Coming Soon"
83+
GitHub Sponsors setup is in progress. Check back soon or watch our repository for updates!
84+
85+
#### Option 2: Buy Me a Coffee / Ko-fi
86+
87+
Alternative donation platforms that work well for open source projects:
88+
89+
- **Buy Me a Coffee**: Simple one-time or recurring donations
90+
- **Ko-fi**: No platform fees, great for creators
91+
- **Open Collective**: Transparent expense tracking for open source
92+
93+
#### Option 3: Direct Contact
94+
95+
For now, you can reach out to us directly:
96+
97+
- Open an issue on [GitHub](https://github.com/cpp-linter/cpp-linter.github.io/issues)
98+
- Contact via email (check the repository for contact info)
99+
100+
!!! note "Revenue Sharing"
101+
All proceeds from merchandise sales are shared between the core development team, particularly [@2bndy5](https://github.com/2bndy5) who has been instrumental in developing cpp-linter.
102+
103+
### For Chinese Users (中国用户)
104+
105+
**价格:38元/件**
106+
107+
请关注微信公众号 **《DevOps攻城狮》** 进行下单。
108+
109+
!!! info "说明"
110+
111+
不是为了卖货,只是自己平时穿,宣传一下我们的开源项目,就顺手多做了几件。
112+
113+
如果你用过、关注过这个项目,认同这种开源方式,或是想支持我们,可以考虑支持一件。
114+
115+
**38 元 / 件**
116+
117+
尺码偏小,请一定要先参考尺码表再下单。订单发货后不支持退货及退款,请谨慎下单。
118+
119+
## Shipping & Returns
120+
121+
- **Chinese Domestic Orders**: Ships within China
122+
- **International Orders**: Ships from China (allow 2-4 weeks for delivery)
123+
- **No Returns/Refunds**: Due to the custom nature of these products, we cannot accept returns or provide refunds after shipping
124+
- **Size Carefully**: Please double-check the size chart before ordering!
125+
126+
## Support the Project
127+
128+
Not interested in merchandise but want to support cpp-linter? Here are other ways:
129+
130+
- ⭐ Star our [GitHub repository](https://github.com/cpp-linter)
131+
- 🐛 Report bugs and suggest features
132+
- 💻 Contribute code or documentation
133+
- 📢 Share cpp-linter with your network
134+
- 💬 Help others in discussions and issues
135+
136+
---
137+
138+
*Thank you for supporting cpp-linter! Every purchase helps maintain and improve this open source project.*

docs/static/merch/black-demo.jpg

1.68 MB
Loading

docs/static/merch/black-front.jpg

50.7 KB
Loading

docs/static/merch/white-demo.jpg

6.36 MB
Loading

docs/static/merch/white-front.jpg

33.5 KB
Loading

docs/stylesheets/extra.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,41 @@ th {
9898
border-radius: 0.5rem;
9999
}
100100

101+
/* Merchandise page styling */
102+
.image-grid {
103+
display: grid;
104+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
105+
gap: 2rem;
106+
margin: 2rem 0;
107+
}
108+
109+
.image-grid img {
110+
width: 100%;
111+
height: auto;
112+
object-fit: cover;
113+
border-radius: 8px;
114+
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
115+
transition: transform 0.3s ease, box-shadow 0.3s ease;
116+
}
117+
118+
.image-grid img:hover {
119+
transform: scale(1.05);
120+
box-shadow: 0 8px 12px rgba(0,0,0,0.2);
121+
}
122+
123+
/* Size chart table styling */
124+
.md-typeset table {
125+
font-size: 0.9em;
126+
}
127+
128+
.md-typeset table th {
129+
text-align: center;
130+
}
131+
132+
.md-typeset table td {
133+
text-align: center;
134+
}
135+
101136
/* Button styling improvements */
102137
.md-button {
103138
border-radius: 2rem;

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ nav:
99
- Home: index.md
1010
- Getting Started: getting-started.md
1111
- Discussion: discussion.md
12+
- Merchandise: merch.md
1213
# - Blog:
1314
# - blog/index.md
1415
exclude_docs: |
@@ -56,6 +57,8 @@ theme:
5657

5758

5859
markdown_extensions:
60+
- admonition
61+
- pymdownx.details
5962
- pymdownx.superfences
6063
- attr_list
6164
- md_in_html

0 commit comments

Comments
 (0)