From 0f73f2383f1f90fb2797ddd0317434df761708ab Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 13 Aug 2025 22:40:01 +0000 Subject: [PATCH 1/2] Initial plan From f5f65db8c5cf2dd063b36ac835e367e388aea5be Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 13 Aug 2025 23:00:25 +0000 Subject: [PATCH 2/2] Add prominent migration alert to every page of the website Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- src/components/layout.tsx | 4 ++++ src/components/shell/MigrationAlert.tsx | 27 +++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 src/components/shell/MigrationAlert.tsx diff --git a/src/components/layout.tsx b/src/components/layout.tsx index 8fd67335be76..d35d4e30237c 100644 --- a/src/components/layout.tsx +++ b/src/components/layout.tsx @@ -30,6 +30,7 @@ const TraceAlert = lazy(() => import("./shell/TraceAlert")) const WebDiagnostics = lazy(() => import("./shell/WebDiagnostics")) const WebCam = lazy(() => import("./ui/WebCam")) const PassiveAlert = lazy(() => import("./shell/PassiveAlert")) +const MigrationAlert = lazy(() => import("./shell/MigrationAlert")) const YouTubePlayer = lazy(() => import("./youtube/YouTubePlayer")) const PREFIX = "Layout" @@ -251,6 +252,9 @@ function LayoutWithContext(props: LayoutProps) { const InnerMainSection = () => ( <> + + + diff --git a/src/components/shell/MigrationAlert.tsx b/src/components/shell/MigrationAlert.tsx new file mode 100644 index 000000000000..67e65127f5b3 --- /dev/null +++ b/src/components/shell/MigrationAlert.tsx @@ -0,0 +1,27 @@ +import { Box } from "@mui/material" +import { AlertTitle } from "@mui/material" +import React from "react" +import Alert from "../ui/Alert" + +export default function MigrationAlert() { + return ( + + 📢 Important: Jacdac has moved! + The Jacdac project has moved to{" "} + + https://github.com/jacdac + + . Please update your bookmarks and references to point to the new location. + + ) +} \ No newline at end of file