Skip to content

Commit

Permalink
fix: 404 on the 'package managers' link on home page
Browse files Browse the repository at this point in the history
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
  • Loading branch information
olehermanse committed Oct 22, 2024
1 parent d6d445d commit 890e777
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 12 deletions.
2 changes: 2 additions & 0 deletions apps/site/next.mdx.use.client.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ export const clientMdxComponents = {
Button: Button,
// Links with External Arrow
LinkWithArrow: LinkWithArrow,
// Regular links (without arrow)
Link: Link,
};

/**
Expand Down
2 changes: 1 addition & 1 deletion apps/site/pages/en/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ layout: home
<small>
Downloads Node.js <b>{release.versionWithPrefix}</b>
<sup title="Downloads a Node.js installer for your current platform">1</sup> with long-term support.
Node.js can also be installed via <a href="/download/package-manager">package managers</a>.
Node.js can also be installed via <Link href="/download/package-manager">package managers</Link>.
</small>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/site/pages/es/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Node.js® es un entorno de ejecución de JavaScript multiplataforma, de código
<small>
Descarga Node.js <b>{release.versionWithPrefix}</b>
<sup title="Downloads a Node.js installer for your current platform">1</sup> con soporte a largo plazo.
Node.js también puede ser instalado a través de <a href="/download/package-manager">gestores de paquetes</a>.
Node.js también puede ser instalado a través de <Link href="/download/package-manager">gestores de paquetes</Link>.
</small>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/site/pages/fa/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Node.js یک محیط اجرای جاوااسکریپت متن‌باز، رای
<small>
دانلود Node.js <b>{release.versionWithPrefix}</b>
<sup title="دانلود نصب‌کننده Node.js برای پلتفرم فعلی شما">1</sup> با پشتیبانی بلندمدت.
Node.js همچنین از طریق <a href="/download/package-manager">package managers</a> نیز قابل نصب است.
Node.js همچنین از طریق <Link href="/download/package-manager">package managers</Link> نیز قابل نصب است.
</small>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/site/pages/fr/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ qui permet aux développeurs de créer des serveurs, des applications web, des o
<small>
Télécharger Node.js <b>{release.versionWithPrefix}</b>
<sup title="Downloads a Node.js installer for your current platform">1</sup> avec un support à long terme.
Node.js peut également être installé via <a href="/download/package-manager">gestionnaires de paquets</a>.
Node.js peut également être installé via <Link href="/download/package-manager">gestionnaires de paquets</Link>.
</small>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/site/pages/id/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Node.js® adalah lingkungan runtime JavaScript gratis dan sumber terbuka yang li
<small>
Unduhan Node.js <b>{release.versionWithPrefix}</b>
<sup title="Downloads a Node.js installer for your current platform">1</sup> dengan dukungan jangka panjang (LTS).
Node.js juga dapat diinstal melalui <a href="/download/package-manager">manajer paket</a>.
Node.js juga dapat diinstal melalui <Link href="/download/package-manager">manajer paket</Link>.
</small>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/site/pages/ja/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Node.js®は自由かつオープンソースでクロスプラットフォー
<small>
長期サポート版Node.js <b>{release.versionWithPrefix}</b>
<sup title="Downloads a Node.js installer for your current platform">1</sup>をダウンロードする。
<a href="/download/package-manager">パッケージマネージャー</a>を利用したインストール方法もあります。
<Link href="/download/package-manager">パッケージマネージャー</Link>を利用したインストール方法もあります。
</small>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/site/pages/ko/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Node.js®는 무료, 오픈소스, 크로스플랫폼 JavaSript 런타임 환경
<small>
Node.js 다운로드 <b>{release.versionWithPrefix}</b>
<sup title="Downloads a Node.js installer for your current platform">1</sup> LTS.
Node.js는 <a href="/download/package-manager">package managers</a>를 통해서도 다운로드 할 수 있습니다..
Node.js는 <Link href="/download/package-manager">package managers</Link>를 통해서도 다운로드 할 수 있습니다..
</small>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/site/pages/pt/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Node.js® é uma ambiente de execução de JavaScript disponível para várias p
<small>
Descarregar a Node.js <b>{release.versionWithPrefix}</b>
<sup title="Descarregar um instalador da Node.js para a nossa plataforma atual">1</sup> com o suporte de longo prazo.
A Node.js também pode ser instalada através dos <a href="/download/package-manager">gestores de pacotes</a>.
A Node.js também pode ser instalada através dos <Link href="/download/package-manager">gestores de pacotes</Link>.
</small>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/site/pages/tr/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Node.js®, ücretsiz, açık kaynaklı, çapraz platform JavaScript çalıştır
<small>
Node.js'i indir <b>{release.versionWithPrefix}</b>
<sup title="Mevcut platformunuz için bir Node.js yükleyicisi indirir">1</sup> uzun vadeli destek ile indirin.
Node.js ayrıca <a href="/download/package-manager">paket yöneticileri</a> aracılığıyla da kurulabilir.
Node.js ayrıca <Link href="/download/package-manager">paket yöneticileri</Link> aracılığıyla da kurulabilir.
</small>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/site/pages/uk/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Node.js® — це безплатне, кросплатформне середо
<small>
Завантажує Node.js <b>{release.versionWithPrefix}</b>
<sup title="Downloads a Node.js installer for your current platform">1</sup> із довгостроковою підтримкою.
Node.js також можна встановити через <a href="/download/package-manager">менеджери пакетів</a>.
Node.js також можна встановити через <Link href="/download/package-manager">менеджери пакетів</Link>.
</small>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/site/pages/zh-cn/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Node.js® 是一个免费、开源、跨平台的 JavaScript 运行时环境,
<small>
下载 Node.js <b>{release.versionWithPrefix}</b>
<sup title="Downloads a Node.js installer for your current platform">1</sup> 长期支持版本。
Node.js 也可以通过 <a href="/download/package-manager">软件包管理器</a> 进行安装。
Node.js 也可以通过 <Link href="/download/package-manager">软件包管理器</Link> 进行安装。
</small>
</>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/site/pages/zh-tw/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Node.js® 是一款免費的跨平台開源 JavaScript 執行環境,供開發
<small>
下載享有長期支援功能的 Node.js <b>{release.versionWithPrefix}</b>
<sup title="Downloads a Node.js installer for your current platform">1</sup>。
Node.js 也可以透過 <a href="/download/package-manager">套件管理器</a> 安裝。
Node.js 也可以透過 <Link href="/download/package-manager">套件管理器</Link> 安裝。
</small>
</>
)}
Expand Down
4 changes: 4 additions & 0 deletions apps/site/redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,10 @@
"source": "/:locale/download",
"destination": "/:locale/download/package-manager"
},
{
"source": "/download/package-manager",
"destination": "/en/download/package-manager"
},
{
"source": "/:locale/download/current",
"destination": "/:locale/download/package-manager/current"
Expand Down

0 comments on commit 890e777

Please sign in to comment.