Skip to content

Kody is live

Watch the launch video — what Kody is, and why it exists.

← Public packages

@kentcdodds/package-app-kit

Design tokens, PWA install/update, About/version, cache helpers, and optional realtime notes sync for Kody package apps.

app/controllers/brand.ts

15 lines · 418 B · TypeScript
import type { BuildAction } from 'remix/router'
import { brandPngResponse } from '../../src/brand.ts'
import { routes } from '../routes.ts'

export const logoBust = {
	async handler() {
		return brandPngResponse('bust')
	},
} satisfies BuildAction<'ANY', typeof routes.logoBust>

export const logoFull = {
	async handler() {
		return brandPngResponse('full')
	},
} satisfies BuildAction<'ANY', typeof routes.logoFull>