diff --git a/src/pages/[platform]/index.tsx b/src/pages/[platform]/index.tsx index 9d568f0cacf..6485de157b6 100644 --- a/src/pages/[platform]/index.tsx +++ b/src/pages/[platform]/index.tsx @@ -53,6 +53,10 @@ export function getStaticProps() { const Gen2Overview = () => { const currentPlatform = useCurrentPlatform(); + const isMobilePlatform = ['swift', 'android', 'flutter'].includes( + currentPlatform + ); + const isFlutter = currentPlatform == 'flutter'; return ( @@ -60,12 +64,29 @@ const Gen2Overview = () => { Amplify Documentation for {PLATFORM_DISPLAY_NAMES[currentPlatform]} - - AWS Amplify is everything frontend developers need to develop and - deploy cloud-powered fullstack applications without hassle. Easily - connect your frontend to the cloud for data modeling, authentication, - storage, serverless functions, SSR app deployment, and more. - + {isFlutter ? ( + + AWS Amplify is everything Flutter developers need to develop + cloud-powered fullstack applications without hassle. Easily connect + your Flutter applications to the cloud for data modeling, + authentication, storage, serverless functions, and more. + + ) : isMobilePlatform ? ( + + AWS Amplify is everything mobile developers need to develop + cloud-powered fullstack applications without hassle. Easily connect + your cross-platform applications to the cloud for data modeling, + authentication, storage, serverless functions, and more. + + ) : ( + + AWS Amplify is everything frontend developers need to develop and + deploy cloud-powered fullstack applications without hassle. Easily + connect your frontend to the cloud for data modeling, + authentication, storage, serverless functions, SSR app deployment, + and more. + + )} { Features - - - - Code-first DX - - - The fullstack TypeScript developer experience lets you focus on - your app code instead of infrastructure. - - - + {isMobilePlatform ? ( + + + + Code-first DX + + + The new code-first developer experience lets you define your + infrastructure with TypeScript. + + + + ) : ( + + + + Code-first DX + + + The fullstack TypeScript developer experience lets you focus + on your app code instead of infrastructure. + + + + )} @@ -139,47 +174,66 @@ const Gen2Overview = () => { Develop - @@ -222,18 +278,20 @@ const Gen2Overview = () => { /> - - Deploy Next.js, Nuxt, React, Vue.js, Angular (and more) apps by - simply connecting your Git repository. - + {!isMobilePlatform && ( + + Deploy Next.js, Nuxt, React, Vue.js, Angular (and more) apps by + simply connecting your Git repository. + + )}