From 8dd564b7fed22c08ccedc62ba8771bfb70d444e8 Mon Sep 17 00:00:00 2001 From: Taylor Seamans Date: Fri, 1 Mar 2024 15:11:29 -0800 Subject: [PATCH] Add scaffold of today page, authentication --- aries-site/src/pages/demo.js | 150 ---------- design-tokens/src/build.js | 8 +- sandbox/grommet-app/package.json | 1 - sandbox/grommet-app/src/App.jsx | 71 +++-- sandbox/grommet-app/src/Login.jsx | 45 +++ .../grommet-app/src/components/Card/Card.jsx | 4 +- .../DashboardCard/DashboardCard.jsx | 16 +- .../grommet-app/src/mockData/services.json | 46 ++- .../src/pages/FeaturedServices.jsx | 71 +++++ sandbox/grommet-app/src/pages/GetStarted.jsx | 46 +++ .../grommet-app/src/pages/QuickActions.jsx | 20 -- .../grommet-app/src/pages/RecentServices.jsx | 97 ++++++ sandbox/grommet-app/src/pages/index.jsx | 71 ++--- .../src/pages/next/BillingSummary.jsx | 140 +++++++++ .../src/pages/{ => next}/Learn.jsx | 2 +- .../src/pages/{ => next}/MyServices.jsx | 4 +- .../src/pages/{ => next}/Notifications.jsx | 4 +- .../src/pages/next/QuickActions.jsx | 33 +++ .../src/pages/{ => next}/Recommended.jsx | 2 +- .../{ => next}/SustainabilityOverview.jsx | 4 +- sandbox/grommet-app/src/pages/next/index.jsx | 75 +++++ .../src/pages/sustainability/Devices.jsx | 34 ++- .../sustainability/SustainabilityInsights.jsx | 21 +- .../src/pages/sustainability/index.jsx | 16 +- .../grommet-app/src/pages/vision/index.jsx | 11 + sandbox/grommet-app/src/theme.js | 275 ++++++++++-------- yarn.lock | 136 ++++----- 27 files changed, 922 insertions(+), 481 deletions(-) delete mode 100644 aries-site/src/pages/demo.js create mode 100644 sandbox/grommet-app/src/Login.jsx create mode 100644 sandbox/grommet-app/src/pages/FeaturedServices.jsx create mode 100644 sandbox/grommet-app/src/pages/GetStarted.jsx delete mode 100644 sandbox/grommet-app/src/pages/QuickActions.jsx create mode 100644 sandbox/grommet-app/src/pages/RecentServices.jsx create mode 100644 sandbox/grommet-app/src/pages/next/BillingSummary.jsx rename sandbox/grommet-app/src/pages/{ => next}/Learn.jsx (90%) rename sandbox/grommet-app/src/pages/{ => next}/MyServices.jsx (82%) rename sandbox/grommet-app/src/pages/{ => next}/Notifications.jsx (94%) create mode 100644 sandbox/grommet-app/src/pages/next/QuickActions.jsx rename sandbox/grommet-app/src/pages/{ => next}/Recommended.jsx (94%) rename sandbox/grommet-app/src/pages/{ => next}/SustainabilityOverview.jsx (97%) create mode 100644 sandbox/grommet-app/src/pages/next/index.jsx create mode 100644 sandbox/grommet-app/src/pages/vision/index.jsx diff --git a/aries-site/src/pages/demo.js b/aries-site/src/pages/demo.js deleted file mode 100644 index 7bd90319f..000000000 --- a/aries-site/src/pages/demo.js +++ /dev/null @@ -1,150 +0,0 @@ -import React, { useContext } from 'react'; -import { - Box, - Button, - Grid, - Heading, - PageContent, - Paragraph, - PageHeader, - ResponsiveContext, - ThemeContext, - Card, - CardBody, - Text, - Meter, -} from 'grommet'; -import { AppsRounded, Configure, PlayFill, ShareRounded } from 'grommet-icons'; -import { Meta } from '../components'; -import { aries } from '../themes/aries'; -import { Card as TemplateCard } from '../examples'; - -const title = 'Design Tokens Demo'; - -const BriefCard = ({ description, title, icon, ...rest }) => ( - {}} {...rest}> - - - - {title} - - - {description} - - - {icon} - - -); - -const MeterCard = () => ( - - - - - - - - - High severity - - - - Medium severity - - - - Low severity - - - - -); - -const Demo = () => { - const size = useContext(ResponsiveContext); - - return ( - <> - - - - - - - - } - /> - - } - /> - - - - - - Capacity - - - Volume - - - - 32%{' '} - - used (240 of 750 TiB) - - - - - - - - - - } - /> - } - /> - - - - Learn about the new HPE GreenLake Console experience - -