diff --git a/.travis.yml b/.travis.yml index c3bc70a41..3b9b016d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,12 @@ language: node_js sudo: required +dist: jammy notifications: email: false slack: secure: 'd3g5oKl5kfzi2L96QTrj2g77lzLWzjnM6Ct2OTXRrk90GxxhwHS8RH4Q1IgBqkQjw68nkq7CNE9oAs+pt3si8kT4GQ164YLoTMVkDPBGOoOoMACPyanxQOEluUfdLEDIzChy/7EdlY3l1J2IM+lOK4e95jUwsT9BSXBsSladP++1EUiZfon9JcQSiSZa0e1/cVxLpEDuBB2cruUSTZ9sUATe/XZ0uH1EGzrooQJMkRgdty5UyNSsMxkvAY0Haivq8u9/gWAsLar0bA/90M5CVK7yohh9fY9UfTUbXVqwR3dFAXuW+SURrFVnPAX4FLZt/D09cg/CVCvoasiZdNi9RAeKOCfN+FoxB2ZJNnuM+4KDJX3dxnatd/stmEH1bcd75i4mh9zOWE1HX5d23HuZ4sKdDPpvhG3l7SpZfhLv0/EKL10ld9RdIaiTO2uPI3rsoyDeArzeV+09+dbB1iPKnS/3/Iw5KLhbew3mdJXKVfRk6KYcJySjT8EltrNy5Y7mty7/JzWssSpIpkMCnu6RGAtXO2v/jUfFm1WvsKK5BeH5efbLi1sjMNbVTeA3Bp8pvRPuw+50l94uDfeQ1HUTrq5zKXMUaG9dTdaYZX4fEDMmrbM1TLudjb9Xj4elaA5ioBH0gRFxAnSVTmrKFtFoCRVaqfmj3ceqxttCLUpkfvI=' node_js: -- '16' +- '18' before_install: - npm install -g npm@latest install: @@ -38,4 +39,4 @@ env: cache: directories: - "$HOME/.npm" - - ".cache" \ No newline at end of file + - ".cache" diff --git a/src/components/Stratosphere/ProductSelection.tsx b/src/components/Stratosphere/ProductSelection.tsx index d042bc7b3..bfa470e4d 100644 --- a/src/components/Stratosphere/ProductSelection.tsx +++ b/src/components/Stratosphere/ProductSelection.tsx @@ -7,74 +7,82 @@ import ProductCard from './ProductCard'; import { Header } from '../Header/Header'; import ChromeLink from '../ChromeLink/ChromeLink'; import Footer from './Footer'; +import useMarketplacePartner from '../../hooks/useMarketplacePartner'; import './product-selection.scss'; -const ProductSelection = () => ( -
- -
- - } - > -
- - - - - - - - - - - - Congratulations, +const ProductSelection = () => { + const { partner, partnerId } = useMarketplacePartner(); + return ( + <div id="chrome-app-render-root"> + <Page + header={ + <Masthead className="chr-c-masthead"> + <Header /> + </Masthead> + } + > + <div className="chr-c-product-selection pf-u-pt-lg pf-u-pb-lg"> + <Stack hasGutter> + <StackItem> + <Bullseye> + <CheckCircleIcon size="xl" color="var(--pf-global--success-color--100)" /> + </Bullseye> + </StackItem> + <StackItem> + <Stack> + <StackItem> + <Bullseye> + <Title size="3xl" headingLevel="h1"> + Congratulations, + + + + + + your Red Hat and {partner} accounts are connected and you can now access Red Hat support resources - - - - - your Red Hat and AWS accounts are connected and you can now access Red Hat support resources - - - - - - - - To get started using your Red Hat products, follow the links below - - - - - -
- {productsList.map((item, i) => ( - - ))} -
-
-
- - - - - To manage or learn more about your Red Hat subscriptions, visit{' '} - - subscriptions. - - - - - -
-
-
-); + + + + {partnerId !== 'from-azure' && ( + <> + + + + To get started using your Red Hat products, follow the links below + + + + + +
+ {productsList.map((item, i) => ( + + ))} +
+
+
+ + )} + + + + + To manage or learn more about your Red Hat subscriptions, visit{' '} + + subscriptions. + + + + + + + +