Skip to content

Commit

Permalink
feat(components) Перевод навигации
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Bochkarev committed Jun 3, 2024
1 parent 2524768 commit 35c040f
Show file tree
Hide file tree
Showing 27 changed files with 42 additions and 40 deletions.
2 changes: 1 addition & 1 deletion content/7.blog/1.v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors:
avatarUrl: https://github.com/pi0.png
link: https://twitter.com/_pi0_
date: 2022-11-16
category: Release
category: Релиз
---

# Announcing Nuxt 3.0 stable
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/10.v3-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
link: https://twitter.com/danielcroe
twitter: danielcroe
date: 2023-03-14
category: Release
category: Релиз
---

## ✨ Local module development DX
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/11.v3-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
link: https://twitter.com/danielcroe
twitter: danielcroe
date: 2023-04-11
category: Release
category: Релиз
---

## 🪄 View Transitions API Support
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/12.v3-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
link: https://twitter.com/danielcroe
twitter: danielcroe
date: 2023-05-16
category: Release
category: Релиз
---

## ⚡️ Vue 3.3 released
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/13.v3-6.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
link: https://twitter.com/danielcroe
twitter: danielcroe
date: 2023-06-23
category: Release
category: Релиз
---

## <img style="display:inline" src="https://nuxt.com/assets/design-kit/icon-green.svg" width="36" height="36" valign="center"> &nbsp;SPA loading indicator
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/14.nuxt-on-the-edge.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
link: https://twitter.com/atinux
twitter: atinux
date: 2023-07-13
category: Article
category: Статья
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/15.v3-7.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors:
link: https://twitter.com/danielcroe
twitter: danielcroe
date: 2023-08-25
category: Release
category: Релиз
---

### 🐣 A New CLI
Expand Down
4 changes: 3 additions & 1 deletion content/7.blog/16.new-website.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ authors:
link: https://twitter.com/benjamincanac
twitter: benjamincanac
date: 2023-10-18
category: Announcement
category: Анонс
---

