diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 38f1c4a95..25533cfa3 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -27,6 +27,7 @@ jobs: SQLX_OFFLINE: '1' RUSTC_WRAPPER: sccache SCCACHE_GHA_ENABLED: 'true' + DEFGUARD_CLIENT_WELCOME_SKIP: '1' steps: - name: Install system dependencies run: | diff --git a/new-ui/src/pages/welcome/WelcomePage.tsx b/new-ui/src/pages/welcome/WelcomePage.tsx new file mode 100644 index 000000000..8b8b620b7 --- /dev/null +++ b/new-ui/src/pages/welcome/WelcomePage.tsx @@ -0,0 +1,38 @@ +import { Fragment } from 'react/jsx-runtime'; +import { FullPage } from '../../shared/layouts/FullPage/FullPage'; +import './style.scss'; +import { IconKind } from '../../shared/components/Icon'; +import { IconButton } from '../../shared/components/IconButton/IconButton'; +import { IconButtonVariant } from '../../shared/components/IconButton/types'; +import { Snackbar } from '../../shared/providers/snackbar/snackbar'; +import { ThemeSpacing } from '../../shared/types'; +import { WelcomeCarousel } from './components/WelcomeCarousel/WelcomeCarousel'; +import { welcomeSlides } from './config'; + +export const WelcomePage = () => { + return ( + +
+ +
+

{`What's new`}

+ { + Snackbar.default(`Close Welcome view`); + }} + /> +
+ +
+
+ ); +}; diff --git a/new-ui/src/pages/welcome/assets/test_frame.png b/new-ui/src/pages/welcome/assets/test_frame.png new file mode 100644 index 000000000..c1c5d96d3 Binary files /dev/null and b/new-ui/src/pages/welcome/assets/test_frame.png differ diff --git a/new-ui/src/pages/welcome/components/SlideImage.tsx b/new-ui/src/pages/welcome/components/SlideImage.tsx new file mode 100644 index 000000000..0e7f96477 --- /dev/null +++ b/new-ui/src/pages/welcome/components/SlideImage.tsx @@ -0,0 +1,15 @@ +type Props = { + src: string; +}; + +export const SlideImage = ({ src }: Props) => { + return ( + + ); +}; diff --git a/new-ui/src/pages/welcome/components/SlideVideo.tsx b/new-ui/src/pages/welcome/components/SlideVideo.tsx new file mode 100644 index 000000000..fc8d7ea71 --- /dev/null +++ b/new-ui/src/pages/welcome/components/SlideVideo.tsx @@ -0,0 +1,18 @@ +type Props = { + src: string; +}; + +export const SlideVideo = ({ src }: Props) => { + return ( +