diff --git a/package.json b/package.json index 84bb89bf4d6..0e184c6f52d 100644 --- a/package.json +++ b/package.json @@ -120,5 +120,5 @@ "lint": "next lint", "clean-references": "node tasks/clean-references.mjs" }, - "packageManager": "yarn@4.9.0" + "packageManager": "yarn@4.9.2" } diff --git a/src/components/Layout/Layout.tsx b/src/components/Layout/Layout.tsx index 0ac4e8e01a3..d4eb2947d82 100644 --- a/src/components/Layout/Layout.tsx +++ b/src/components/Layout/Layout.tsx @@ -38,6 +38,7 @@ import { import { Modal } from '@/components/Modal'; import { Gen1Banner } from '@/components/Gen1Banner'; import { PinpointEOLBanner } from '@/components/PinpointEOLBanner'; +import { LexV1EOLBanner } from '../LexV1EOLBanner'; import { ApiModalProvider } from '../ApiDocs/ApiModalProvider'; export const Layout = ({ @@ -282,9 +283,13 @@ export const Layout = ({ {(isGen1GettingStarted || isGen1HowAmplifyWorks) && ( )} - {(asPathWithNoHash.includes('/push-notifications/') || - asPathWithNoHash.includes('/analytics/')) && ( - + {asPathWithNoHash.includes('/push-notifications/') || + asPathWithNoHash.includes('/analytics/') || + (asPathWithNoHash.includes('/in-app-messaging/') && ( + + ))} + {asPathWithNoHash.includes('/interactions/') && ( + )} {children} {showNextPrev && } diff --git a/src/components/LexV1EOLBanner/LexV1EOLBanner.tsx b/src/components/LexV1EOLBanner/LexV1EOLBanner.tsx new file mode 100644 index 00000000000..4a5b271534a --- /dev/null +++ b/src/components/LexV1EOLBanner/LexV1EOLBanner.tsx @@ -0,0 +1,26 @@ +import { Callout } from '@/components/Callout'; +import Link from 'next/link'; +import classNames from 'classnames'; + +export const LexV1EOLBanner = () => { + return ( + + + AWS will end support for Amazon Lex V1 on September 15, 2025, + + , and is no longer accepting any new users as of March 31. The guidance is + to migrate to{' '} + + Amazon Lex V2. + {' '} + + ); +}; diff --git a/src/components/LexV1EOLBanner/index.ts b/src/components/LexV1EOLBanner/index.ts new file mode 100644 index 00000000000..f1fe40b0cf1 --- /dev/null +++ b/src/components/LexV1EOLBanner/index.ts @@ -0,0 +1 @@ +export { LexV1EOLBanner } from './LexV1EOLBanner';