From 0cc6465ffd2068c3c890a99328f2e56ed92ae0c2 Mon Sep 17 00:00:00 2001 From: Benjamin Cabanes <3447705+bcabanes@users.noreply.github.com> Date: Thu, 18 Jul 2024 14:21:37 -0400 Subject: [PATCH] feat(nx-dev): update descriptions and layout styles for better clarity (#26991) (#26993) --- nx-dev/nx-dev/pages/index.tsx | 5 +- nx-dev/ui-common/src/lib/footer.tsx | 4 +- nx-dev/ui-home/src/lib/hero.tsx | 6 +- .../src/lib/smarter-tools-for-monorepos.tsx | 397 +++++++++++++----- 4 files changed, 289 insertions(+), 123 deletions(-) diff --git a/nx-dev/nx-dev/pages/index.tsx b/nx-dev/nx-dev/pages/index.tsx index bc2e59b329b982..f662fd81d898f0 100644 --- a/nx-dev/nx-dev/pages/index.tsx +++ b/nx-dev/nx-dev/pages/index.tsx @@ -15,7 +15,7 @@ export default function Index(): JSX.Element { <> -

Next generation monorepo tool

- {/**/} +

Build system with advanced CI capabilities.

diff --git a/nx-dev/ui-common/src/lib/footer.tsx b/nx-dev/ui-common/src/lib/footer.tsx index ba810468eb1333..2ce44e5983d607 100644 --- a/nx-dev/ui-common/src/lib/footer.tsx +++ b/nx-dev/ui-common/src/lib/footer.tsx @@ -144,7 +144,7 @@ export function Footer(): JSX.Element { -
+
- Preferences + Theme
diff --git a/nx-dev/ui-home/src/lib/hero.tsx b/nx-dev/ui-home/src/lib/hero.tsx index 4c0594eaf7b5f7..81f0cff6371400 100644 --- a/nx-dev/ui-home/src/lib/hero.tsx +++ b/nx-dev/ui-home/src/lib/hero.tsx @@ -10,7 +10,9 @@ import { useIsomorphicLayoutEffect } from '@nx/nx-dev/ui-primitives'; export function Hero(): JSX.Element { return (
- +
+ +
@@ -22,7 +24,7 @@ export function Hero(): JSX.Element {
-
+
Monorepo World {' '} diff --git a/nx-dev/ui-home/src/lib/smarter-tools-for-monorepos.tsx b/nx-dev/ui-home/src/lib/smarter-tools-for-monorepos.tsx index bc615da4610c57..a9b4e87df431a5 100644 --- a/nx-dev/ui-home/src/lib/smarter-tools-for-monorepos.tsx +++ b/nx-dev/ui-home/src/lib/smarter-tools-for-monorepos.tsx @@ -110,10 +110,13 @@ export function SmarterToolsForMonorepos(): JSX.Element { href="/getting-started/tutorials/gradle-tutorial?utm_source=homepage?utm_medium=website&utm_campaign=homepage_links&utm_content=cta_smarter_tools_techlink" prefetch={false} title="Nx with Gradle" - className="h-full w-full p-4" + className="h-full w-full p-2 sm:p-4" > -
@@ -265,7 +295,7 @@ export function SmarterToolsForMonorepos(): JSX.Element { href="/getting-started/intro#learn-nx" prefetch={false} title="Nx video tutorials" - className="h-full w-full p-4" + className="h-full w-full p-2 sm:p-4" > Video tutorials @@ -279,10 +309,13 @@ export function SmarterToolsForMonorepos(): JSX.Element { href="/getting-started/tutorials/gradle-tutorial?utm_medium=website&utm_campaign=homepage_links&utm_content=cta_smarter_tools_techlink" prefetch={false} title="Nx with Java" - className="h-full w-full p-4" + className="h-full w-full p-2 sm:p-4" > -
@@ -405,10 +450,13 @@ export function SmarterToolsForMonorepos(): JSX.Element { href="https://github.com/nrwl/nx-recipes/tree/main/dot-net-standalone" prefetch={false} title="Nx with DotNet" - className="h-full w-full p-4" + className="h-full w-full p-2 sm:p-4" > -
@@ -569,10 +650,13 @@ export function SmarterToolsForMonorepos(): JSX.Element { href="/getting-started/tutorials/gradle-tutorial?utm_medium=website&utm_campaign=homepage_links&utm_content=cta_smarter_tools_techlink" prefetch={false} title="Nx with Gradle" - className="h-full w-full p-4" + className="h-full w-full p-2 sm:p-4" > -