nixos-config/pkgs/incus-ui/ui-canonical-0002-Update-navigation.patch

67 lines
2.6 KiB
Diff
Raw Normal View History

2024-02-22 11:31:13 +01:00
From 9f44a025b61024f47c8eabcf9a0f25af0d2585da Mon Sep 17 00:00:00 2001
2023-12-23 20:20:04 +01:00
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber@stgraber.org>
Date: Wed, 22 Nov 2023 23:02:27 +0000
2024-02-22 11:31:13 +01:00
Subject: [PATCH 2/6] Update navigation
2023-12-23 20:20:04 +01:00
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
---
2024-02-22 11:31:13 +01:00
src/components/Navigation.tsx | 4 ++--
2023-12-23 20:20:04 +01:00
src/components/NoMatch.tsx | 2 +-
src/context/useDocs.tsx | 2 +-
2024-02-22 11:31:13 +01:00
3 files changed, 4 insertions(+), 4 deletions(-)
2023-12-23 20:20:04 +01:00
diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx
2024-02-22 11:31:13 +01:00
index d2321da..f79deeb 100644
2023-12-23 20:20:04 +01:00
--- a/src/components/Navigation.tsx
+++ b/src/components/Navigation.tsx
2024-02-22 11:31:13 +01:00
@@ -286,7 +286,7 @@ const Navigation: FC = () => {
2023-12-23 20:20:04 +01:00
<li className="p-side-navigation__item">
<a
className="p-side-navigation__link"
- href="https://discourse.ubuntu.com/c/lxd/126"
+ href="https://discuss.linuxcontainers.org"
target="_blank"
rel="noreferrer"
title="Discussion"
2024-02-22 11:31:13 +01:00
@@ -301,7 +301,7 @@ const Navigation: FC = () => {
2023-12-23 20:20:04 +01:00
<li className="p-side-navigation__item">
<a
className="p-side-navigation__link"
- href="https://github.com/canonical/lxd-ui/issues/new"
+ href="https://github.com/zabbly/incus/issues/new"
target="_blank"
rel="noreferrer"
title="Report a bug"
diff --git a/src/components/NoMatch.tsx b/src/components/NoMatch.tsx
index 8d5270c..bd9e515 100644
--- a/src/components/NoMatch.tsx
+++ b/src/components/NoMatch.tsx
@@ -13,7 +13,7 @@ const NoMatch: FC = () => {
<br />
If you think this is an error in our product, please{" "}
<a
- href="https://github.com/canonical/lxd-ui/issues/new"
+ href="https://github.com/zabbly/incus/issues/new"
target="_blank"
rel="noreferrer"
title="Report a bug"
diff --git a/src/context/useDocs.tsx b/src/context/useDocs.tsx
index 454d98c..90a0de9 100644
--- a/src/context/useDocs.tsx
+++ b/src/context/useDocs.tsx
@@ -1,7 +1,7 @@
import { useSettings } from "context/useSettings";
export const useDocs = (): string => {
- const remoteBase = "https://documentation.ubuntu.com/lxd/en/latest";
+ const remoteBase = "/documentation";
const localBase = "/documentation";
const { data: settings } = useSettings();
--
2024-02-22 11:31:13 +01:00
2.34.1
2023-12-23 20:20:04 +01:00