Skip to content

Commit ccec4ae

Browse files
authored
feat: add tetris and pride noodles (#2855)
1 parent 743cd6c commit ccec4ae

8 files changed

Lines changed: 1082 additions & 1 deletion

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<template>
2+
<TooltipApp interactive position="top">
3+
<template #content>
4+
<p class="text-sm font-medium text-fg mb-1">
5+
We stand together. Always, everywhere, for all of us
6+
<br />
7+
<strong>Happy Pride Month!</strong>
8+
</p>
9+
</template>
10+
<img
11+
width="400"
12+
class="mb-2 w-80 sm:w-140 max-w-full mx-auto"
13+
src="/extra/pride-2.svg"
14+
:alt="$t('alt_logo')"
15+
/>
16+
</TooltipApp>
17+
</template>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<template>
2+
<TooltipApp interactive position="top">
3+
<template #content>
4+
<p class="text-sm font-medium text-fg mb-1">
5+
Great places are built by diverse people
6+
<br />
7+
<strong>Happy Pride Month!</strong>
8+
</p>
9+
</template>
10+
<img
11+
width="400"
12+
class="mb-2 w-80 sm:w-140 max-w-full mx-auto"
13+
src="/extra/pride-3.png"
14+
:alt="$t('alt_logo')"
15+
/>
16+
</TooltipApp>
17+
</template>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<template>
2+
<TooltipApp interactive position="top">
3+
<template #content>
4+
<p class="text-sm font-medium text-fg mb-1">
5+
<strong>World Tetris Day</strong>. The legendary console turns 42.
6+
<br />
7+
<i>Yes, you matched the blocks correctly, but polyominos are cool too!</i>
8+
</p>
9+
</template>
10+
<img
11+
width="400"
12+
class="mb-10 w-80 sm:w-140 max-w-full mx-auto"
13+
src="/extra/tetris.svg"
14+
:alt="$t('alt_logo')"
15+
/>
16+
</TooltipApp>
17+
</template>

app/components/Noodle/index.ts

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import NoodleKawaiiLogo from './Kawaii/Logo.vue'
22
import NoodlePride1Logo from './Pride1/Logo.vue'
3+
import NoodlePride2Logo from './Pride2/Logo.vue'
4+
import NoodlePride3Logo from './Pride3/Logo.vue'
5+
import NoodleTetrisLogo from './Tetris/Logo.vue'
36

47
export type Noodle = {
58
// Unique identifier for the noodle
@@ -31,7 +34,29 @@ export const ACTIVE_NOODLES: Noodle[] = [
3134
key: 'pride-1',
3235
logo: NoodlePride1Logo,
3336
date: '2026-06-01',
34-
dateTo: '2026-06-30',
37+
dateTo: '2026-06-06',
38+
timezone: 'auto',
39+
},
40+
{
41+
key: 'tetris',
42+
logo: NoodleTetrisLogo,
43+
date: '2026-06-06',
44+
dateTo: '2026-06-08',
45+
timezone: 'auto',
46+
tagline: false,
47+
},
48+
{
49+
key: 'pride-2',
50+
logo: NoodlePride2Logo,
51+
date: '2026-06-08',
52+
dateTo: '2026-06-20',
53+
timezone: 'auto',
54+
},
55+
{
56+
key: 'pride-3',
57+
logo: NoodlePride3Logo,
58+
date: '2026-06-20',
59+
dateTo: '2026-07-01',
3560
timezone: 'auto',
3661
},
3762
]

public/extra/pride-2.svg

Lines changed: 468 additions & 0 deletions
Loading

public/extra/pride-3.png

77.3 KB
Loading

public/extra/tetris.svg

Lines changed: 516 additions & 0 deletions
Loading

test/nuxt/a11y.spec.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ import {
161161
NoodleKawaiiLogo,
162162
NoodleNodejsLogo,
163163
NoodlePride1Logo,
164+
NoodlePride2Logo,
165+
NoodlePride3Logo,
166+
NoodleTetrisLogo,
164167
LinkBase,
165168
CallToAction,
166169
ChangelogCard,
@@ -386,6 +389,24 @@ describe('component accessibility audits', () => {
386389
const results = await runAxe(component)
387390
expect(results.violations).toEqual([])
388391
})
392+
393+
it('should have no accessibility violations', async () => {
394+
const component = await mountSuspended(NoodlePride2Logo)
395+
const results = await runAxe(component)
396+
expect(results.violations).toEqual([])
397+
})
398+
399+
it('should have no accessibility violations', async () => {
400+
const component = await mountSuspended(NoodlePride3Logo)
401+
const results = await runAxe(component)
402+
expect(results.violations).toEqual([])
403+
})
404+
405+
it('should have no accessibility violations', async () => {
406+
const component = await mountSuspended(NoodleTetrisLogo)
407+
const results = await runAxe(component)
408+
expect(results.violations).toEqual([])
409+
})
389410
})
390411

391412
describe('AppFooter', () => {

0 commit comments

Comments
 (0)