From 173817dc2e677340296536254d80fdda68f8d493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3=20=D0=A9=D0=B0=D0=B2=D0=B5=D0=BB?= =?UTF-8?q?=D0=B5=D0=B2?= Date: Sun, 18 Aug 2024 00:11:18 +0300 Subject: [PATCH] chore:enforce format line prettier in the repository --- .github/workflows/deploy.yml | 2 +- .github/workflows/pr-check-build.yml | 2 +- .github/workflows/pr-check-cspell.yml | 2 +- .github/workflows/pr-check-remark.yml | 2 +- .github/workflows/pr-check-spell.yml | 2 +- .prettierignore | 1 + .prettierrc | 2 +- .tools/gitlog.ts | 42 +++-- .vitepress/config/index.mts | 12 +- .../NolebaseEnhancedReadabilities/index.ts | 20 +- .../plugins/NolebaseGitChangelog/index.ts | 20 +- .vitepress/config/plugins/index.ts | 2 +- .vitepress/config/ru.ts | 6 +- .vitepress/config/shared.ts | 18 +- .vitepress/data/icons.ts | 2 +- .vitepress/data/navigations.ts | 10 +- .vitepress/data/team.ts | 42 +++-- .../theme/components/AMWAsideMetaKeyword.vue | 27 ++- .../theme/components/AMWAsideMetaLink.vue | 50 ++--- .../theme/components/AMWAsideMetaList.vue | 59 +++--- .../theme/components/AMWDocsAsideMeta.vue | 172 +++++++++--------- .../theme/components/AMWGnomeAppCard.vue | 19 +- .../theme/components/AMWGnomeAppsList.vue | 10 +- .../theme/components/AMWHomeSponsors.vue | 13 +- .vitepress/theme/components/AMWHomeTeam.vue | 20 +- .vitepress/theme/components/AMWTeamPage.vue | 21 ++- .vitepress/theme/components/AMWVideo.vue | 73 ++++---- .../components/icons/AMWIconTelegram.vue | 13 +- .vitepress/theme/composables/asidemeta.ts | 99 +++++----- .vitepress/theme/composables/link.ts | 20 +- .vitepress/theme/composables/sorters.ts | 59 +++--- .vitepress/theme/index.ts | 19 +- .../theme/loaders/gitlogDataLoader.data.ts | 6 +- .vitepress/theme/styles/style.css | 6 +- .vitepress/theme/styles/theme.css | 166 ++++++++--------- 35 files changed, 581 insertions(+), 458 deletions(-) create mode 100644 .prettierignore diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 860ee32..dcb6782 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -64,4 +64,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/pr-check-build.yml b/.github/workflows/pr-check-build.yml index 43a9a84..79dfb81 100644 --- a/.github/workflows/pr-check-build.yml +++ b/.github/workflows/pr-check-build.yml @@ -1,4 +1,4 @@ -name: 'Test: Build Vitepress' +name: "Test: Build Vitepress" on: pull_request: diff --git a/.github/workflows/pr-check-cspell.yml b/.github/workflows/pr-check-cspell.yml index f73597a..6cbd063 100644 --- a/.github/workflows/pr-check-cspell.yml +++ b/.github/workflows/pr-check-cspell.yml @@ -1,4 +1,4 @@ -name: 'Check: Markdown Spell Check (CSpell)' +name: "Check: Markdown Spell Check (CSpell)" on: pull_request: diff --git a/.github/workflows/pr-check-remark.yml b/.github/workflows/pr-check-remark.yml index 10bf10f..72719cc 100644 --- a/.github/workflows/pr-check-remark.yml +++ b/.github/workflows/pr-check-remark.yml @@ -1,4 +1,4 @@ -name: 'Check: ReMark-Lint Markdown Check' +name: "Check: ReMark-Lint Markdown Check" on: pull_request: diff --git a/.github/workflows/pr-check-spell.yml b/.github/workflows/pr-check-spell.yml index 4451dd8..b2dcf86 100644 --- a/.github/workflows/pr-check-spell.yml +++ b/.github/workflows/pr-check-spell.yml @@ -1,4 +1,4 @@ -name: 'Check: Markdown Spell Check (YaSpeller)' +name: "Check: Markdown Spell Check (YaSpeller)" on: pull_request: diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..69750fb --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +.prettierrc diff --git a/.prettierrc b/.prettierrc index 3bd071e..891d0e7 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,5 @@ { - "trailingComma": none, + "trailingComma": "none", "tabWidth": 2, "useTabs": false, "printWidth": 80, diff --git a/.tools/gitlog.ts b/.tools/gitlog.ts index 13eb4be..fe32924 100644 --- a/.tools/gitlog.ts +++ b/.tools/gitlog.ts @@ -5,7 +5,7 @@ import * as fs from 'fs' import * as path from 'path' import ora from 'ora' import { cyan, gray, red } from 'colorette' -import { transliterate as tr } from 'transliteration'; +import { transliterate as tr } from 'transliteration' /* CLI Arguments @@ -13,14 +13,17 @@ import { transliterate as tr } from 'transliteration'; const args = yargs(process.argv) .options({ key: { type: 'string', default: '' }, - repoUrl: { type: 'string', default: 'https://github.com/OlegShchavelev/ALTMobileWiki' }, + repoUrl: { + type: 'string', + default: 'https://github.com/OlegShchavelev/ALTMobileWiki' + }, debug: { type: 'boolean', default: false } }) .parse() const authors = { - 'root': [], - 'en': [] + root: [], + en: [] } /* @@ -79,7 +82,9 @@ const userGetMore = async (user) => { ) } -for await (const gitter of await contributorsRawBase().then((response) => response)) { +for await (const gitter of await contributorsRawBase().then( + (response) => response +)) { const userMore = await userGetMore(gitter.author.login) .then((response) => response.data) .catch((err) => @@ -123,8 +128,10 @@ for await (const gitter of await contributorsRawBase().then((response) => respon contributions.root.forEach((memberRaw) => { if ( memberRaw.name == userMore.name || - Object.values(memberRaw.links[0])[1] == Object.values(author.links[0])[1] || - (memberRaw.mapByNameAliases && memberRaw.mapByNameAliases.includes(gitter.author.login)) + Object.values(memberRaw.links[0])[1] == + Object.values(author.links[0])[1] || + (memberRaw.mapByNameAliases && + memberRaw.mapByNameAliases.includes(gitter.author.login)) ) { Object.keys(memberRaw).forEach((key) => { key == 'mapByNameAliases' @@ -132,18 +139,23 @@ for await (const gitter of await contributorsRawBase().then((response) => respon author[key].push(alias) }) : key == 'title' - ? author[key].root = memberRaw[key] - : (author[key] = memberRaw[key]) + ? (author[key].root = memberRaw[key]) + : (author[key] = memberRaw[key]) }) } }) console.log(author.title) - author.title.root.includes('Разработчик') ? author.title.en = 'Developer, Member' : '' - author.name? '' : author.name = gitter.author.login - - authors.en.push({...author, ...{title: author.title.en , name: tr(author.name)}}) - authors.root.push({...author, ...{title: author.title.root}}) + author.title.root.includes('Разработчик') + ? (author.title.en = 'Developer, Member') + : '' + author.name ? '' : (author.name = gitter.author.login) + + authors.en.push({ + ...author, + ...{ title: author.title.en, name: tr(author.name) } + }) + authors.root.push({ ...author, ...{ title: author.title.root } }) } fs.writeFile( @@ -152,4 +164,4 @@ fs.writeFile( (err) => err && spiner.fail(err.toString()) ) -spiner.succeed(`${toolname} Список успешно сгенерирован!\n`) \ No newline at end of file +spiner.succeed(`${toolname} Список успешно сгенерирован!\n`) diff --git a/.vitepress/config/index.mts b/.vitepress/config/index.mts index 79096ef..e04d3f6 100644 --- a/.vitepress/config/index.mts +++ b/.vitepress/config/index.mts @@ -4,9 +4,9 @@ import { ru } from './ru' import { en } from './en' export default defineConfig({ - ...shared, - locales: { - root: { label: 'Русский', ...ru }, - en: { label: 'English', ...en }, - } -}) \ No newline at end of file + ...shared, + locales: { + root: { label: 'Русский', ...ru }, + en: { label: 'English', ...en } + } +}) diff --git a/.vitepress/config/plugins/NolebaseEnhancedReadabilities/index.ts b/.vitepress/config/plugins/NolebaseEnhancedReadabilities/index.ts index 3ae4ad2..4cd9922 100644 --- a/.vitepress/config/plugins/NolebaseEnhancedReadabilities/index.ts +++ b/.vitepress/config/plugins/NolebaseEnhancedReadabilities/index.ts @@ -12,13 +12,18 @@ export const NolebaseEnhancedReadabilitiesOptions = { optionFullWidthAriaLabel: 'Полноэкранный', titleScreenNavWarningMessage: 'Изменить внешний вид страницы недоступен на экране мобильного устройства', - optionFullWidthHelpMessage: 'Боковая панель и область содержимого занимают всю ширину экрана.', - optionSidebarWidthAdjustableOnly: 'Боковая панель с пользовательской настройкой', - optionSidebarWidthAdjustableOnlyAriaLabel: 'Боковая панель с пользовательской настройкой', + optionFullWidthHelpMessage: + 'Боковая панель и область содержимого занимают всю ширину экрана.', + optionSidebarWidthAdjustableOnly: + 'Боковая панель с пользовательской настройкой', + optionSidebarWidthAdjustableOnlyAriaLabel: + 'Боковая панель с пользовательской настройкой', optionSidebarWidthAdjustableOnlyHelpMessage: 'Увеличьте ширину боковой панели, максимальная ширина боковой панели может изменяться, но ширина области содержимого останется прежней.', - optionBothWidthAdjustable: 'Полноэрканный с пользовательской настройкой', - optionBothWidthAdjustableAriaLabel: 'Полноэрканный с пользовательской настройкой', + optionBothWidthAdjustable: + 'Полноэрканный с пользовательской настройкой', + optionBothWidthAdjustableAriaLabel: + 'Полноэрканный с пользовательской настройкой', optionBothWidthAdjustableHelpMessage: 'Управляется шириной боковой панели, и шириной содержания документа. Настройте желаемую ширину максимальной ширины боковой панели и содержимого документа.', optionOriginalWidth: 'Оригинальная ширина', @@ -55,7 +60,8 @@ export const NolebaseEnhancedReadabilitiesOptions = { titleAriaLabel: 'Фокус', titleHelpMessage: 'Выделите строку, на которой в данный момент находится курсор мыши, в содержимом, для удобства пользователей, у которых могут возникнуть трудности с чтением и фокусировкой.', - titleScreenNavWarningMessage: 'Фокус недоступен на экране мобильного устройства.', + titleScreenNavWarningMessage: + 'Фокус недоступен на экране мобильного устройства.', optionOn: 'Включить', optionOnAriaLabel: 'Включить', optionOnHelpMessage: 'Включите фокус.', @@ -77,4 +83,4 @@ export const NolebaseEnhancedReadabilitiesOptions = { } } } -} \ No newline at end of file +} diff --git a/.vitepress/config/plugins/NolebaseGitChangelog/index.ts b/.vitepress/config/plugins/NolebaseGitChangelog/index.ts index 5eb06ac..cbcbf7f 100644 --- a/.vitepress/config/plugins/NolebaseGitChangelog/index.ts +++ b/.vitepress/config/plugins/NolebaseGitChangelog/index.ts @@ -12,17 +12,17 @@ export const NolebaseGitChangelogOptions = { locales: { 'ru-RU': { changelog: { - title: 'История изменений', - noData: 'Нет изменений', - lastEdited: 'Последнее редактирование: {{daysAgo}}', - lastEditedDateFnsLocaleName: 'ru', - viewFullHistory: 'Показать историю', - committedOn: ' от {{date}}' - }, - contributors: { + title: 'История изменений', + noData: 'Нет изменений', + lastEdited: 'Последнее редактирование: {{daysAgo}}', + lastEditedDateFnsLocaleName: 'ru', + viewFullHistory: 'Показать историю', + committedOn: ' от {{date}}' + }, + contributors: { title: 'Авторы', noData: 'Нет информации' } } - }, -} \ No newline at end of file + } +} diff --git a/.vitepress/config/plugins/index.ts b/.vitepress/config/plugins/index.ts index 78389d6..e22a181 100644 --- a/.vitepress/config/plugins/index.ts +++ b/.vitepress/config/plugins/index.ts @@ -1,2 +1,2 @@ export { NolebaseEnhancedReadabilitiesOptions } from './NolebaseEnhancedReadabilities/index' -export { NolebaseGitChangelogOptions } from './NolebaseGitChangelog/index' \ No newline at end of file +export { NolebaseGitChangelogOptions } from './NolebaseGitChangelog/index' diff --git a/.vitepress/config/ru.ts b/.vitepress/config/ru.ts index 0cead4c..73c7ca6 100644 --- a/.vitepress/config/ru.ts +++ b/.vitepress/config/ru.ts @@ -12,7 +12,8 @@ export const ru = defineConfigWithTheme({ next: 'Следующая страница' }, editLink: { - pattern: 'https://github.com/OlegShchavelev/ALTMobileWiki/tree/main/docs/:path', + pattern: + 'https://github.com/OlegShchavelev/ALTMobileWiki/tree/main/docs/:path', text: 'Предложить изменения на этой странице' }, lastUpdated: { @@ -23,7 +24,8 @@ export const ru = defineConfigWithTheme({ outlineTitle: 'Оглавление', notFound: { title: 'Страница не найдена', - quote: 'Похоже, что вы перешли по неверной или устаревшей ссылке. Вы можете воспользоваться поиском.', + quote: + 'Похоже, что вы перешли по неверной или устаревшей ссылке. Вы можете воспользоваться поиском.', linkText: 'Вернуться на главную' }, footer: { diff --git a/.vitepress/config/shared.ts b/.vitepress/config/shared.ts index c43bff2..db61983 100644 --- a/.vitepress/config/shared.ts +++ b/.vitepress/config/shared.ts @@ -3,7 +3,10 @@ import markdownTimeline from 'vitepress-markdown-timeline' import { tabsMarkdownPlugin as markdownItTabs } from 'vitepress-plugin-tabs' import markdownItTaskLists from 'markdown-it-task-lists' import UnoCSS from 'unocss/vite' -import { GitChangelog, GitChangelogMarkdownSection } from '@nolebase/vitepress-plugin-git-changelog/vite' +import { + GitChangelog, + GitChangelogMarkdownSection +} from '@nolebase/vitepress-plugin-git-changelog/vite' import { telegram } from '../data/icons' @@ -27,14 +30,20 @@ export const shared = defineConfig({ exclude: ['@nolebase/vitepress-plugin-enhanced-readabilities/client'] }, ssr: { - noExternal: ['@nolebase/vitepress-plugin-enhanced-readabilities', '@nolebase/ui'] + noExternal: [ + '@nolebase/vitepress-plugin-enhanced-readabilities', + '@nolebase/ui' + ] } }, themeConfig: { // https://vitepress.dev/reference/default-theme-config logo: { src: '/logo.svg', width: 36, height: 36, alt: 'ALT Mobile Wike' }, socialLinks: [ - { icon: 'github', link: 'https://github.com/OlegShchavelev/ALTMobileWiki' }, + { + icon: 'github', + link: 'https://github.com/OlegShchavelev/ALTMobileWiki' + }, { icon: { svg: telegram @@ -43,7 +52,8 @@ export const shared = defineConfig({ } ], editLink: { - pattern: 'https://github.com/OlegShchavelev/ALTMobileWiki/tree/main/docs/:path' + pattern: + 'https://github.com/OlegShchavelev/ALTMobileWiki/tree/main/docs/:path' }, outline: { level: [2, 3] diff --git a/.vitepress/data/icons.ts b/.vitepress/data/icons.ts index 462938b..dbbf18c 100644 --- a/.vitepress/data/icons.ts +++ b/.vitepress/data/icons.ts @@ -31,4 +31,4 @@ const gitverse = ` ` -export { telegram, gitflic, gitlab, vk, messager, gitverse } \ No newline at end of file +export { telegram, gitflic, gitlab, vk, messager, gitverse } diff --git a/.vitepress/data/navigations.ts b/.vitepress/data/navigations.ts index d1ada8c..6969299 100644 --- a/.vitepress/data/navigations.ts +++ b/.vitepress/data/navigations.ts @@ -35,7 +35,10 @@ export const sidebar = { items: [ { text: 'Загрузчик', link: '/booting/' }, { text: 'Мобильные устройства', link: '/mobile-devices/' }, - { text: 'Портативные игровые приставки', link: '/portable-game-consoles/' }, + { + text: 'Портативные игровые приставки', + link: '/portable-game-consoles/' + }, { text: 'Виртуальная машина', link: '/virtual-machine/' } ], collapsed: true @@ -94,7 +97,10 @@ export const sidebar = { items: [ { text: 'The loader', link: '/booting/' }, { text: 'Mobile devices', link: '/mobile-devices/' }, - { text: 'Portable Game Consoles', link: '/portable-game-consoles/' }, + { + text: 'Portable Game Consoles', + link: '/portable-game-consoles/' + }, { text: 'Virtual machine', link: '/virtual-machine/' } ], collapsed: true diff --git a/.vitepress/data/team.ts b/.vitepress/data/team.ts index f1d7c04..3adef0a 100644 --- a/.vitepress/data/team.ts +++ b/.vitepress/data/team.ts @@ -5,40 +5,47 @@ import { gitflic, gitverse } from './icons' const homeSorting = 'month, commits' const teamSorting = 'role, commits, month' const leader = { - 'root': 'Олег Щавелев', - 'en': 'Oleg Shchavelev' + root: 'Олег Щавелев', + en: 'Oleg Shchavelev' } const limit = 6 const developersSection = { - 'root': { + root: { title: 'Разработчики', description: 'Люди, которые активно участвуют не только в расширении базы знаний, но и в улучшении её функционала.' }, - 'en': { + en: { title: 'Developers', description: - 'People who are actively involved not only in expanding the knowledge base, but also in improving its functionality.' + 'People who are actively involved not only in expanding the knowledge base, but also in improving its functionality.' } } const membersSection = { - 'root': { + root: { title: 'Авторы', description: 'Люди, которые участвуют в улучшении и создании новых статей.' }, - 'en': { + en: { title: 'Authors', - description: 'People who are involved in improving and creating new articles.' + description: + 'People who are involved in improving and creating new articles.' } } -export { homeSorting, teamSorting, leader, limit, membersSection, developersSection } - +export { + homeSorting, + teamSorting, + leader, + limit, + membersSection, + developersSection +} /* Информация об участниках */ export const contributions = { - 'root': [ + root: [ { avatar: 'https://github.com/OlegShchavelev.png', name: 'Олег Щавелев', @@ -57,7 +64,12 @@ export const contributions = { { avatar: 'https://avatars.githubusercontent.com/u/44705058?v=4', name: 'Антон Политов', - mapByNameAliases: ['Ampernic', 'Антон Политов', 'Anton Politov', 'ampernic'], + mapByNameAliases: [ + 'Ampernic', + 'Антон Политов', + 'Anton Politov', + 'ampernic' + ], title: 'Разработчик, Участник', links: [{ icon: 'github', link: 'https://github.com/Ampernic' }] }, @@ -81,14 +93,14 @@ export const contributions = { mapByNameAliases: ['Rirusha', 'Vladimir Vaskov'], title: 'Участник', avatar: 'https://github.com/Rirusha.png', - links: [{ icon: 'github', link: 'https://github.com/Rirusha'}] + links: [{ icon: 'github', link: 'https://github.com/Rirusha' }] }, { name: 'Артём Быстров', mapByNameAliases: ['Ubuntigroid'], title: 'Участник', avatar: 'https://github.com/Ubuntigroid.png', - links: [{ icon: 'github', link: 'https://github.com/Ubuntigroid'}] + links: [{ icon: 'github', link: 'https://github.com/Ubuntigroid' }] } ] -} \ No newline at end of file +} diff --git a/.vitepress/theme/components/AMWAsideMetaKeyword.vue b/.vitepress/theme/components/AMWAsideMetaKeyword.vue index d3b1953..c845241 100644 --- a/.vitepress/theme/components/AMWAsideMetaKeyword.vue +++ b/.vitepress/theme/components/AMWAsideMetaKeyword.vue @@ -1,27 +1,26 @@ \ No newline at end of file + diff --git a/.vitepress/theme/components/AMWAsideMetaLink.vue b/.vitepress/theme/components/AMWAsideMetaLink.vue index 41c40e0..d0bda73 100644 --- a/.vitepress/theme/components/AMWAsideMetaLink.vue +++ b/.vitepress/theme/components/AMWAsideMetaLink.vue @@ -1,41 +1,45 @@ \ No newline at end of file + diff --git a/.vitepress/theme/components/AMWAsideMetaList.vue b/.vitepress/theme/components/AMWAsideMetaList.vue index 4c17037..559b484 100644 --- a/.vitepress/theme/components/AMWAsideMetaList.vue +++ b/.vitepress/theme/components/AMWAsideMetaList.vue @@ -3,56 +3,57 @@ import VPLink from 'vitepress/dist/client/theme-default/components/VPLink.vue' import { getDomainName } from './../composables/link' export interface Lists { - label?: string; - name?: string; - link: string; + label?: string + name?: string + link: string } defineProps<{ - lists: Lists[] -}>(); - + lists: Lists[] +}>() \ No newline at end of file + diff --git a/.vitepress/theme/components/AMWDocsAsideMeta.vue b/.vitepress/theme/components/AMWDocsAsideMeta.vue index 4df0dd1..65902e3 100644 --- a/.vitepress/theme/components/AMWDocsAsideMeta.vue +++ b/.vitepress/theme/components/AMWDocsAsideMeta.vue @@ -1,9 +1,15 @@ \ No newline at end of file + diff --git a/.vitepress/theme/components/AMWGnomeAppCard.vue b/.vitepress/theme/components/AMWGnomeAppCard.vue index fcd69a2..c0d5043 100644 --- a/.vitepress/theme/components/AMWGnomeAppCard.vue +++ b/.vitepress/theme/components/AMWGnomeAppCard.vue @@ -19,15 +19,26 @@ const cardProps = computed(() => { return repo1[0] == 'sisyphus' ? -1 : 1 }) ) - - const is_adaptive = props.app.appstream?.keywords?.includes('adaptive') ? ['adaptive'] : [] - const is_donttheme = props.app.appstream?.keywords?.includes('dontthemes') ? ['dontthemes'] : [] + + const is_adaptive = props.app.appstream?.keywords?.includes('adaptive') + ? ['adaptive'] + : [] + const is_donttheme = props.app.appstream?.keywords?.includes('dontthemes') + ? ['dontthemes'] + : [] return { icon: icon, name: name, summary: summary, - links: getLinks({ ...repos, ...{ about_app: withBase(props.app.about_app) }, snap: undefined }, config.links), + links: getLinks( + { + ...repos, + ...{ about_app: withBase(props.app.about_app) }, + snap: undefined + }, + config.links + ), keywords: getKeywords([...is_adaptive, ...is_donttheme], config.keywords) } }) diff --git a/.vitepress/theme/components/AMWGnomeAppsList.vue b/.vitepress/theme/components/AMWGnomeAppsList.vue index f915339..8694bb7 100644 --- a/.vitepress/theme/components/AMWGnomeAppsList.vue +++ b/.vitepress/theme/components/AMWGnomeAppsList.vue @@ -4,7 +4,6 @@ import AGWGnomeAppCard from './AMWGnomeAppCard.vue' import { data as appsRoot } from '../loaders/appsGnomeRootDataLoader.data.ts' import { data as appsEN } from '../loaders/appsGnomeEnDataLoader.data.ts' - const { frontmatter, localeIndex } = useData() const props = defineProps({ @@ -12,8 +11,8 @@ const props = defineProps({ }) const apps = { - 'root': appsRoot, - 'en': appsEN + root: appsRoot, + en: appsEN } const getAppsList = () => { @@ -22,7 +21,6 @@ const getAppsList = () => { }) const Apps = [] - rawWikiApps.forEach((app) => { Apps.push({ @@ -32,7 +30,9 @@ const getAppsList = () => { }) Object.entries(frontmatter?.value?.apps?.[props.category]).forEach((app) => { - Apps.find((appFound) => appFound.appstream.name == app[1].appstream.name) ? '' : Apps.push({ ...app[1] }) + Apps.find((appFound) => appFound.appstream.name == app[1].appstream.name) + ? '' + : Apps.push({ ...app[1] }) }) return Apps diff --git a/.vitepress/theme/components/AMWHomeSponsors.vue b/.vitepress/theme/components/AMWHomeSponsors.vue index 66c4ed2..987ec45 100644 --- a/.vitepress/theme/components/AMWHomeSponsors.vue +++ b/.vitepress/theme/components/AMWHomeSponsors.vue @@ -1,15 +1,18 @@ \ No newline at end of file + + diff --git a/.vitepress/theme/components/AMWHomeTeam.vue b/.vitepress/theme/components/AMWHomeTeam.vue index dde55ba..0d0bf61 100644 --- a/.vitepress/theme/components/AMWHomeTeam.vue +++ b/.vitepress/theme/components/AMWHomeTeam.vue @@ -1,8 +1,12 @@ -