diff --git a/nx-dev/ui-icons/src/index.ts b/nx-dev/ui-icons/src/index.ts index c3407d090a436..65303d9c40345 100644 --- a/nx-dev/ui-icons/src/index.ts +++ b/nx-dev/ui-icons/src/index.ts @@ -79,6 +79,7 @@ export * from './lib/editors/visual-studio-code'; export * from './lib/monorepo-world'; export * from './lib/others/amazon-s3'; export * from './lib/others/linux'; +export * from './lib/others/min-io'; export * from './lib/others/windows'; // PODCASTS diff --git a/nx-dev/ui-icons/src/lib/others/min-io.tsx b/nx-dev/ui-icons/src/lib/others/min-io.tsx new file mode 100644 index 0000000000000..02f63c05ed24b --- /dev/null +++ b/nx-dev/ui-icons/src/lib/others/min-io.tsx @@ -0,0 +1,17 @@ +import { FC, SVGProps } from 'react'; + +/** + * Use `#C72E49` for a colored version. + */ +export const MinIOIcon: FC> = (props) => ( + + MinIO + + +); diff --git a/nx-dev/ui-powerpack/src/lib/powerpack-features.tsx b/nx-dev/ui-powerpack/src/lib/powerpack-features.tsx index 3b02bbdd732a6..79f918f92a895 100644 --- a/nx-dev/ui-powerpack/src/lib/powerpack-features.tsx +++ b/nx-dev/ui-powerpack/src/lib/powerpack-features.tsx @@ -21,6 +21,7 @@ import { AmazonS3Icon, AzureDevOpsIcon, GoogleCloudIcon, + MinIOIcon, NxIcon, } from '@nx/nx-dev/ui-icons'; import Link from 'next/link'; @@ -65,7 +66,7 @@ export function PowerpackFeatures(): ReactElement { -
+
@@ -268,7 +269,7 @@ const Card = forwardRef<
(null); const containerRef = useRef(null); const gcpRef = useRef(null); + const minioRef = useRef(null); const networkDriveRef = useRef(null); const nxRef = useRef(null); @@ -295,9 +297,9 @@ export function CustomRemoteCacheAnimation(): ReactElement { containerRef={containerRef} fromRef={awsRef} toRef={nxRef} - curvature={175} - startXOffset={-20} - endYOffset={30} + curvature={-75} + startXOffset={-75} + endYOffset={0} bidirectional={true} duration={5} /> @@ -307,9 +309,9 @@ export function CustomRemoteCacheAnimation(): ReactElement { containerRef={containerRef} fromRef={azureRef} toRef={nxRef} - curvature={175} - startXOffset={20} - endYOffset={30} + curvature={75} + startXOffset={-75} + endYOffset={0} bidirectional={true} reverse={true} duration={5} @@ -321,21 +323,33 @@ export function CustomRemoteCacheAnimation(): ReactElement { fromRef={gcpRef} toRef={nxRef} bidirectional={true} - curvature={130} - startXOffset={20} - endXOffset={-20} + curvature={75} + startXOffset={-75} + endYOffset={0} reverse={true} duration={5} /> ), + minio: ( + + ), networkDrive: ( @@ -370,7 +384,7 @@ export function CustomRemoteCacheAnimation(): ReactElement { return (
-
+
-
+
{ @@ -402,18 +416,39 @@ export function CustomRemoteCacheAnimation(): ReactElement { { 'bg-slate-50 dark:bg-slate-800': selected === 'aws' } )} > -
+
-
+ { + setAutoplay(false); + setSelected('minio'); + }} + onMouseLeave={() => { + setAutoplay(true); + setSelected(null); + }} + className={cx( + 'relative transition hover:bg-slate-50 dark:hover:bg-slate-800', + { 'bg-slate-50 dark:bg-slate-800': selected === 'minio' } + )} + > + -
- Network Drive -
-
-
- GCP -
-
-
- Azure -
-