Skip to content

Commit 5619a8d

Browse files
committed
Docs: gallery
1 parent d5bd617 commit 5619a8d

File tree

2 files changed

+390
-4
lines changed

2 files changed

+390
-4
lines changed

docs/gallery.md

Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
---
2+
layout: default
3+
title: Gallery
4+
nav_order: 9
5+
---
6+
7+
<style>
8+
.gallery-grid {
9+
display: grid;
10+
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
11+
gap: 2rem;
12+
margin: 2rem 0;
13+
}
14+
15+
.gallery-item {
16+
border: 1px solid var(--jtd-border);
17+
border-radius: 8px;
18+
overflow: hidden;
19+
transition: transform 0.2s ease, box-shadow 0.2s ease;
20+
background: var(--jtd-page-bg);
21+
}
22+
23+
.gallery-item:hover {
24+
transform: translateY(-2px);
25+
box-shadow: 0 4px 12px rgba(138, 180, 248, 0.15);
26+
}
27+
28+
.gallery-item img {
29+
width: 100%;
30+
height: auto;
31+
display: block;
32+
transition: transform 0.2s ease;
33+
}
34+
35+
.gallery-item:hover img {
36+
transform: scale(1.02);
37+
}
38+
39+
.gallery-caption {
40+
padding: 1rem;
41+
background: var(--jtd-body-bg);
42+
border-top: 1px solid var(--jtd-border);
43+
}
44+
45+
.gallery-caption h3 {
46+
margin: 0 0 0.5rem 0;
47+
color: var(--jtd-accent);
48+
font-size: 1.1rem;
49+
}
50+
51+
.gallery-caption p {
52+
margin: 0;
53+
color: var(--jtd-muted-text);
54+
font-size: 0.9rem;
55+
}
56+
57+
.hero-section {
58+
text-align: center;
59+
margin: 2rem 0 3rem 0;
60+
padding: 2rem;
61+
background: linear-gradient(135deg, var(--jtd-body-bg) 0%, rgba(138, 180, 248, 0.05) 100%);
62+
border-radius: 12px;
63+
border: 1px solid var(--jtd-border);
64+
}
65+
66+
.hero-section h1 {
67+
color: var(--jtd-accent);
68+
margin-bottom: 1rem;
69+
font-size: 2.5rem;
70+
}
71+
72+
.hero-section p {
73+
font-size: 1.2rem;
74+
color: var(--jtd-primary-text);
75+
margin-bottom: 1.5rem;
76+
}
77+
78+
.cta-buttons {
79+
display: flex;
80+
gap: 1rem;
81+
justify-content: center;
82+
flex-wrap: wrap;
83+
}
84+
85+
.cta-button {
86+
display: inline-block;
87+
padding: 0.75rem 1.5rem;
88+
background: var(--jtd-accent);
89+
color: var(--jtd-body-bg) !important;
90+
text-decoration: none;
91+
border-radius: 6px;
92+
font-weight: 500;
93+
transition: all 0.2s ease;
94+
}
95+
96+
.cta-button:hover {
97+
background: #9bb5f9;
98+
transform: translateY(-1px);
99+
box-shadow: 0 2px 8px rgba(138, 180, 248, 0.3);
100+
}
101+
102+
.contribute-section {
103+
margin: 3rem 0;
104+
padding: 2rem;
105+
background: var(--jtd-body-bg);
106+
border: 1px solid var(--jtd-border);
107+
border-radius: 8px;
108+
}
109+
110+
.contribute-section h2 {
111+
color: var(--jtd-accent);
112+
margin-bottom: 1rem;
113+
}
114+
115+
@media (max-width: 768px) {
116+
.gallery-grid {
117+
grid-template-columns: 1fr;
118+
}
119+
120+
.hero-section h1 {
121+
font-size: 2rem;
122+
}
123+
124+
.cta-buttons {
125+
flex-direction: column;
126+
align-items: center;
127+
}
128+
}
129+
</style>
130+
131+
<div class="hero-section">
132+
<h1>Community Gallery</h1>
133+
<p>Showcase your beautiful terminal setups and get inspired by the community</p>
134+
<div class="cta-buttons">
135+
<a href="/gitfetch/contributing.html" class="cta-button">Contribute Your Setup</a>
136+
<a href="https://github.com/Matars/gitfetch" class="cta-button">View on GitHub</a>
137+
</div>
138+
</div>
139+
140+
## Community Setups Gallery
141+
142+
<div class="gallery-grid">
143+
<div class="gallery-item">
144+
<img width="3024" height="1964" alt="Default gitfetch display with GitHub stats" src="https://github.com/user-attachments/assets/bbb18d5d-4787-4998-a352-e8f4e59642c0" />
145+
<div class="gallery-caption">
146+
<h3>Classic GitHub Setup</h3>
147+
<p>Default gitfetch display showing comprehensive GitHub statistics with the classic three layouts</p>
148+
</div>
149+
</div>
150+
151+
<div class="gallery-item">
152+
<img width="3012" height="1982" alt="Minimal gitfetch configuration" src="https://github.com/user-attachments/assets/6d061c76-3e45-47c3-989f-0776be6cf846" />
153+
<div class="gallery-caption">
154+
<h3>Modified Configuration</h3>
155+
<p>These setups use the visual flags feature to enhance their appearance. Here we have examples of ``--no-(component)``, ``--custom-box``</p>
156+
</div>
157+
</div>
158+
159+
<div class="gallery-item">
160+
<img width="3441" height="1441" alt="Custom themed gitfetch with Hyprland" src="https://github.com/user-attachments/assets/ee31ebe3-257f-4aff-994e-fffd47b48fa1" />
161+
<div class="gallery-caption">
162+
<h3>Hyprland Integration</h3>
163+
<p>Beautiful integration with Hyprland window manager by <a href="https://github.com/fwtwoo">@fwtwoo</a></p>
164+
</div>
165+
</div>
166+
</div>
167+
168+
<div class="contribute-section">
169+
<h2>Share Your Setup</h2>
170+
<p>Have a beautiful gitfetch setup? We'd love to feature it in our gallery!</p>
171+
172+
<h3>How to Contribute</h3>
173+
<ol>
174+
<li><strong>Customize your setup</strong> - Use gitfetch's extensive configuration options</li>
175+
<li><strong>Take a screenshot</strong> - Capture your terminal with gitfetch running</li>
176+
<li><strong>Create an issue</strong> - Open a GitHub issue with your screenshot and configuration details</li>
177+
<li><strong>Get featured</strong> - Your setup might be added to our gallery!</li>
178+
</ol>
179+
<p><a href="/gitfetch/contributing.html" class="cta-button">Learn More About Contributing</a></p>
180+
</div>

0 commit comments

Comments
 (0)