From dca3b4927261c2efd75b18e9affad66579582f5c Mon Sep 17 00:00:00 2001 From: Brian Muenzenmeyer Date: Fri, 17 Jul 2026 19:05:57 -0500 Subject: [PATCH 1/3] Add security.txt to CODEOWNERS (#9006) Add security.txt to CODEOWNERS for security team oversight. Consequence of https://github.com/nodejs/nodejs.org/pull/9005 Signed-off-by: Brian Muenzenmeyer --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a940f68f8eca0..57165054469f8 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -36,6 +36,7 @@ LICENSE @nodejs/tsc CONTRIBUTING.md @nodejs/nodejs-website @nodejs/web-infra docs @nodejs/nodejs-website @nodejs/web-infra SECURITY.md @nodejs/security-wg +apps/site/public/.well-known/security.txt @nodejs/security-wg # Node.js Release Blog Posts apps/site/pages/en/blog/release @nodejs/releasers From cf4aa62746566a34d2b8a8d5b3b5e1a1bfb8257e Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 17 Jul 2026 17:11:15 -0700 Subject: [PATCH 2/3] meta: bump nvm to v0.40.6 (#9010) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- apps/site/snippets/en/download/nvm.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/snippets/en/download/nvm.bash b/apps/site/snippets/en/download/nvm.bash index 61dc29c463b9e..a4c8378dacf00 100644 --- a/apps/site/snippets/en/download/nvm.bash +++ b/apps/site/snippets/en/download/nvm.bash @@ -1,5 +1,5 @@ # Download and install nvm: -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | bash +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.6/install.sh | bash # in lieu of restarting the shell \. "$HOME/.nvm/nvm.sh" From 2335563cb883bd79beca00c0f36b12c3bd8c12fe Mon Sep 17 00:00:00 2001 From: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com> Date: Sat, 18 Jul 2026 02:11:21 +0200 Subject: [PATCH 3/3] fix(navbar): no item position (#9007) * fix(navbar): no item position * Update index.module.css --- .../src/Containers/NavBar/index.module.css | 19 +++--- .../src/Containers/NavBar/index.stories.tsx | 64 ++++++++++++++++--- .../src/Containers/NavBar/index.tsx | 18 +++--- 3 files changed, 76 insertions(+), 25 deletions(-) diff --git a/packages/ui-components/src/Containers/NavBar/index.module.css b/packages/ui-components/src/Containers/NavBar/index.module.css index 99775c5f02fe4..78c1932d413c3 100644 --- a/packages/ui-components/src/Containers/NavBar/index.module.css +++ b/packages/ui-components/src/Containers/NavBar/index.module.css @@ -39,16 +39,17 @@ } .sidebarItemTogglerLabel { - @apply block + @apply ml-auto + block cursor-pointer - xl:hidden; - - .navInteractionIcon { - @apply size-6; - } + xl:hidden; /* Push toggler to the right if Logo exists */ } } + .navInteractionIcon { + @apply size-6; + } + .sidebarItemToggler { @apply absolute right-4 @@ -62,11 +63,11 @@ .main { @apply flex-1 flex-col - justify-between gap-4 xl:flex xl:flex-row - xl:items-center; + xl:items-center + xl:justify-between; } .navItems { @@ -86,6 +87,7 @@ .actionsWrapper { @apply flex + w-full flex-row flex-wrap items-center @@ -95,6 +97,7 @@ border-neutral-200 p-4 sm:flex-nowrap + xl:ml-auto xl:basis-96 xl:border-0 xl:p-0 diff --git a/packages/ui-components/src/Containers/NavBar/index.stories.tsx b/packages/ui-components/src/Containers/NavBar/index.stories.tsx index 2c055e4a43e79..1f653bfda8740 100644 --- a/packages/ui-components/src/Containers/NavBar/index.stories.tsx +++ b/packages/ui-components/src/Containers/NavBar/index.stories.tsx @@ -1,3 +1,5 @@ +import Logo from '#ui/Common/NodejsLogo'; +import SearchModal from '#ui/Common/Search/Modal'; import NavBar from '#ui/Containers/NavBar'; import type { Meta as MetaObj, StoryObj } from '@storybook/react-webpack5'; @@ -5,17 +7,55 @@ import type { Meta as MetaObj, StoryObj } from '@storybook/react-webpack5'; type Story = StoryObj; type Meta = MetaObj; -const common = { - as: 'a', - Logo: 'a', - pathname: '/', +export const Default: Story = { + args: { + as: 'a', + Logo, + pathname: '/', + children: , + navItems: [ + { + text: 'Learn', + link: '/', + }, + { + text: 'About', + link: '/about', + }, + { + text: 'Docs', + link: '/docs', + }, + { + text: 'Download', + link: '/download', + }, + { + text: 'Blog', + link: '/blog', + }, + { + text: 'Certification', + link: 'https://openjsf.org/certification', + }, + ], + }, +}; - children: Some other child, -} as const; +export const NoNavItems: Story = { + args: { + as: 'a', + Logo, + pathname: '/', + children: , + }, +}; -export const Default: Story = { +export const NoLogo: Story = { args: { - ...common, + as: 'a', + pathname: '/', + children: , navItems: [ { text: 'Learn', @@ -45,6 +85,12 @@ export const Default: Story = { }, }; -export const NoNavItems: Story = { args: common }; +export const NoLogoNoNavItems: Story = { + args: { + as: 'a', + pathname: '/', + children: , + }, +}; export default { component: NavBar } as Meta; diff --git a/packages/ui-components/src/Containers/NavBar/index.tsx b/packages/ui-components/src/Containers/NavBar/index.tsx index 4f4c179b5018a..d91ace9c4c680 100644 --- a/packages/ui-components/src/Containers/NavBar/index.tsx +++ b/packages/ui-components/src/Containers/NavBar/index.tsx @@ -39,7 +39,7 @@ type NavbarProps = { link: string; target?: HTMLAttributeAnchorTarget | undefined; }>; - Logo: ElementType; + Logo?: ElementType; as: LinkLike; pathname: string; sidebarItemTogglerAriaLabel: string; @@ -61,13 +61,15 @@ const NavBar: FC> = ({