Each page now has its own look drawn from print and retro-tech references: magazine-cover home, subway-map work index, technical-poster project pages, 90s-desktop blog, radio-flyer music page, 80s wireframe 3D page, garden about page and postcard contact form. A shared subway-line color system ties sections and project categories together. Replace themed copy with standard wording (Work, Blog, Music, 3D, About, Contact; Selected work, Experience, Get in touch). Rename /log to /blog and /sound to /music with redirects.
This commit is contained in:
61 files changed
+2770
-1108
No files matched your search
@@ -5,7 +5,7 @@ import { THEMES } from './lib/themes';
|
||||
|
||||
const theme = z.enum(THEMES).optional();
|
||||
|
||||
export const DISCIPLINES = ['software', 'web', 'game', 'hardware', '3d', 'music'] as const;
|
||||
import { DISCIPLINES } from './lib/disciplines';
|
||||
|
||||
/**
|
||||
* Projects. One .md/.mdx file per project in src/content/work/.
|
||||
@@ -45,9 +45,9 @@ const work = defineCollection({
|
||||
}),
|
||||
});
|
||||
|
||||
/** Weekly log / blog. */
|
||||
const log = defineCollection({
|
||||
loader: glob({ pattern: '**/*.{md,mdx}', base: './src/content/log' }),
|
||||
/** Weekly blog. */
|
||||
const blog = defineCollection({
|
||||
loader: glob({ pattern: '**/*.{md,mdx}', base: './src/content/blog' }),
|
||||
schema: ({ image }) =>
|
||||
z.object({
|
||||
title: z.string(),
|
||||
@@ -61,9 +61,9 @@ const log = defineCollection({
|
||||
}),
|
||||
});
|
||||
|
||||
/** Recordings. Audio files live in the media share under sound/. */
|
||||
const sound = defineCollection({
|
||||
loader: glob({ pattern: '**/*.{md,yaml,yml,json}', base: './src/content/sound' }),
|
||||
/** Recordings. Audio files live in the media share under music/. */
|
||||
const music = defineCollection({
|
||||
loader: glob({ pattern: '**/*.{md,yaml,yml,json}', base: './src/content/music' }),
|
||||
schema: z.object({
|
||||
title: z.string(),
|
||||
date: z.coerce.date(),
|
||||
@@ -87,4 +87,4 @@ const models = defineCollection({
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = { work, log, sound, models };
|
||||
export const collections = { work, blog, music, models };
|
||||
Reference in new issue
Block a user