Merge pull request #3569 from bluewave-labs/feat/status-page-themes-frontend

feat(status-page): four selectable themes for the public status page
This commit is contained in:
Alexander Holliday authored and GitHub committed 2026-04-29 11:35:23 -07:00
commit a7d5a84206
41 files changed
+3704 -617

No files matched your search

@@ -11,7 +11,7 @@ import { useTranslation } from "react-i18next";
import { useTheme } from "@mui/material/styles";
import { useNavigate } from "react-router-dom";
import type { StatusPage } from "@/Types/StatusPage";
import { PUBLIC_STATUS_PAGE_PREFIX, type StatusPage } from "@/Types/StatusPage";
interface StatusPagesTableProps {
data: StatusPage[];
@@ -53,7 +53,7 @@ export const StatusPagesTable = ({
const handleUrlClick = (e: React.MouseEvent, row: StatusPage) => {
if (row.isPublished) {
e.stopPropagation();
const url = `/status/public/${row.url}`;
const url = `${PUBLIC_STATUS_PAGE_PREFIX}/${row.url}`;
window.open(url, "_blank", "noopener,noreferrer");
}
};