Skip to content

Commit

Permalink
Add banner (#1364)
Browse files Browse the repository at this point in the history
  • Loading branch information
anafilipadealmeida committed May 16, 2024
1 parent b866476 commit 89b902a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion ui/apps/dashboard/src/app/(organization-active)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
import type { ReactNode } from 'react';
import { Link } from '@inngest/components/Link';

import { Banner } from '@/components/Banner';
import { URQLProvider } from '@/queries/URQLProvider';

type OrganizationActiveLayoutProps = {
children: ReactNode;
};

export default function OrganizationActiveLayout({ children }: OrganizationActiveLayoutProps) {
return <URQLProvider>{children}</URQLProvider>;
return (
<URQLProvider>
<Banner kind="warning">
We are experiencing some API issues. Please check the{' '}
<span style={{ display: 'inline-flex' }}>
<Link href="https://status.inngest.com/">status page.</Link>
</span>
</Banner>
{children}
</URQLProvider>
);
}

0 comments on commit 89b902a

Please sign in to comment.