Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/eight-dryers-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fleek-platform/dashboard": patch
---

add service shutdown banner
4 changes: 3 additions & 1 deletion src/components/Form/createExtraValidation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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('.');
Expand Down
53 changes: 53 additions & 0 deletions src/components/ShutdownBanner/ShutdownBanner.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import { ExternalLink } from '@/components';

export const ShutdownBanner = () => {
return (
<div
className="w-full px-4 py-2 sm:px-6"
style={{
backgroundColor: '#7f1d1d',
borderBottom: '1px solid #dc2626',
}}
>
<div className="mx-auto flex max-w-[1300px] items-center justify-between gap-3">
<div className="flex items-center gap-2 sm:gap-3 flex-1 min-w-0">
<svg
className="shrink-0"
style={{ width: '14px', height: '14px', color: '#fbbf24' }}
fill="currentColor"
viewBox="0 0 16 16"
>
<path d="M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" />
</svg>

<span
className="font-plex-sans text-[13px] font-bold uppercase tracking-wide sm:text-[14px] whitespace-nowrap"
style={{ color: '#fbbf24' }}
>
Service Shutdown Notice
</span>

<span
className="font-plex-sans text-[12px] font-medium leading-relaxed sm:text-[13px]"
style={{ color: '#ffffff' }}
>
Fleek Hosting and Eliza Agents service will be permanently shut down
on{' '}
<span className="font-bold" style={{ color: '#fcd34d' }}>
January 31, 2026
</span>
. All data and access will cease. If you need any help with
migration{' '}
<ExternalLink
href="https://resources.fleek.xyz/requests/new/"
className="font-bold underline hover:opacity-80 transition-opacity"
>
<span style={{ color: '#ffd79d' }}>contact support</span>
</ExternalLink>
.
</span>
</div>
</div>
</div>
);
};
1 change: 1 addition & 0 deletions src/components/ShutdownBanner/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { ShutdownBanner } from './ShutdownBanner';
11 changes: 7 additions & 4 deletions src/fragments/Projects/Storage/SunsetMessage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { AlertBox } from "@/components";
import { AlertBox } from '@/components';

export const SunsetMessage: React.FC = () => {
return (
<AlertBox size="sm" className="font-medium">Fleek storage has been sunsetted and you cannot upload new files or folders anymore.</AlertBox>
);
};
<AlertBox size="sm" className="font-medium">
Fleek storage has been sunsetted and you cannot upload new files or
folders anymore.
</AlertBox>
);
};
2 changes: 2 additions & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<boolean> => {
const dashboardBasePath = getDashboardUrl();
Expand Down Expand Up @@ -102,6 +103,7 @@ const App = ({ Component, pageProps, requestCookies }: AppProps) => {
return (
<>
<meta name="robots" content="noindex, nofollow" />
<ShutdownBanner />
<Providers requestCookies={requestCookies} forcedTheme={forcedTheme}>
{getLayout(<Component {...pageProps} />)}
<ToastsContainer />
Expand Down
4 changes: 1 addition & 3 deletions src/pages/projects/[projectId]/storage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ const Storage: Page = () => {
);
};

Storage.getLayout = (page) => (
<Projects.Layout>{page}</Projects.Layout>
);
Storage.getLayout = (page) => <Projects.Layout>{page}</Projects.Layout>;

export default withAccess({
Component: Storage,
Expand Down
Loading