Nuxt.com is the main entry point when you want to learn Nuxt. With **more than 300k visitors every month**, it was time to give it a new look and feel.
Expand Down Expand Up @@ -79,6 +79,7 @@ Checkout an example on `<NuxtLink>` documentation page.
You may notice a new modal when hitting :kbd[CMD+K]. We leverage the Nuxt UI [`<CommandPalette>`](https://ui.nuxt.com/navigation/command-palette) components combined with Nuxt Content data (search & navigation) to provide a better search experience.

With the command palette, you can:

- Jump to a page
- Search in the documentation
- Search a module
Expand Down Expand Up @@ -133,6 +134,7 @@ Check out `nuxt/nuxt.com` on GitHub.
## What's next?

This new website is the beginning of upcoming changes we are planing, some of them are:

- Team & Contributors pages
- Integrations page to showcase all the possibilities with Nuxt: Hosting, CMS, Database, etc.
- Templates page (currently [nuxt.new](https://nuxt.new)) to list official and community starters
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/17.v3-8.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors:
link: https://twitter.com/danielcroe
twitter: danielcroe
date: 2023-10-19
category: Release
category: Релиз
---

### 💻 CLI Improvements
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/18.nuxt-devtools-v1-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
link: https://github.com/antfu
twitter: antfu7
date: 2023-11-13
category: Release
category: Релиз
---

We are thrilled to announce the release of [Nuxt DevTools v1.0](https://github.com/nuxt/devtools)! 🎉
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/19.v3-9.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors:
link: https://twitter.com/danielcroe
twitter: danielcroe
date: 2023-12-25T00:00:00.000Z
category: Release
category: Релиз
---

A very merry Christmas to you and yours from all Nuxters involved in this release! 🎁🎄
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/2.vision-2023.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors:
avatarUrl: https://github.com/danielroe.png
link: https://twitter.com/danielcroe
date: 2023-01-17
category: Release
category: Релиз
---

# Nuxt: A vision for 2023
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/20.v3-10.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors:
link: https://twitter.com/danielcroe
twitter: danielcroe
date: 2024-01-30T00:00:00.000Z
category: Release
category: Релиз
---

v3.10 comes quite close on the heels of v3.9, but it's packed with features and fixes. Here are a few highlights.
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/21.shiki-v1.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
link: https://github.com/antfu
twitter: antfu7
date: 2024-03-11T00:00:00.000Z
category: Article
category: Статья
---

[Shiki](https://github.com/shikijs/shiki) is a syntax highlighter that uses [TextMate grammars and themes](https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#textmate-grammars), the same engine that powers VS Code. It provides one of the most accurate and beautiful syntax highlighting for your code snippets. It was created by [Pine Wu](https://github.com/octref) back in 2018, when he was part of the VS Code team. It started as an experiment to use [Oniguruma](https://github.com/microsoft/vscode-oniguruma) to do syntax highlighting.
Expand Down
4 changes: 2 additions & 2 deletions content/7.blog/22.v3-11.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors:
link: https://twitter.com/danielcroe
twitter: danielcroe
date: 2024-03-16T10:00:00.000Z
category: Release
category: Релиз
---

This is possibly the last minor release before Nuxt v4, and so we've packed it full of features and improvements we hope will delight you! ✨
Expand Down Expand Up @@ -37,7 +37,7 @@ will now log to your browser console when you refresh the page:

```bash
Log from index page
[ssr] Log inside useAsyncData
[ssr] Log inside useAsyncData
at pages/index.vue
```

Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/23.looking-forward-2024.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ authors:
avatarUrl: https://ipx.nuxt.com/_/gh_avatar/atinux
link: https://twitter.com/atinux
date: 2024-03-28T00:00:00.000Z
category: Release
category: Релиз
---

## A Review of 2023 - Sébastien
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/24.eslint-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
link: https://github.com/antfu
twitter: antfu7
date: 2024-04-10T00:00:00.000Z
category: Article
category: Статья
---

## TL;DR
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/3.introducing-nuxt-devtools.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors:
avatarUrl: https://github.com/antfu.png
link: https://github.com/antfu
date: 2023-03-27
category: Release
category: Релиз
---

We announced the preview of [Nuxt DevTools](https://github.com/nuxt/devtools) on [Vue Amsterdam 2023](https://vuejs.amsterdam/), a new tool to help you understand your Nuxt app and improve the developer experience even further. Today we released a new minor version [`v0.3.0`](https://github.com/nuxt/devtools/releases/tag/v0.3.0) with a bunch of updates and improvements.
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/3.nuxt3-rc.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ authors:
- name: Clement Ollivier
avatarUrl: https://github.com/clemcode.png
link: https://twitter.com/clemcodes
category: Release
category: Релиз
---

We are excited to open source Nuxt 3 after more than a year of intense development. The repository is available on GitHub on [nuxt/nuxt](https://github.com/nuxt/nuxt) under the [MIT](https://github.com/nuxt/nuxt/blob/main/LICENSE) license.
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/4.nuxt3-beta.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ authors:
- name: Alexandre Chopin
avatarUrl: https://github.com/alexchopin.png
link: https://twitter.com/thewikeo
category: Release
category: Релиз
---

We are excited to open source Nuxt 3 after more than a year of intense development. The repository is available on GitHub on [nuxt/nuxt](https://github.com/nuxt/nuxt) under the [MIT](https://github.com/nuxt/nuxt/blob/main/LICENSE) license.
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/5.going-full-static.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors:
- name: Sebastien Chopin
avatarUrl: https://github.com/atinux.png
link: https://twitter.com/Atinux
category: Release
category: Релиз
---

## Too long to read
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/6.introducing-smart-prefetching.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors:
- name: Sébastien Chopin
avatarUrl: https://github.com/atinux.png
link: https://twitter.com/atinux
category: Release
category: Релиз
---

## Introducing Smart prefetching ⚡️
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors:
- name: Krutie Patel
avatarUrl: https://github.com/Krutie.png
link: https://twitter.com/KrutiePatel
category: Release
category: Релиз
---

Nuxt introduces a new `fetch` with the latest release of version 2.12. Fetch provides a brand new way to bring data into Nuxt applications.
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/8.nuxt-static-improvements.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ authors:
avatarUrl: https://github.com/pi0.png
link: https://twitter.com/_pi0_
twitter: _pi0_
category: Release
category: Релиз
---

## Introduction
Expand Down
2 changes: 1 addition & 1 deletion content/7.blog/9.nuxtjs-from-terminal-to-browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors:
avatarUrl: https://github.com/atinux.png
link: https://twitter.com/atinux
twitter: atinux
category: Release
category: Релиз
---

> Nuxt is a Vue.js framework to create different kind of web applications with the **same directory structure & conventions**: Universal, Single Page, PWA or Static Generated.
Expand Down
24 changes: 12 additions & 12 deletions pages/blog/[slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const { copy } = useCopyToClipboard()
const { data: article } = await useAsyncData(route.path, () => queryContent<BlogArticle>(route.path).findOne())
if (!article.value) {
throw createError({ statusCode: 404, statusMessage: 'Article not found', fatal: true })
throw createError({ statusCode: 404, statusMessage: 'Статья не найдена', fatal: true })
}
const { data: surround } = await useAsyncData(`${route.path}-surround`, () => queryContent('/blog')
Expand All @@ -25,53 +25,53 @@ useSeoMeta({
const title = article.value.head?.title || article.value.title
const description = article.value.head?.description || article.value.description
useSeoMeta({
titleTemplate: '%s · Nuxt Blog',
titleTemplate: '%s · Nuxt Блог',
title,
description,
ogDescription: description,
ogTitle: `${title} · Nuxt Blog`
ogTitle: `${title} · Nuxt Блог`
})
if (article.value.image) {
defineOgImage({ url: article.value.image })
}
else {
defineOgImageComponent('Docs', {
headline: 'Blog'
headline: 'Блог'
})
}
const authorTwitter = article.value.authors?.[0]?.twitter
const socialLinks = computed(() => [{
icon: 'i-simple-icons-linkedin',
to: `https://www.linkedin.com/sharing/share-offsite/?url=https://nuxt.com${article.value._path}`
to: `https://www.linkedin.com/sharing/share-offsite/?url=https://nuxt-ru.vercel.app${article.value._path}`
}, {
icon: 'i-simple-icons-twitter',
to: `https://twitter.com/intent/tweet?text=${encodeURIComponent(`${article.value.title}${authorTwitter ? ` by @${article.value.authors[0].twitter}` : ''}\n\n`)}https://nuxt.com${article.value._path}`
to: `https://twitter.com/intent/tweet?text=${encodeURIComponent(`${article.value.title}${authorTwitter ? ` by @${article.value.authors[0].twitter}` : ''}\n\n`)}https://nuxt-ru.vercel.app${article.value._path}`
}])
function copyLink() {
copy(`https://nuxt.com${article.value._path}`, { title: 'Copied to clipboard' })
copy(`https://nuxt-ru.vercel.app${article.value._path}`, { title: 'Скопировано в буфер обмена' })
}
const links = [
{
icon: 'i-ph-pen-duotone',
label: 'Edit this article',
to: `https://github.com/nuxt/nuxt.com/edit/main/content/${article.value._file}`,
label: 'Отредактируйте эту статью',
to: `https://github.com/translation-gang/nuxt.com/edit/main/content/${article.value._file}`,
target: '_blank'
}, {
icon: 'i-ph-shooting-star-duotone',
label: 'Star on GitHub',
label: 'Звезды на GitHub',
to: 'https://github.com/nuxt/nuxt',
target: '_blank'
}, {
icon: 'i-ph-chat-centered-text-duotone',
label: 'Chat on Discord',
label: 'Чат в Discord',
to: 'https://discord.com/invite/nuxt',
target: '_blank'
}, {
icon: 'i-ph-hand-heart-duotone',
label: 'Become a Sponsor',
label: 'Стать спонсором',
to: 'https://github.com/sponsors/nuxt',
target: '_blank'
}
Expand Down
4 changes: 2 additions & 2 deletions pages/blog/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ useHead({
{
rel: 'alternate',
type: 'application/atom+xml',
title: 'Nuxt Blog RSS',
href: 'https://nuxt.com/blog/rss.xml'
title: 'Nuxt Блог RSS',
href: 'https://nuxt-ru.vercel.app/blog/rss.xml'
}
]
})
Expand Down

0 comments on commit 35c040f

Please sign in to comment.