Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ const RootLayout: FC<LayoutProps> = async ({ children }) => {
lastUpdated={<LastUpdated>Last Updated</LastUpdated>}
themeSwitch={themeConfig.themeSwitch.getOptions()}
footer={themeConfig.footer}
docsRepositoryBase={themeConfig.docsRepositoryBase}
editLink={themeConfig.editLink}
feedback={themeConfig.feedback}
toc={themeConfig.toc}
Expand Down
26 changes: 26 additions & 0 deletions src/app/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,31 @@ article p {
opacity: 1;
}

.issue-buttons {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 1rem;
}

.issue-button {
display: inline-flex;
align-items: center;
padding: 0.5rem 1rem;
border-radius: 0.375rem;
font-weight: 500;
font-size: 0.875rem;
text-decoration: none;
transition: background-color 0.15s ease;
background-color: hsl(var(--nextra-primary-hue) var(--nextra-primary-saturation) 50% / 0.1);
color: hsl(var(--nextra-primary-hue) var(--nextra-primary-saturation) 50%);
border: 1px solid hsl(var(--nextra-primary-hue) var(--nextra-primary-saturation) 50% / 0.3);
}

.issue-button:hover {
background-color: hsl(var(--nextra-primary-hue) var(--nextra-primary-saturation) 50% / 0.2);
text-decoration: none;
}

@theme {
}
8 changes: 0 additions & 8 deletions src/content/bugs.md

This file was deleted.

59 changes: 59 additions & 0 deletions src/content/bugs.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Reporting Issues

Please use GitHub issues to report problems with ConnectBot, this website, or
the Play Store listing. Choose the appropriate issue type below.

## ConnectBot App

<div className="issue-buttons">
<a
href="https://github.com/connectbot/connectbot/issues/new?template=bug_report.yml"
target="_blank"
rel="noopener noreferrer"
className="issue-button"
>
Report a Bug
</a>
<a
href="https://github.com/connectbot/connectbot/issues/new?template=feature_request.yml"
target="_blank"
rel="noopener noreferrer"
className="issue-button"
>
Request a Feature
</a>
<a
href="https://github.com/connectbot/connectbot/issues/new?template=support_question.yml"
target="_blank"
rel="noopener noreferrer"
className="issue-button"
>
Ask a Question
</a>
</div>

## Website

<div className="issue-buttons">
<a
href="https://github.com/connectbot/connectbot.github.io/issues/new"
target="_blank"
rel="noopener noreferrer"
className="issue-button"
>
Report a Website Issue
</a>
</div>

## Play Store Listing

<div className="issue-buttons">
<a
href="https://github.com/connectbot/assets/issues/new"
target="_blank"
rel="noopener noreferrer"
className="issue-button"
>
Report a Listing Issue
</a>
</div>
2 changes: 1 addition & 1 deletion src/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</svg>
),
},
docsRepositoryBase: 'https://github.com/connectbot/connectbot.github.io/tree/develop/src/content',
docsRepositoryBase: 'https://github.com/connectbot/connectbot.github.io/tree/develop',
footer: (
<div
style={{
Expand Down Expand Up @@ -159,7 +159,7 @@
nextThemes: {
defaultTheme: 'dark',
},
useNextSeoProps() {

Check warning on line 162 in src/theme.config.tsx

View workflow job for this annotation

GitHub Actions / build

If your function doesn't call any Hooks, avoid the 'use' prefix. Instead, write it as a regular function without the 'use' prefix
return {
titleTemplate: '%s | ConnectBot',
description: 'ConnectBot is a secure shell client for the Android platform.',
Expand Down