From ae4a112fff97602d84bc7806dbd788620ef6da98 Mon Sep 17 00:00:00 2001 From: Benjamin Cabanes <3447705+bcabanes@users.noreply.github.com> Date: Fri, 16 Aug 2024 10:31:15 -0400 Subject: [PATCH] feat(nx-dev): add Monorepo World banner to hero Integrate a new Monorepo World banner with animations in the hero section using framer-motion. Updated the UI icons library to include Monorepo World icon and relevant SVG file. --- .../monorepoworld-vertical-banner.avif | Bin 0 -> 6061 bytes nx-dev/ui-home/src/lib/hero.tsx | 106 +++++++++++++++--- nx-dev/ui-icons/src/index.ts | 15 ++- nx-dev/ui-icons/src/lib/monorepo-world.tsx | 14 +++ 4 files changed, 112 insertions(+), 23 deletions(-) create mode 100644 nx-dev/nx-dev/public/images/conferences/monorepoworld-vertical-banner.avif create mode 100644 nx-dev/ui-icons/src/lib/monorepo-world.tsx diff --git a/nx-dev/nx-dev/public/images/conferences/monorepoworld-vertical-banner.avif b/nx-dev/nx-dev/public/images/conferences/monorepoworld-vertical-banner.avif new file mode 100644 index 0000000000000000000000000000000000000000..4c3629945e91e499ef8d9144673a8279a76fc648 GIT binary patch literal 6061 zcmYjt1ymGV*Y%Ln4BcJQ-CfcxA&N*dFu(vaNJtFbDUH%dcL+#>NOvPcr!)eBzz06- zUH^aAx_6&*_C9eB005x3g?d3OJV3U9$Mb|vAX|PXkcF+5Jih_}fE43o1GRYK9?x@o zYp~mYCIA2dSwa72KOq=o`M)xF5D?VqABXh#a)H1uR!^Q10Dug5iacHvMgV{~>e2t_ zAvHY0Q-%TvoNb$f8_rC_HS7?8n0d zPEGg%`ZW7-SEl-ivNxeBGSQH?>Pa<1u?pwf5 z9y-ib9aCKQ!nTzRWlM==IQ;#6!uvD6GL+4Wc&E9I`VaIXh^V;3WA$s;)a`G#|6uiY zxT?$@u%Hf+=HDf#3BAaXTw~t_jpNjL&yDdp2_Exsj#5R0F?MU|&us!*-a;G<1a7=? zp*z{Q@f{`*k9=P;Ll_o9tNu+b0p2AL)#qice_Pu}1)>b~L-EnRv=W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%cEyV`?M%I zew5~wg8YxmKNwzC4N|K0oe!T3OBfTBV&CuJwo4%|-Iwx@>@!t;3B?|Bp`N%Oa{2pt zz;G7R&*v)Dwmd7j3hP!t9^Ix`iEqK^yQ9-X^7L%q@E``;y>%K@GQG*OH&`L8`OP<1 zx>i>ACf+*n{TXI!rTx4q%hAsdroOA)X1}KB5pe=o66m&b^)TT%*5JLZ%SskRiaWZ3 zt8ejp-89X3V3>7f*u7Pf%m94Z(M~hvf)KD0m`S;$X+6AAz z(Z|N&MmN8FPLYkgyhd+*^MY^1rkz=*Xj!Enn~N?uI{@@uusFNvE}gmA&CBk+uEdM0 z!?gqS_63(e8-$oeK)Gv`!K<^W7@Fblf#-i*6+AqQ2p3bgS8saqrSP0KMN?v@2Ujt1 zPbjgpTFRDt1GFX{aD&*GwjK7~MBDf7eMy#F;P~LEiDx)n;gV<7b-Zmue|zAq6EwF+ zx=}j*_j{iFAvd4R=dG^v$iYi4+^B=~WrZR`o&d Sn)Q0-ihi^w#-->Nm;VFO%Rwgq literal 0 HcmV?d00001 diff --git a/nx-dev/ui-home/src/lib/hero.tsx b/nx-dev/ui-home/src/lib/hero.tsx index c6042d79e7189e..4a0aefa8d9fd89 100644 --- a/nx-dev/ui-home/src/lib/hero.tsx +++ b/nx-dev/ui-home/src/lib/hero.tsx @@ -6,6 +6,8 @@ import { Theme, useTheme } from '@nx/nx-dev/ui-theme'; import { useState } from 'react'; import Link from 'next/link'; import { useIsomorphicLayoutEffect } from '@nx/nx-dev/ui-primitives'; +import { MonorepoWorldIcon } from '@nx/nx-dev/ui-icons'; +import { motion, MotionConfig } from 'framer-motion'; export function Hero(): JSX.Element { return ( @@ -23,23 +25,6 @@ export function Hero(): JSX.Element {
-
-
- - Monorepo World - {' '} - - The conf for monorepos and dev tooling.{' '} - - - Find out more - -
-
Smart @@ -96,6 +81,93 @@ export function Hero(): JSX.Element { Contact us
+
+ + +
+
+
+ MonorepoWorld conference image + {/*
+
+

+ + + The Nx team will be at Monorepo World! + +

+

+ The ultimate conference for{' '} + monorepos and + developer{' '} + tooling on 0ct. + 7. 2024, Mountain View, CA. +

+
+ {/*
*/} + {/* */} + {/* Join us*/} + {/* */} + {/*
*/} +
+
+ {/**/} + {/* */} + {/*
+
+
diff --git a/nx-dev/ui-icons/src/index.ts b/nx-dev/ui-icons/src/index.ts index 86209781a8dc05..5e6e5dbdee37bf 100644 --- a/nx-dev/ui-icons/src/index.ts +++ b/nx-dev/ui-icons/src/index.ts @@ -73,6 +73,15 @@ export * from './lib/customers/zipari'; export * from './lib/editors/jetbrains'; export * from './lib/editors/visual-studio-code'; +// OTHERS +export * from './lib/monorepo-world'; + +// PODCASTS +export * from './lib/podcasts/amazon-music'; +export * from './lib/podcasts/apple-podcasts'; +export * from './lib/podcasts/i-heart-radio'; +export * from './lib/podcasts/spotify'; + // PRODUCTS export * from './lib/products'; @@ -119,9 +128,3 @@ export * from './lib/technologies/vite'; export * from './lib/technologies/vitest'; export * from './lib/technologies/vue'; export * from './lib/technologies/webpack'; - -// PODCASTS -export * from './lib/podcasts/amazon-music'; -export * from './lib/podcasts/apple-podcasts'; -export * from './lib/podcasts/i-heart-radio'; -export * from './lib/podcasts/spotify'; diff --git a/nx-dev/ui-icons/src/lib/monorepo-world.tsx b/nx-dev/ui-icons/src/lib/monorepo-world.tsx new file mode 100644 index 00000000000000..a416ea8476618c --- /dev/null +++ b/nx-dev/ui-icons/src/lib/monorepo-world.tsx @@ -0,0 +1,14 @@ +import { ComponentPropsWithoutRef } from 'react'; + +export function MonorepoWorldIcon(props: ComponentPropsWithoutRef<'svg'>) { + return ( + + + + ); +}