diff --git a/src/components/Icons/IconTS.tsx b/src/components/Icons/IconTS.tsx new file mode 100644 index 00000000000..cdf987a7564 --- /dev/null +++ b/src/components/Icons/IconTS.tsx @@ -0,0 +1,32 @@ +import { Icon } from '@aws-amplify/ui-react'; + +export const IconTS = ({ ...rest }) => { + return ( + + ); +}; diff --git a/src/components/Icons/index.ts b/src/components/Icons/index.ts index 882bb6ed60a..d061fd6eb60 100644 --- a/src/components/Icons/index.ts +++ b/src/components/Icons/index.ts @@ -21,6 +21,7 @@ export { IconReact } from './IconReact'; export { IconSwift } from './IconSwift'; export { IconStar } from './IconStar'; export { IconTOC } from './IconTOC'; +export { IconTS } from './IconTS'; export { IconTwitter } from './IconTwitter'; export { IconVue } from './IconVue'; export { IconExternalLink } from './IconExternalLink'; diff --git a/src/pages/gen2/index.tsx b/src/pages/gen2/index.tsx index 9a104c7ebe6..2dad2fa1a4d 100644 --- a/src/pages/gen2/index.tsx +++ b/src/pages/gen2/index.tsx @@ -10,10 +10,11 @@ import { import ExportedImage from 'next-image-export-optimizer'; import { MDXCode } from '@/components/MDXComponents/'; import { - IconKotlin, + IconAngular, + IconJS, IconNext, - IconNuxt, IconReact, + IconTS, IconVue, IconChevron } from '@/components/Icons'; @@ -38,24 +39,32 @@ export function getStaticProps() { const supportedFrameworks = [ { - title: 'Next', - icon: + title: 'JavaScript', + icon: + }, + { + title: 'TypeScript', + icon: }, { title: 'React', icon: }, { - title: 'Nuxt', - icon: + title: 'Next', + icon: }, { title: 'Vue', icon: }, { - title: 'Kotlin', - icon: + title: 'Angular', + icon: + }, + { + title: 'React Native', + icon: } ]; @@ -103,7 +112,10 @@ const Gen2Overview = () => { {supportedFrameworks.map((framework, index) => { return ( -
  • +
  • {framework.icon} {framework.title}
  • diff --git a/src/styles/framework-grid.scss b/src/styles/framework-grid.scss index 4291495b2ec..d76abb66caf 100644 --- a/src/styles/framework-grid.scss +++ b/src/styles/framework-grid.scss @@ -19,11 +19,16 @@ } &__item { text-align: center; + font-size: var(--amplify-font-sizes-small); + &--text { + display: flex; + flex-direction: column; + gap: var(--amplify-space-xs); + } } &__link { display: flex; flex-direction: column; - font-size: var(--amplify-font-sizes-small); gap: var(--amplify-space-xs); color: var(--amplify-colors-font-primary); text-decoration: none;