diff --git a/.changeset/eight-dryers-stare.md b/.changeset/eight-dryers-stare.md new file mode 100644 index 00000000..e5bb0c32 --- /dev/null +++ b/.changeset/eight-dryers-stare.md @@ -0,0 +1,5 @@ +--- +"@fleek-platform/dashboard": patch +--- + +add service shutdown banner diff --git a/src/components/Form/createExtraValidation.tsx b/src/components/Form/createExtraValidation.tsx index 58dfb631..df02e12c 100644 --- a/src/components/Form/createExtraValidation.tsx +++ b/src/components/Form/createExtraValidation.tsx @@ -107,7 +107,9 @@ export const createExtraValidation = { const viemClient = createPublicClient({ chain: mainnet, - transport: http('https://rpc.ankr.com/eth/629287b99a3f9953297946a763f2b38f2b8c23d657da96d844903ae91aa0cdb3'), + transport: http( + 'https://rpc.ankr.com/eth/629287b99a3f9953297946a763f2b38f2b8c23d657da96d844903ae91aa0cdb3', + ), }); const normalizedName = normalize(name).split('.'); diff --git a/src/components/ShutdownBanner/ShutdownBanner.tsx b/src/components/ShutdownBanner/ShutdownBanner.tsx new file mode 100644 index 00000000..28872ee4 --- /dev/null +++ b/src/components/ShutdownBanner/ShutdownBanner.tsx @@ -0,0 +1,53 @@ +import { ExternalLink } from '@/components'; + +export const ShutdownBanner = () => { + return ( +
+
+
+ + + + + + Service Shutdown Notice + + + + Fleek Hosting and Eliza Agents service will be permanently shut down + on{' '} + + January 31, 2026 + + . All data and access will cease. If you need any help with + migration{' '} + + contact support + + . + +
+
+
+ ); +}; diff --git a/src/components/ShutdownBanner/index.ts b/src/components/ShutdownBanner/index.ts new file mode 100644 index 00000000..63312756 --- /dev/null +++ b/src/components/ShutdownBanner/index.ts @@ -0,0 +1 @@ +export { ShutdownBanner } from './ShutdownBanner'; diff --git a/src/fragments/Projects/Storage/SunsetMessage.tsx b/src/fragments/Projects/Storage/SunsetMessage.tsx index 3184b0f7..65ab8d01 100644 --- a/src/fragments/Projects/Storage/SunsetMessage.tsx +++ b/src/fragments/Projects/Storage/SunsetMessage.tsx @@ -1,7 +1,10 @@ -import { AlertBox } from "@/components"; +import { AlertBox } from '@/components'; export const SunsetMessage: React.FC = () => { return ( - Fleek storage has been sunsetted and you cannot upload new files or folders anymore. - ); -}; \ No newline at end of file + + Fleek storage has been sunsetted and you cannot upload new files or + folders anymore. + + ); +}; diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 433d5702..bc250fbb 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -18,6 +18,7 @@ import HomePage from '@/pages/LandingPage'; import { LegacyPlanUpgradeModal } from '@/components/LegacyPlanUpgradeModal/LegacyPlanUpgradeModal'; import { LoadingFullScreen } from '@/components/Loading'; import { setDefined, getDefined, DEFINED_OVERRIDES_FILENAME } from '../defined'; +import { ShutdownBanner } from '@/components/ShutdownBanner'; const loadConfig = async (): Promise => { const dashboardBasePath = getDashboardUrl(); @@ -102,6 +103,7 @@ const App = ({ Component, pageProps, requestCookies }: AppProps) => { return ( <> + {getLayout()} diff --git a/src/pages/projects/[projectId]/storage/index.tsx b/src/pages/projects/[projectId]/storage/index.tsx index f641801b..d1b77805 100644 --- a/src/pages/projects/[projectId]/storage/index.tsx +++ b/src/pages/projects/[projectId]/storage/index.tsx @@ -14,9 +14,7 @@ const Storage: Page = () => { ); }; -Storage.getLayout = (page) => ( - {page} -); +Storage.getLayout = (page) => {page}; export default withAccess({ Component: Storage,