diff options
author | Valentin Popov <valentin@popov.link> | 2025-06-11 20:49:14 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2025-06-11 20:49:14 +0300 |
commit | 16fa8a3b5de7dd7c4fa763fecbba0063f6b4369b (patch) | |
tree | 1f724a4c8a49285f95c480a7da4c2486a93636ee /src/content | |
parent | 423344fca500ab017c3cb7cb4b53f763400f5186 (diff) | |
download | popov.link-16fa8a3b5de7dd7c4fa763fecbba0063f6b4369b.tar.xz popov.link-16fa8a3b5de7dd7c4fa763fecbba0063f6b4369b.zip |
feat: enhance accessibility and language support across components
- Updated various components to include `lang` attributes for improved accessibility and SEO.
- Introduced a new `env.d.ts` file to define environment variables for better type safety.
- Adjusted the print width in `.prettierrc.mjs` for improved code formatting.
- Streamlined the `Header`, `PostElement`, and `SocialLinks` components for better structure and clarity.
- Added language support to blog posts and updated the layout to reflect these changes.
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/blog/create-lib-file-from-dll.md | 1 | ||||
-rw-r--r-- | src/content/blog/electron-reload.md | 1 | ||||
-rw-r--r-- | src/content/blog/example-content.md | 1 | ||||
-rw-r--r-- | src/content/blog/getting-source-code-of-chromium.md | 1 | ||||
-rw-r--r-- | src/content/blog/installing-moodle-to-fedora.md | 1 | ||||
-rw-r--r-- | src/content/blog/rust-and-tl-mr3020.md | 1 | ||||
-rw-r--r-- | src/content/config.ts | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/src/content/blog/create-lib-file-from-dll.md b/src/content/blog/create-lib-file-from-dll.md index 54b61e2..78d8e63 100644 --- a/src/content/blog/create-lib-file-from-dll.md +++ b/src/content/blog/create-lib-file-from-dll.md @@ -3,6 +3,7 @@ title: 'Create ".lib" file from ".dll" (archive)' author: "Adrian Henke" pubDate: "2023-05-04" description: "Learn how to generate a *.lib file from a *.dll with this comprehensive guide. Using the Visual Studio Command Prompt and Microsoft's recommended tools, this article walks you through the steps for a seamless process. Perfect for developers working with 3rd party win dll's." +lang: "en" --- > This's a copy of a non-my post. The original article [is here](https://adrianhenke.wordpress.com/2008/12/05/create-lib-file-from-dll/) ([archive](https://web.archive.org/web/20161118122539/https://adrianhenke.wordpress.com/2008/12/05/create-lib-file-from-dll/)). diff --git a/src/content/blog/electron-reload.md b/src/content/blog/electron-reload.md index a07d274..8470d95 100644 --- a/src/content/blog/electron-reload.md +++ b/src/content/blog/electron-reload.md @@ -3,6 +3,7 @@ title: "Горячая перезагрузка ElectronJS приложения" author: "Valentin Popov" pubDate: "2019-08-15" description: "Руководство по автоматической перезагрузке приложений на Electron с помощью пакетов electron-reload и electron-webpack. Обход проблем с совместимостью и использование HMR для renderer процесса." +lang: "ru" --- ## Main процесс diff --git a/src/content/blog/example-content.md b/src/content/blog/example-content.md index 662b2b3..1d54603 100644 --- a/src/content/blog/example-content.md +++ b/src/content/blog/example-content.md @@ -3,6 +3,7 @@ title: "Example Content" author: "Example User" pubDate: "2018-01-01" description: "Howdy! This is an example blog post that shows several types of HTML content supported in this theme." +lang: "en" draft: true --- diff --git a/src/content/blog/getting-source-code-of-chromium.md b/src/content/blog/getting-source-code-of-chromium.md index 161a40f..b08c7a7 100644 --- a/src/content/blog/getting-source-code-of-chromium.md +++ b/src/content/blog/getting-source-code-of-chromium.md @@ -3,6 +3,7 @@ title: 'Получение исходного кода "Chromium Projects"' author: "Valentin Popov" pubDate: "2012-01-30" description: "Изучение исходных кодов Chromium: подготовка системы и установка необходимых программных компонентов. Руководство для начинающих разработчиков. Получите инструкции по установке Microsoft Visual Studio, Cygwin, Python и других инструментов. Действительно на январь-февраль 2012 года." +lang: "ru" --- > Перенос [оригинальной статьи](https://adeptus-mechanicus.blogspot.com/2012/01/chromium-projects.html) 2012 года из моего [старого блога](https://adeptus-mechanicus.blogspot.com/) ([зеркало](https://web.archive.org/web/20160217052148/http://adeptus-mechanicus.blogspot.com/)). diff --git a/src/content/blog/installing-moodle-to-fedora.md b/src/content/blog/installing-moodle-to-fedora.md index 12e2e4e..c7b4de0 100644 --- a/src/content/blog/installing-moodle-to-fedora.md +++ b/src/content/blog/installing-moodle-to-fedora.md @@ -3,6 +3,7 @@ title: "Установка Moodle в Fedora" author: "Valentin Popov" pubDate: "2018-07-23" description: "Решение проблем установки Moodle из-за SELinux: как настроить правила доступа для устранения ошибок в веб-интерфейсе и при работе с cURL. Практические советы и команды." +lang: "ru" --- Во время установки Moodle, сталкиваешься со следующими проблемами: diff --git a/src/content/blog/rust-and-tl-mr3020.md b/src/content/blog/rust-and-tl-mr3020.md index 2e23f3b..54d0d69 100644 --- a/src/content/blog/rust-and-tl-mr3020.md +++ b/src/content/blog/rust-and-tl-mr3020.md @@ -3,6 +3,7 @@ title: "Компиляция Rust на TL-MR3020" author: "Valentin Popov" pubDate: "2023-05-01" description: 'Как настроить и оптимизировать проект Rust для кросс-компиляции на TP-Link TL-MR3020 с использованием Fedora Linux 38 и OpenWrt 22.03.4. Шаг за шагом от базового "Hello, World!" до асинхронного TCP сервера.' +lang: "ru" --- Информация в статье актуальна для дистрибутива [Fedora Linux 38](https://docs.fedoraproject.org/en-US/releases/f38/), прошивки [OpenWrt 22.03.4](https://openwrt.org/releases/22.03/notes-22.03.4) и устройства [TP-Link TL-MR3020](https://www.tp-link.com/en/home-networking/3g-4g-router/tl-mr3020/) ревизии v3.20. diff --git a/src/content/config.ts b/src/content/config.ts index 245f20e..3467bda 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -8,6 +8,7 @@ const blog = defineCollection({ draft: z.optional(z.boolean()), pubDate: z.coerce.date(), title: z.string(), + lang: z.string(), }), }); |