diff --git a/app/components/LandingLogo.vue b/app/components/LandingLogo.vue new file mode 100644 index 0000000000..ba56180476 --- /dev/null +++ b/app/components/LandingLogo.vue @@ -0,0 +1,76 @@ + + + diff --git a/app/pages/index.vue b/app/pages/index.vue index 7cc3981569..48c5575b00 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -8,8 +8,6 @@ async function search() { startSearch() } -const { env } = useAppConfig().buildInfo - useSeoMeta({ title: () => $t('seo.home.title'), ogTitle: () => $t('seo.home.title'), @@ -32,25 +30,7 @@ defineOgImageComponent('Default', {
-

- - -

- -

- {{ $t('tagline') }} -

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/extra/npmx-cute.svg b/public/extra/npmx-cute.svg new file mode 100644 index 0000000000..7953625700 --- /dev/null +++ b/public/extra/npmx-cute.svg @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/nuxt/a11y.spec.ts b/test/nuxt/a11y.spec.ts index 36ee338d8b..09f2f1f048 100644 --- a/test/nuxt/a11y.spec.ts +++ b/test/nuxt/a11y.spec.ts @@ -141,6 +141,7 @@ import { BlueskyPostEmbed, BuildEnvironment, ButtonBase, + LandingLogo, LinkBase, CallToAction, ChartPatternSlot, @@ -331,6 +332,14 @@ describe('component accessibility audits', () => { }) }) + describe('LandingLogo', () => { + it('should have no accessibility violations', async () => { + const component = await mountSuspended(LandingLogo) + const results = await runAxe(component) + expect(results.violations).toEqual([]) + }) + }) + describe('AppFooter', () => { it('should have no accessibility violations', async () => { const component = await mountSuspended(AppFooter)