Skip to content

Commit ae21448

Browse files
committed
chore(bugs): make links look more link buttons
This also links directly to the templates for ConnectBot app.
1 parent cffe991 commit ae21448

3 files changed

Lines changed: 85 additions & 8 deletions

File tree

src/app/styles.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,31 @@ article p {
1919
opacity: 1;
2020
}
2121

22+
.issue-buttons {
23+
display: flex;
24+
flex-wrap: wrap;
25+
gap: 0.5rem;
26+
margin-top: 1rem;
27+
}
28+
29+
.issue-button {
30+
display: inline-flex;
31+
align-items: center;
32+
padding: 0.5rem 1rem;
33+
border-radius: 0.375rem;
34+
font-weight: 500;
35+
font-size: 0.875rem;
36+
text-decoration: none;
37+
transition: background-color 0.15s ease;
38+
background-color: hsl(var(--nextra-primary-hue) var(--nextra-primary-saturation) 50% / 0.1);
39+
color: hsl(var(--nextra-primary-hue) var(--nextra-primary-saturation) 50%);
40+
border: 1px solid hsl(var(--nextra-primary-hue) var(--nextra-primary-saturation) 50% / 0.3);
41+
}
42+
43+
.issue-button:hover {
44+
background-color: hsl(var(--nextra-primary-hue) var(--nextra-primary-saturation) 50% / 0.2);
45+
text-decoration: none;
46+
}
47+
2248
@theme {
2349
}

src/content/bugs.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/content/bugs.mdx

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Reporting Issues
2+
3+
Please use GitHub issues to report problems with ConnectBot, this website, or
4+
the Play Store listing. Choose the appropriate issue type below.
5+
6+
## ConnectBot App
7+
8+
<div className="issue-buttons">
9+
<a
10+
href="https://github.com/connectbot/connectbot/issues/new?template=bug_report.yml"
11+
target="_blank"
12+
rel="noopener noreferrer"
13+
className="issue-button"
14+
>
15+
Report a Bug
16+
</a>
17+
<a
18+
href="https://github.com/connectbot/connectbot/issues/new?template=feature_request.yml"
19+
target="_blank"
20+
rel="noopener noreferrer"
21+
className="issue-button"
22+
>
23+
Request a Feature
24+
</a>
25+
<a
26+
href="https://github.com/connectbot/connectbot/issues/new?template=support_question.yml"
27+
target="_blank"
28+
rel="noopener noreferrer"
29+
className="issue-button"
30+
>
31+
Ask a Question
32+
</a>
33+
</div>
34+
35+
## Website
36+
37+
<div className="issue-buttons">
38+
<a
39+
href="https://github.com/connectbot/connectbot.github.io/issues/new"
40+
target="_blank"
41+
rel="noopener noreferrer"
42+
className="issue-button"
43+
>
44+
Report a Website Issue
45+
</a>
46+
</div>
47+
48+
## Play Store Listing
49+
50+
<div className="issue-buttons">
51+
<a
52+
href="https://github.com/connectbot/assets/issues/new"
53+
target="_blank"
54+
rel="noopener noreferrer"
55+
className="issue-button"
56+
>
57+
Report a Listing Issue
58+
</a>
59+
</div>

0 commit comments

Comments
 (0)