Skip to content

Commit ff52679

Browse files
committed
feat: add Telegram button and QR code for download, update links in policy and index pages
1 parent c5c0e12 commit ff52679

3 files changed

Lines changed: 70 additions & 8 deletions

File tree

docs/css/style.css

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,59 @@ nav {
102102
box-shadow: 0 4px 12px rgba(118, 75, 162, 0.4);
103103
}
104104

105+
.btn-telegram {
106+
background: #229ED9;
107+
color: white !important;
108+
padding: 8px 20px;
109+
border-radius: 50px;
110+
text-decoration: none;
111+
font-weight: 600;
112+
transition: transform 0.2s, box-shadow 0.2s;
113+
display: inline-flex;
114+
align-items: center;
115+
gap: 8px;
116+
}
117+
118+
.btn-telegram:hover {
119+
transform: translateY(-2px);
120+
box-shadow: 0 4px 12px rgba(34, 158, 217, 0.4);
121+
background: #1b7db3;
122+
}
123+
124+
.qr-code-container {
125+
margin-top: 30px;
126+
margin-bottom: 10px;
127+
text-align: center;
128+
display: flex;
129+
flex-direction: column;
130+
align-items: center;
131+
gap: 10px;
132+
animation: fadeIn 1s ease-out;
133+
}
134+
135+
.qr-code-container img {
136+
border-radius: 15px;
137+
border: 4px solid white;
138+
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
139+
transition: transform 0.3s ease;
140+
}
141+
142+
.qr-code-container img:hover {
143+
transform: scale(1.05);
144+
}
145+
146+
.qr-code-container p {
147+
font-size: 0.9rem;
148+
color: var(--text-color);
149+
opacity: 0.8;
150+
margin-bottom: 0 !important;
151+
}
152+
153+
@keyframes fadeIn {
154+
from { opacity: 0; transform: translateY(20px); }
155+
to { opacity: 1; transform: translateY(0); }
156+
}
157+
105158
/* Hero Section */
106159
.hero {
107160
padding: 160px 0 80px;

docs/index.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
<div class="nav-links">
3737
<a href="#features">Features</a>
3838
<a href="policy.html">Privacy</a>
39-
<a href="https://github.com/crims0n/Stable-Diffusion-Android" target="_blank" class="btn-primary">
39+
<a href="https://t.me/PocketDiffusion" target="_blank" class="btn-telegram"><i class="fab fa-telegram"></i> News</a>
40+
<a href="https://github.com/crim50n/Pocket-Diffusion-Android" target="_blank" class="btn-primary">
4041
<i class="fab fa-github"></i> Download
4142
</a>
4243
</div>
@@ -52,12 +53,17 @@ <h1>AI Image Generation<br><span>in your Pocket</span></h1>
5253
<p>Generate stunning AI art directly on your Android device.<br>Connect to powerful backends or run locally with privacy in mind.</p>
5354

5455
<div class="hero-buttons">
55-
<a href="https://github.com/crims0n/Stable-Diffusion-Android/releases" class="btn-primary">
56+
<a href="https://github.com/crim50n/Pocket-Diffusion-Android/releases" class="btn-primary">
5657
<i class="fab fa-android"></i> Get for Android
5758
</a>
5859
<a href="#features" class="btn-secondary">Learn More</a>
5960
</div>
6061

62+
<div class="qr-code-container">
63+
<img src="https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=https://github.com/crim50n/Pocket-Diffusion-Android/releases" alt="QR Code to Download">
64+
<p>Scan to Download</p>
65+
</div>
66+
6167
<img src="assets/scr_group_1.png" alt="App Screenshot" class="hero-image">
6268
</div>
6369
</section>
@@ -106,7 +112,8 @@ <h3>Fast & Efficient</h3>
106112
<div class="footer-links">
107113
<a href="#">Home</a>
108114
<a href="policy.html">Privacy Policy</a>
109-
<a href="https://github.com/crims0n/Stable-Diffusion-Android">GitHub</a>
115+
<a href="https://t.me/pocketdiffusion" target="_blank">News</a>
116+
<a href="https://github.com/crim50n/Pocket-Diffusion-Android">GitHub</a>
110117
</div>
111118
<p>&copy; 2026 Pocket Diffusion. Built by crims0n.</p>
112119
</div>

docs/policy.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@
7272
<div class="nav-links">
7373
<a href="index.html#features">Features</a>
7474
<a href="policy.html">Privacy</a>
75-
<a href="https://github.com/crims0n/Stable-Diffusion-Android" target="_blank" class="btn-primary">
75+
<a href="https://t.me/pocketdiffusion" target="_blank" class="btn-telegram"><i class="fab fa-telegram"></i> News</a>
76+
<a href="https://github.com/crim50n/Pocket-Diffusion-Android" target="_blank" class="btn-primary">
7677
<i class="fab fa-github"></i> Download
7778
</a>
7879
</div>
@@ -85,7 +86,7 @@
8586
<h1>Privacy Policy</h1>
8687

8788
<p>
88-
crims0n built the Pocket Diffusion app as a Free and Open Source app.
89+
crim50n built the Pocket Diffusion app as a Free and Open Source app.
8990
This SERVICE is provided at no cost and is intended for use as is.
9091
</p>
9192

@@ -155,7 +156,7 @@ <h2>Contact Us</h2>
155156

156157
<p>
157158
If you have any questions or suggestions about this Privacy Policy,
158-
do not hesitate to contact us via <a href="https://github.com/crims0n/Stable-Diffusion-Android/issues">GitHub Issues</a>.
159+
do not hesitate to contact us via <a href="https://github.com/crim50n/Pocket-Diffusion-Android/issues">GitHub Issues</a>.
159160
</p>
160161
</div>
161162
</main>
@@ -165,9 +166,10 @@ <h2>Contact Us</h2>
165166
<div class="footer-links">
166167
<a href="index.html">Home</a>
167168
<a href="policy.html">Privacy Policy</a>
168-
<a href="https://github.com/crims0n/Stable-Diffusion-Android">GitHub</a>
169+
<a href="https://t.me/pocketdiffusion" target="_blank">News</a>
170+
<a href="https://github.com/crim50n/Pocket-Diffusion-Android">GitHub</a>
169171
</div>
170-
<p>&copy; 2026 Pocket Diffusion. Built by crims0n.</p>
172+
<p>&copy; 2026 Pocket Diffusion. Built by crim50n.</p>
171173
</div>
172174
</footer>
173175
</body>

0 commit comments

Comments
 (0)