Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions app/components/Noodle/IojsNodejs/Logo.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<script setup lang="ts">
defineProps<{
// Render the bare logo without the tooltip wrapper. Used on the /noodles
// archive + detail pages where the same content lives in the right panel.
noTooltip?: boolean
}>()
</script>

<template>
<ColorSchemeImg
v-if="noTooltip"
width="400"
class="motion-safe:animate-fade-in motion-safe:animate-scale-in relative z-10 w-full"
dark-src="/extra/iojs-nodejs-dark.png"
light-src="/extra/iojs-nodejs.png"
:alt="$t('alt_logo')"
/>
<TooltipApp
v-else
interactive
:tooltip-attr="{ class: 'w-[calc(100%-2rem)]! max-w-sm!' }"
class="mb-2"
>
<template #content>
<p class="text-sm font-medium text-fg mb-1">
<span class="text-fg-subtle">
14 September 2015 - IO.js and Node.js merge
<br />
<a
href="https://nodejs.org/en/blog/announcements/foundation-v4-announce"
target="_blank"
rel="noopener noreferrer"
class="underline"
>Node.js Foundation Combines Node.js and io.js Into Single Codebase</a
>
</span>
</p>
</template>
<ColorSchemeImg
width="400"
class="motion-safe:animate-fade-in motion-safe:animate-scale-in w-80 sm:w-120"
dark-src="/extra/iojs-nodejs-dark.png"
light-src="/extra/iojs-nodejs.png"
:alt="$t('alt_logo')"
/>
</TooltipApp>
</template>
47 changes: 7 additions & 40 deletions app/components/Noodle/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import NoodlePride3Logo from './Pride3/Logo.vue'
import NoodleTetrisLogo from './Tetris/Logo.vue'
import NoodleEmojiDayLogo from './EmojiDay/Logo.vue'
import NoodleGifDayLogo from './GifDay/Logo.vue'
import NoodleIojsNodejsLogo from './IojsNodejs/Logo.vue'

export type Noodle = {
// Unique identifier for the noodle
Expand Down Expand Up @@ -38,46 +39,9 @@ export const PERMANENT_NOODLES: Noodle[] = [
// Active noodles - shown based on date and timezone
export const ACTIVE_NOODLES: Noodle[] = [
{
key: 'pride-1',
logo: NoodlePride1Logo,
date: '2026-06-01',
dateTo: '2026-06-06',
timezone: 'auto',
},
{
key: 'tetris',
logo: NoodleTetrisLogo,
date: '2026-06-06',
dateTo: '2026-06-08',
timezone: 'auto',
tagline: false,
},
{
key: 'pride-2',
logo: NoodlePride2Logo,
date: '2026-06-08',
dateTo: '2026-06-20',
timezone: 'auto',
},
{
key: 'pride-3',
logo: NoodlePride3Logo,
date: '2026-06-20',
dateTo: '2026-07-01',
timezone: 'auto',
},
{
key: 'emoji-day',
logo: NoodleEmojiDayLogo,
date: '2026-07-17',
dateTo: '2026-07-19',
timezone: 'auto',
},
{
key: 'gif-day',
logo: NoodleGifDayLogo,
date: '2026-09-05',
dateTo: '2026-09-08',
key: 'iojs-nodejs-merge',
logo: NoodleIojsNodejsLogo,
date: '2026-09-14',
timezone: 'auto',
},
]
Expand All @@ -92,9 +56,12 @@ const NOODLE_LOGOS: Record<string, Component> = {
'artemis': NoodleArtemisLogo,
'nodejs': NoodleNodejsLogo,
'pride-1': NoodlePride1Logo,
'pride-2': NoodlePride2Logo,
'pride-3': NoodlePride3Logo,
'tetris': NoodleTetrisLogo,
'emoji-day': NoodleEmojiDayLogo,
'gif-day': NoodleGifDayLogo,
'iojs-nodejs-merge': NoodleIojsNodejsLogo,
}

export function resolveNoodleLogo(key: string): Component | undefined {
Expand Down
25 changes: 21 additions & 4 deletions app/noodles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Noodle } from '#shared/schemas/noodle'
// To add a noodle: drop a Logo.vue under app/components/Noodle/<Name>/,
// register the key in app/components/Noodle/index.ts, then append an entry below.

const ALEX = { name: 'Alex Savelyev', blueskyHandle: 'alexdln.com' }
const ALEX = { name: 'Alex Savelyeva', blueskyHandle: 'alexdln.com' }
const ALFON = { name: 'Alfon', blueskyHandle: 'alfon.dev' }
const GRAPHIEROS = { name: 'Graphieros', blueskyHandle: 'graphieros.npmx.social' }
const FELIX = { name: 'Felix Schneider', blueskyHandle: 'felixs.dev' }
Expand Down Expand Up @@ -152,16 +152,16 @@ const entries: Noodle[] = [
{ label: 'Wikipedia', url: 'https://en.wikipedia.org/wiki/World_Emoji_Day' },
],
},

{
key: 'gif-day',
title: 'National GIF Day',
slug: 'gif-day',
date: '2026-09-5',
date: '2026-09-05',
dateTo: '2026-09-08',
timezone: 'auto',
tagline: false,
occasion: 'National GIF day',
prUrl: 'https://github.com/npmx-dev/npmx.dev/pull/2778',
prUrl: 'https://github.com/npmx-dev/npmx.dev/pull/3067',
authors: [MATTEO],
references: [
{
Expand All @@ -170,6 +170,23 @@ const entries: Noodle[] = [
},
],
},
{
key: 'iojs-nodejs-merge',
title: 'IO.js and Node.js merge',
slug: 'iojs-nodejs-merge',
date: '2026-09-14',
timezone: 'auto',
tagline: false,
occasion: 'IO.js and Node.js merge',
prUrl: 'https://github.com/npmx-dev/npmx.dev/pull/3238',
authors: [ALEX],
references: [
{
label: 'Node.js Foundation Combines Node.js and io.js Into Single Codebase',
url: 'https://nodejs.org/en/blog/announcements/foundation-v4-announce',
},
],
},
]

export const noodles: Noodle[] = [...entries].sort(
Expand Down
2 changes: 1 addition & 1 deletion app/pages/blog/release/0.8.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
authors:
- name: Alex Savelyev
- name: Alex Savelyeva
blueskyHandle: alexdln.com
- name: Philippe Serhal
blueskyHandle: philippeserhal.com
Expand Down
2 changes: 1 addition & 1 deletion app/pages/blog/release/crystal-chronicle.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
authors:
- name: Alex Savelyev
- name: Alex Savelyeva
blueskyHandle: alexdln.com
- name: Willow (GHOST)
blueskyHandle: willow.sh
Expand Down
2 changes: 1 addition & 1 deletion app/pages/blog/release/rainbow-comet.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors:
- name: Alec Lloyd Probert
blueskyHandle: graphieros.npmx.social
- name: Alex Savelyev
- name: Alex Savelyeva
blueskyHandle: alexdln.com
- name: Willow (GHOST)
blueskyHandle: willow.sh
Expand Down
1 change: 1 addition & 0 deletions cli/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default defineConfig({
dts: true,
outDir: 'dist',
deps: {
resolveDepSubpath: true,
neverBundle: ['@lydell/node-pty'],
},
},
Expand Down
Loading
Loading