Skip to content

Commit

Permalink
fix: Replace /blog/swr-v1 with /blog on index pages (#440)
Browse files Browse the repository at this point in the history
Replace `/blog/swr-v1` with `/blog`

* Replace `/blog/swr-v1` with `/blog` in all mdx files that this link existed
* Removed empty new line in `index.en-US.mdx`
  • Loading branch information
ctcooper authored Mar 19, 2023
1 parent 8cd1faa commit a090713
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions pages/index.en-US.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { Bleed } from 'nextra-theme-docs'
}
{<h1 className="text-center text-4xl tracking-tighter font-extrabold md:text-5xl mt-8">SWR</h1>}


<Bleed><Features/></Bleed>

The name “SWR” is derived from `stale-while-revalidate`, a HTTP cache invalidation strategy popularized by [HTTP RFC 5861](https://tools.ietf.org/html/rfc5861).
Expand All @@ -23,7 +22,7 @@ SWR is a strategy to first return the data from cache (stale), then send the fet
</Callout>

<div className="mt-16 mb-20 text-center">
[Get Started](/docs/getting-started) · [Examples](/examples/basic) · [Blog](/blog/swr-v1) · [GitHub Repository](https://github.com/vercel/swr)
[Get Started](/docs/getting-started) · [Examples](/examples/basic) · [Blog](/blog) · [GitHub Repository](https://github.com/vercel/swr)
</div>

## Overview
Expand Down
2 changes: 1 addition & 1 deletion pages/index.es-ES.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SWR es una estrategia para devolver primero los datos en caché (obsoletos), lue
</Callout>

<div className="mt-16 mb-20 text-center">
[Get Started](/docs/getting-started) · [Examples](/examples/basic) · [Blog](/blog/swr-v1) · [GitHub Repository](https://github.com/vercel/swr)
[Get Started](/docs/getting-started) · [Examples](/examples/basic) · [Blog](/blog) · [GitHub Repository](https://github.com/vercel/swr)
</div>

## Resumen
Expand Down
2 changes: 1 addition & 1 deletion pages/index.ja.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SWR は、まずキャッシュからデータを返し(stale)、次にフ
</Callout>

<div className="mt-16 mb-20 text-center">
[はじめに](/docs/getting-started) · [例題](/examples/basic) · [ブログ](/blog/swr-v1) · [GitHub リポジトリ](https://github.com/vercel/swr)
[はじめに](/docs/getting-started) · [例題](/examples/basic) · [ブログ](/blog) · [GitHub リポジトリ](https://github.com/vercel/swr)
</div>

## 概要
Expand Down
2 changes: 1 addition & 1 deletion pages/index.ko.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ SWR은 먼저 캐시(스태일)로부터 데이터를 반환한 후, fetch 요
</Callout>

<div className="mt-16 mb-20 text-center">
[시작하기](/docs/getting-started) · [예시](/examples/basic) · [블로그](/blog/swr-v1) · [GitHub 리포지터리](https://github.com/vercel/swr)
[시작하기](/docs/getting-started) · [예시](/examples/basic) · [블로그](/blog) · [GitHub 리포지터리](https://github.com/vercel/swr)
</div>

## 개요
Expand Down
2 changes: 1 addition & 1 deletion pages/index.pt-BR.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ SWR é a estratégia de primeiro retornar os dados do cache (stale), depois envi
</Callout>

<div className="mt-16 mb-20 text-center">
[Comece a Usar](/docs/getting-started) · [Exemplos](/examples/basic) · [Blog](/blog/swr-v1) · [Repositório do GitHub](https://github.com/vercel/swr)
[Comece a Usar](/docs/getting-started) · [Exemplos](/examples/basic) · [Blog](/blog) · [Repositório do GitHub](https://github.com/vercel/swr)
</div>

## Visão geral
Expand Down
2 changes: 1 addition & 1 deletion pages/index.ru.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { Bleed } from 'nextra-theme-docs'
</Callout>

<div className="mt-16 mb-20 text-center">
[Начать работу](/docs/getting-started) · [Примеры](/examples/basic) · [Блог](/blog/swr-v1) · [Репозиторий GitHub](https://github.com/vercel/swr)
[Начать работу](/docs/getting-started) · [Примеры](/examples/basic) · [Блог](/blog) · [Репозиторий GitHub](https://github.com/vercel/swr)
</div>

## Обзор
Expand Down
2 changes: 1 addition & 1 deletion pages/index.zh-CN.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { Bleed } from 'nextra-theme-docs'
</Callout>

<div className="mt-16 mb-20 text-center">
[入门](/docs/getting-started) · [示例](/examples/basic) · [博客](/blog/swr-v1) · [GitHub 仓库](https://github.com/vercel/swr)
[入门](/docs/getting-started) · [示例](/examples/basic) · [博客](/blog) · [GitHub 仓库](https://github.com/vercel/swr)
</div>

## 概览
Expand Down

1 comment on commit a090713

@vercel
Copy link

@vercel vercel bot commented on a090713 Mar 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

swr-site – ./

swr.vercel.app
swr-site.vercel.sh
swr-site-git-main.vercel.sh

Please sign in to comment.