From 6c730708ae037f36b4e81ad3febc82300f033492 Mon Sep 17 00:00:00 2001 From: Benjamin Cabanes <3447705+bcabanes@users.noreply.github.com> Date: Thu, 18 Jul 2024 14:09:20 -0400 Subject: [PATCH] feat(nx-dev): update descriptions and layout styles for better clarity (#26991) Revised meta descriptions and adjusted layout styles to improve visual consistency and accessibility. Enhanced card layout by refining padding and icon handling for different screen sizes. (cherry picked from commit 83b88a10c738e82b6581dce79c4d169927f474bd) --- 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 bc2e59b329b98..f662fd81d898f 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 ba810468eb133..2ce44e5983d60 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 4c0594eaf7b5f..81f0cff637140 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 bc615da4610c5..a9b4e87df431a 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" > -