Skip to content

Commit

Permalink
feat(nx-dev): Update NxCloud docs link and fix ui flicker on footer
Browse files Browse the repository at this point in the history
  • Loading branch information
ndcunningham committed Jul 25, 2024
1 parent 862f2d4 commit 1d9ac4b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nx-dev/ui-common/src/lib/call-to-action.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function CallToAction({
/>
</svg>
<div
className="absolute inset-x-0 top-10 -z-10 flex transform-gpu justify-center overflow-hidden blur-3xl"
className="pointer-events-none absolute inset-x-0 top-10 -z-10 flex transform-gpu justify-center overflow-hidden blur-3xl"
aria-hidden="true"
>
<div
Expand Down
12 changes: 10 additions & 2 deletions nx-dev/ui-common/src/lib/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function Footer(): JSX.Element {
],
nxCloud: [
{ name: 'App', href: 'https://cloud.nx.app' },
{ name: 'Docs', href: '/ci' },
{ name: 'Docs', href: '/ci/intro/ci-with-nx' },
{ name: 'Pricing', href: '/pricing' },
],
solutions: [
Expand Down Expand Up @@ -160,6 +160,7 @@ export function Footer(): JSX.Element {
<a
key={item.name}
href={item.href}
title={item.name}
target="_blank"
rel="noreferer"
className="text-slate-500 hover:text-slate-600 dark:hover:text-slate-400"
Expand All @@ -170,6 +171,7 @@ export function Footer(): JSX.Element {
<Link
key={item.name}
href={item.href}
title={item.name}
prefetch={false}
className="text-slate-500 hover:text-slate-600 dark:hover:text-slate-400"
>
Expand All @@ -195,6 +197,7 @@ export function Footer(): JSX.Element {
<a
href={item.href}
target="_blank"
title={item.name}
rel="noreferer"
className="text-sm text-slate-500 hover:text-slate-600 dark:hover:text-slate-400"
>
Expand All @@ -204,6 +207,7 @@ export function Footer(): JSX.Element {
<Link
href={item.href}
prefetch={false}
title={item.name}
className="text-sm text-slate-500 hover:text-slate-600 dark:hover:text-slate-400"
>
{item.name}
Expand All @@ -223,6 +227,7 @@ export function Footer(): JSX.Element {
<Link
href={item.href}
prefetch={false}
title={item.name}
className="text-sm text-slate-500 hover:text-slate-600 dark:hover:text-slate-400"
>
{item.name}
Expand All @@ -243,6 +248,7 @@ export function Footer(): JSX.Element {
{item.href.startsWith('http') ? (
<a
href={item.href}
title={item.name}
target="_blank"
rel="noreferer"
className="text-sm text-slate-500 hover:text-slate-600 dark:hover:text-slate-400"
Expand All @@ -253,6 +259,7 @@ export function Footer(): JSX.Element {
<Link
href={item.href}
prefetch={false}
title={item.name}
className="text-sm text-slate-500 hover:text-slate-600 dark:hover:text-slate-400"
>
{item.name}
Expand All @@ -272,6 +279,7 @@ export function Footer(): JSX.Element {
<Link
href={item.href}
prefetch={false}
title={item.name}
className="text-sm text-slate-500 hover:text-slate-600 dark:hover:text-slate-400"
>
{item.name}
Expand All @@ -287,7 +295,7 @@ export function Footer(): JSX.Element {
<p className="text-sm text-slate-400 xl:text-center">
&copy; 2024 made with{' '}
<HeartIcon className="-mt-0.5 inline h-4 w-4" /> by{' '}
<Link href="/company" prefetch={false}>
<Link href="/company" prefetch={false} title="Company">
<svg
role="img"
viewBox="0 0 24 24"
Expand Down

0 comments on commit 1d9ac4b

Please sign in to comment.