clean up sidebar

This commit is contained in:
miloschwartz
2025-09-28 12:21:15 -07:00
parent ef4ce115ff
commit 3872831bd7
3 changed files with 8 additions and 59 deletions

View File

@@ -42,7 +42,7 @@ import {
FaFreebsd,
FaWindows
} from "react-icons/fa";
import {
import {
SiNixos,
SiKubernetes
} from "react-icons/si";
@@ -513,14 +513,14 @@ WantedBy=default.target`
try {
const controller = new AbortController();
const timeoutId = setTimeout(() => controller.abort(), 3000);
const response = await fetch(
`https://api.github.com/repos/fosrl/newt/releases/latest`,
{ signal: controller.signal }
);
clearTimeout(timeoutId);
if (!response.ok) {
throw new Error(
t("newtErrorFetchReleases", {

View File

@@ -35,11 +35,11 @@ export default function ManagedPage() {
<SettingsContainer>
<SettingsSection>
<SettingsSectionBody>
<p className="text-muted-foreground mb-4">
<p className="mb-4">
<strong>{t("managedSelfHosted.introTitle")}</strong>{" "}
{t("managedSelfHosted.introDescription")}
</p>
<p className="text-muted-foreground mb-6">
<p className="mb-6">
{t("managedSelfHosted.introDetail")}
</p>