Skip to content

Commit 323f6eb

Browse files
feat: add merchandise page with T-shirt details (#9)
- [ ] Add high-quality images - [ ] Take high-definition try-on photos - [ ] Process orders and collect payments (international) --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 1758892 commit 323f6eb

7 files changed

Lines changed: 96 additions & 0 deletions

File tree

‎docs/merch.md‎

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,63 @@ Availability depends on stock, sizing, and shipping at the time — but we will
2121
Have questions? Start a [GitHub Discussion](https://github.com/cpp-linter/cpp-linter/discussions) or open an [issue](https://github.com/cpp-linter/cpp-linter.github.io/issues).
2222

2323
Thanks for supporting cpp-linter!
24+
25+
## About These T-Shirts
26+
27+
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.
28+
29+
<div class="grid cards" markdown>
30+
31+
<div markdown>
32+
33+
### White Edition
34+
35+
![White T-shirt Front](static/merch/white-front.jpg){: style="max-width: 100%; border-radius: 8px;"}
36+
37+
**Features:**
38+
39+
- "cpp linter" logo with circuit board design
40+
- "Lint your C/C++ code in workflow" tagline
41+
42+
</div>
43+
44+
<div markdown>
45+
46+
### Black Edition
47+
48+
![Black T-shirt Front](static/merch/black-front.jpg){: style="max-width: 100%; border-radius: 8px;"}
49+
50+
**Features:**
51+
52+
- "cpp-linter" logo with circuit board design
53+
- "Lint your C/C++ code in workflow" tagline
54+
55+
</div>
56+
57+
</div>
58+
59+
### Design Gallery
60+
61+
<div class="image-grid" markdown>
62+
63+
![White T-shirt](static/merch/white-demo.jpg){: style="max-width: 100%; border-radius: 8px;"}
64+
65+
![Black T-shirt](static/merch/black-demo.jpg){: style="max-width: 100%; border-radius: 8px;"}
66+
67+
</div>
68+
69+
### Size Chart
70+
71+
!!! warning "Important: Sizes run small!"
72+
Please carefully check the size chart before ordering. **No returns or refunds** after shipping.
73+
74+
| Size | S | M | L | XL | 2XL | 3XL | 4XL | 5XL |
75+
|------|---|---|---|----|----|-----|-----|-----|
76+
| **Chest (cm)** | 45 | 47 | 49 | 51 | 53 | 55 | 57 | 59 |
77+
| **Length (cm)** | 63 | 65 | 67 | 69 | 71 | 73 | 75 | 77 |
78+
| **Sleeve (cm)** | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
79+
| **Shoulder (cm)** | 40 | 42 | 44 | 46 | 48 | 50 | 52 | 54 |
80+
| **Height (cm)** | 155 | 160 | 165 | 170 | 175 | 180 | 185 | 190 |
81+
| **Weight (kg)** | 50± | 55± | 60± | 65± | 75± | 85± | 95± | 105± |
82+
83+
*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.*

‎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
@@ -92,6 +92,41 @@ th {
9292
border-radius: 0.5rem;
9393
}
9494

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

‎mkdocs.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ theme:
6464

6565
markdown_extensions:
6666
- admonition
67+
- pymdownx.details
6768
- attr_list
6869
- md_in_html
6970
- pymdownx.superfences

0 commit comments

Comments
 (0)