@atom63/create 0.0.0-stage → 0.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +27 -0
- package/README.md +70 -2
- package/package.json +27 -3
- package/src/generate.mjs +281 -0
- package/src/index.mjs +64 -0
- package/starter/app/AGENTS.md +17 -0
- package/starter/app/README.md +40 -0
- package/starter/app/src/app.ts +4 -0
- package/starter/app/src/components/app-layout.tsx +49 -0
- package/starter/app/src/components/appearance-settings.tsx +87 -0
- package/starter/app/src/pages/not-found.tsx +30 -0
- package/starter/app/src/router.tsx +79 -0
- package/starter/app/src/styles.css +31 -0
- package/starter/app/vite.config.ts +10 -0
- package/starter/base/_gitignore +4 -0
- package/starter/base/components.json +21 -0
- package/starter/base/index.html +12 -0
- package/starter/base/src/lib/utils.ts +7 -0
- package/starter/base/src/main.tsx +21 -0
- package/starter/base/src/theme.tsx +89 -0
- package/starter/base/tsconfig.json +21 -0
- package/starter/content/AGENTS.md +16 -0
- package/starter/content/README.md +35 -0
- package/starter/content/src/components/site-footer.tsx +9 -0
- package/starter/content/src/components/site-header.tsx +32 -0
- package/starter/content/src/mdx.d.ts +7 -0
- package/starter/content/src/styles.css +32 -0
- package/starter/content/vite.config.ts +25 -0
- package/starter/docs/src/components/docs-sidebar.tsx +35 -0
- package/starter/docs/src/content/docs/installation.mdx +22 -0
- package/starter/docs/src/content/docs/introduction.mdx +22 -0
- package/starter/docs/src/content/docs/writing-pages.mdx +36 -0
- package/starter/docs/src/content/docs.ts +60 -0
- package/starter/docs/src/pages/doc-page.tsx +57 -0
- package/starter/docs/src/pages/home.tsx +39 -0
- package/starter/docs/src/pages/not-found.tsx +30 -0
- package/starter/docs/src/router.tsx +86 -0
- package/starter/docs/src/site.ts +7 -0
- package/starter/portfolio/AGENTS.md +28 -0
- package/starter/portfolio/README.md +152 -0
- package/starter/portfolio/public/plates/hero.svg +40 -0
- package/starter/portfolio/public/projects/front-desk-scheduling/calendar.svg +30 -0
- package/starter/portfolio/public/projects/front-desk-scheduling/cover.svg +28 -0
- package/starter/portfolio/public/projects/ledger-design-system/cover.svg +13 -0
- package/starter/portfolio/public/projects/night-trip-planner/cover.svg +19 -0
- package/starter/portfolio/public/projects/night-trip-planner/flow.svg +34 -0
- package/starter/portfolio/src/components/mdx-components.tsx +25 -0
- package/starter/portfolio/src/components/project-card.tsx +32 -0
- package/starter/portfolio/src/components/site-footer.tsx +33 -0
- package/starter/portfolio/src/components/site-header.tsx +124 -0
- package/starter/portfolio/src/components/site-layout.tsx +62 -0
- package/starter/portfolio/src/content/projects/front-desk-scheduling.mdx +47 -0
- package/starter/portfolio/src/content/projects/ledger-design-system.mdx +40 -0
- package/starter/portfolio/src/content/projects/night-trip-planner.mdx +51 -0
- package/starter/portfolio/src/content/projects.ts +43 -0
- package/starter/portfolio/src/content/resume.ts +80 -0
- package/starter/portfolio/src/content/timeline.ts +69 -0
- package/starter/portfolio/src/content/writing/a-design-system-for-one.mdx +21 -0
- package/starter/portfolio/src/content/writing/case-studies-that-show-the-work.mdx +24 -0
- package/starter/portfolio/src/content/writing/designing-for-interruptions.mdx +23 -0
- package/starter/portfolio/src/content/writing.ts +37 -0
- package/starter/portfolio/src/modules/assistant/answers.ts +60 -0
- package/starter/portfolio/src/modules/assistant/assistant.tsx +107 -0
- package/starter/portfolio/src/modules/assistant/transport.ts +36 -0
- package/starter/portfolio/src/modules/dock/dock.tsx +141 -0
- package/starter/portfolio/src/modules/slides/decks.ts +49 -0
- package/starter/portfolio/src/modules/slides/slides-pages.tsx +128 -0
- package/starter/portfolio/src/modules/widgets/widget-board.tsx +121 -0
- package/starter/portfolio/src/pages/home.tsx +139 -0
- package/starter/portfolio/src/pages/not-found.tsx +30 -0
- package/starter/portfolio/src/pages/project-page.tsx +102 -0
- package/starter/portfolio/src/pages/projects-index.tsx +39 -0
- package/starter/portfolio/src/pages/resume.tsx +97 -0
- package/starter/portfolio/src/pages/timeline.tsx +89 -0
- package/starter/portfolio/src/pages/writing-index.tsx +64 -0
- package/starter/portfolio/src/pages/writing-post.tsx +43 -0
- package/starter/portfolio/src/portfolio.config.ts +88 -0
- package/starter/portfolio/src/router.tsx +113 -0
- package/starter/portfolio/src/styles.css +38 -0
- package/starter/site/src/content/blog/hello-world.mdx +25 -0
- package/starter/site/src/content/blog/writing-with-mdx.mdx +29 -0
- package/starter/site/src/content/posts.ts +37 -0
- package/starter/site/src/pages/blog-index.tsx +60 -0
- package/starter/site/src/pages/blog-post.tsx +43 -0
- package/starter/site/src/pages/home.tsx +143 -0
- package/starter/site/src/pages/not-found.tsx +30 -0
- package/starter/site/src/router.tsx +82 -0
- package/starter/site/src/site.ts +7 -0
- package/versions.json +27 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 900" preserveAspectRatio="xMidYMid meet">
|
|
2
|
+
<!-- Sample figure: three phone screens drawn as wireframes. Replace with your own image. -->
|
|
3
|
+
<rect width="1600" height="900" fill="#eef0f6"/>
|
|
4
|
+
<g transform="translate(250 90)">
|
|
5
|
+
<rect width="300" height="620" rx="44" fill="#ffffff" stroke="#c8cede" stroke-width="4"/>
|
|
6
|
+
<rect x="36" y="70" width="160" height="22" rx="11" fill="#1d2540"/>
|
|
7
|
+
<rect x="36" y="120" width="228" height="120" rx="20" fill="#e3e7f2"/>
|
|
8
|
+
<text x="150" y="196" font-family="system-ui, sans-serif" font-size="48" font-weight="700" fill="#1d2540" text-anchor="middle">01:30</text>
|
|
9
|
+
<rect x="36" y="270" width="228" height="16" rx="8" fill="#d3d8e6"/>
|
|
10
|
+
<rect x="36" y="300" width="180" height="16" rx="8" fill="#d3d8e6"/>
|
|
11
|
+
<rect x="36" y="530" width="228" height="56" rx="28" fill="#1d2540"/>
|
|
12
|
+
</g>
|
|
13
|
+
<g transform="translate(650 90)">
|
|
14
|
+
<rect width="300" height="620" rx="44" fill="#ffffff" stroke="#c8cede" stroke-width="4"/>
|
|
15
|
+
<rect x="36" y="70" width="190" height="22" rx="11" fill="#1d2540"/>
|
|
16
|
+
<rect x="36" y="124" width="228" height="96" rx="20" fill="#fbe3c8"/>
|
|
17
|
+
<rect x="58" y="150" width="120" height="18" rx="9" fill="#c9783f"/>
|
|
18
|
+
<rect x="58" y="182" width="170" height="14" rx="7" fill="#e7b88a"/>
|
|
19
|
+
<rect x="36" y="244" width="228" height="76" rx="20" fill="#e3e7f2"/>
|
|
20
|
+
<rect x="36" y="336" width="228" height="76" rx="20" fill="#e3e7f2"/>
|
|
21
|
+
</g>
|
|
22
|
+
<g transform="translate(1050 90)">
|
|
23
|
+
<rect width="300" height="620" rx="44" fill="#ffffff" stroke="#c8cede" stroke-width="4"/>
|
|
24
|
+
<rect x="36" y="70" width="140" height="22" rx="11" fill="#1d2540"/>
|
|
25
|
+
<path d="M70 480 C 110 380 170 400 200 300 S 240 170 250 140" fill="none" stroke="#c9783f" stroke-width="8" stroke-dasharray="4 18" stroke-linecap="round"/>
|
|
26
|
+
<circle cx="70" cy="480" r="14" fill="#1d2540"/>
|
|
27
|
+
<circle cx="250" cy="140" r="14" fill="#c9783f"/>
|
|
28
|
+
<rect x="36" y="530" width="228" height="56" rx="28" fill="#e3e7f2"/>
|
|
29
|
+
</g>
|
|
30
|
+
<g fill="none" stroke="#9aa3bd" stroke-width="4" stroke-linecap="round">
|
|
31
|
+
<path d="M570 400 H 630 M612 382 L 630 400 L 612 418"/>
|
|
32
|
+
<path d="M970 400 H 1030 M1012 382 L 1030 400 L 1012 418"/>
|
|
33
|
+
</g>
|
|
34
|
+
</svg>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createMdxComponents } from '@atom63/mdx/article'
|
|
2
|
+
import type { ReactNode } from 'react'
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A block of your own: a quote from someone you worked with. Write
|
|
6
|
+
* `<Quote by="…">…</Quote>` in any MDX file. Add more blocks the same way:
|
|
7
|
+
* a component here, then a key in `createMdxComponents` below.
|
|
8
|
+
*/
|
|
9
|
+
function Quote({ by, children }: { by: string; children: ReactNode }) {
|
|
10
|
+
return (
|
|
11
|
+
<figure className="border-border my-8 border-s-2 ps-6">
|
|
12
|
+
<blockquote className="text-foreground font-heading text-xl leading-snug">
|
|
13
|
+
{children}
|
|
14
|
+
</blockquote>
|
|
15
|
+
<figcaption className="text-muted-foreground mt-3 text-start text-sm">{by}</figcaption>
|
|
16
|
+
</figure>
|
|
17
|
+
)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Every MDX file renders with these: the core prose, the default @atom63/mdx
|
|
22
|
+
* blocks (Callout, KeyIdea, Steps, StatGrid, FigureBlock, Timeline, …) and the
|
|
23
|
+
* site's own Quote.
|
|
24
|
+
*/
|
|
25
|
+
export const mdxComponents = createMdxComponents({ Quote })
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Card,
|
|
3
|
+
CardContent,
|
|
4
|
+
CardDescription,
|
|
5
|
+
CardLabel,
|
|
6
|
+
CardMedia,
|
|
7
|
+
CardTitle,
|
|
8
|
+
cardLinkClassName,
|
|
9
|
+
} from '@atom63/ui-react'
|
|
10
|
+
import { Link } from '@tanstack/react-router'
|
|
11
|
+
|
|
12
|
+
import type { Project } from '../content/projects'
|
|
13
|
+
|
|
14
|
+
/** A project in a grid: its cover, title and one-line summary, linking to the case study. */
|
|
15
|
+
export function ProjectCard({ project }: { project: Project }) {
|
|
16
|
+
return (
|
|
17
|
+
<Link className={cardLinkClassName} params={{ slug: project.slug }} to="/projects/$slug">
|
|
18
|
+
<Card className="h-full" padding="none" variant="interactive">
|
|
19
|
+
<CardMedia aspectRatio="16/9">
|
|
20
|
+
<img alt="" className="size-full object-cover" loading="lazy" src={project.cover} />
|
|
21
|
+
</CardMedia>
|
|
22
|
+
<CardContent>
|
|
23
|
+
<CardLabel className="text-muted-foreground">
|
|
24
|
+
{project.date.slice(0, 4)} · {project.role}
|
|
25
|
+
</CardLabel>
|
|
26
|
+
<CardTitle>{project.title}</CardTitle>
|
|
27
|
+
<CardDescription lineClamp={2}>{project.summary}</CardDescription>
|
|
28
|
+
</CardContent>
|
|
29
|
+
</Card>
|
|
30
|
+
</Link>
|
|
31
|
+
)
|
|
32
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { portfolio } from '../portfolio.config'
|
|
2
|
+
|
|
3
|
+
export function SiteFooter() {
|
|
4
|
+
const { email, links, name } = portfolio.person
|
|
5
|
+
return (
|
|
6
|
+
<footer className="border-border border-t print:hidden">
|
|
7
|
+
<div className="text-muted-foreground mx-auto flex max-w-6xl flex-wrap items-center justify-between gap-4 px-6 py-8 text-sm">
|
|
8
|
+
<p>
|
|
9
|
+
{name} · {portfolio.title} · Built with the Atom63 design system
|
|
10
|
+
</p>
|
|
11
|
+
<ul className="flex flex-wrap items-center gap-4">
|
|
12
|
+
<li>
|
|
13
|
+
<a className="hover:text-foreground transition-colors" href={`mailto:${email}`}>
|
|
14
|
+
Email
|
|
15
|
+
</a>
|
|
16
|
+
</li>
|
|
17
|
+
{links.map(link => (
|
|
18
|
+
<li key={link.href}>
|
|
19
|
+
<a
|
|
20
|
+
className="hover:text-foreground transition-colors"
|
|
21
|
+
href={link.href}
|
|
22
|
+
rel="noreferrer"
|
|
23
|
+
target="_blank"
|
|
24
|
+
>
|
|
25
|
+
{link.label}
|
|
26
|
+
</a>
|
|
27
|
+
</li>
|
|
28
|
+
))}
|
|
29
|
+
</ul>
|
|
30
|
+
</div>
|
|
31
|
+
</footer>
|
|
32
|
+
)
|
|
33
|
+
}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Button,
|
|
3
|
+
Popover,
|
|
4
|
+
PopoverContent,
|
|
5
|
+
PopoverHeader,
|
|
6
|
+
PopoverTitle,
|
|
7
|
+
PopoverTrigger,
|
|
8
|
+
Sheet,
|
|
9
|
+
SheetContent,
|
|
10
|
+
SheetHeader,
|
|
11
|
+
SheetPanel,
|
|
12
|
+
SheetTitle,
|
|
13
|
+
SheetTrigger,
|
|
14
|
+
} from '@atom63/ui-react'
|
|
15
|
+
import { Link } from '@tanstack/react-router'
|
|
16
|
+
import { Menu, Palette, Sparkles } from 'lucide-react'
|
|
17
|
+
|
|
18
|
+
import { useAssistant } from '../modules/assistant/assistant'
|
|
19
|
+
import { isOn, portfolio } from '../portfolio.config'
|
|
20
|
+
import { AppearanceControls } from '../theme'
|
|
21
|
+
|
|
22
|
+
export type NavItem = { label: string; to: string }
|
|
23
|
+
|
|
24
|
+
const linkClassName =
|
|
25
|
+
'text-muted-foreground hover:text-foreground rounded-md px-2 py-1 text-sm transition-colors'
|
|
26
|
+
|
|
27
|
+
function AppearanceMenu() {
|
|
28
|
+
return (
|
|
29
|
+
<Popover>
|
|
30
|
+
<PopoverTrigger
|
|
31
|
+
render={
|
|
32
|
+
<Button aria-label="Appearance" size="icon-sm" tone="muted" variant="ghost">
|
|
33
|
+
<Palette aria-hidden />
|
|
34
|
+
</Button>
|
|
35
|
+
}
|
|
36
|
+
/>
|
|
37
|
+
<PopoverContent align="end">
|
|
38
|
+
<PopoverHeader>
|
|
39
|
+
<PopoverTitle>Appearance</PopoverTitle>
|
|
40
|
+
</PopoverHeader>
|
|
41
|
+
<AppearanceControls />
|
|
42
|
+
</PopoverContent>
|
|
43
|
+
</Popover>
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* On a phone the links move into a sheet. */
|
|
48
|
+
function MobileMenu({ nav }: { nav: NavItem[] }) {
|
|
49
|
+
return (
|
|
50
|
+
<Sheet>
|
|
51
|
+
<SheetTrigger
|
|
52
|
+
render={
|
|
53
|
+
<Button
|
|
54
|
+
aria-label="Menu"
|
|
55
|
+
className="md:hidden"
|
|
56
|
+
size="icon-sm"
|
|
57
|
+
tone="muted"
|
|
58
|
+
variant="ghost"
|
|
59
|
+
>
|
|
60
|
+
<Menu aria-hidden />
|
|
61
|
+
</Button>
|
|
62
|
+
}
|
|
63
|
+
/>
|
|
64
|
+
<SheetContent side="right">
|
|
65
|
+
<SheetHeader>
|
|
66
|
+
<SheetTitle>{portfolio.person.name}</SheetTitle>
|
|
67
|
+
</SheetHeader>
|
|
68
|
+
<SheetPanel>
|
|
69
|
+
<nav aria-label="Main">
|
|
70
|
+
<ul className="grid gap-1">
|
|
71
|
+
{[{ label: 'Home', to: '/' }, ...nav].map(item => (
|
|
72
|
+
<li key={item.to}>
|
|
73
|
+
<Link
|
|
74
|
+
activeOptions={{ exact: item.to === '/' }}
|
|
75
|
+
activeProps={{ 'aria-current': 'page', className: 'text-foreground' }}
|
|
76
|
+
className={[linkClassName, 'block text-base'].filter(Boolean).join(' ')}
|
|
77
|
+
to={item.to}
|
|
78
|
+
>
|
|
79
|
+
{item.label}
|
|
80
|
+
</Link>
|
|
81
|
+
</li>
|
|
82
|
+
))}
|
|
83
|
+
</ul>
|
|
84
|
+
</nav>
|
|
85
|
+
</SheetPanel>
|
|
86
|
+
</SheetContent>
|
|
87
|
+
</Sheet>
|
|
88
|
+
)
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function SiteHeader({ nav }: { nav: NavItem[] }) {
|
|
92
|
+
const assistant = useAssistant()
|
|
93
|
+
return (
|
|
94
|
+
<header className="border-border border-b print:hidden">
|
|
95
|
+
<div className="mx-auto flex max-w-6xl items-center gap-4 px-6 py-3">
|
|
96
|
+
<Link className="text-foreground font-semibold" to="/">
|
|
97
|
+
{portfolio.person.name}
|
|
98
|
+
</Link>
|
|
99
|
+
<nav aria-label="Main" className="hidden items-center gap-1 md:flex">
|
|
100
|
+
{nav.map(item => (
|
|
101
|
+
<Link
|
|
102
|
+
activeProps={{ 'aria-current': 'page', className: 'text-foreground' }}
|
|
103
|
+
className={linkClassName}
|
|
104
|
+
key={item.to}
|
|
105
|
+
to={item.to}
|
|
106
|
+
>
|
|
107
|
+
{item.label}
|
|
108
|
+
</Link>
|
|
109
|
+
))}
|
|
110
|
+
</nav>
|
|
111
|
+
<div className="ms-auto flex items-center gap-1">
|
|
112
|
+
{isOn('assistant') && assistant ? (
|
|
113
|
+
<Button onClick={assistant.open} size="sm" variant="outline">
|
|
114
|
+
<Sparkles aria-hidden />
|
|
115
|
+
Ask
|
|
116
|
+
</Button>
|
|
117
|
+
) : null}
|
|
118
|
+
<AppearanceMenu />
|
|
119
|
+
<MobileMenu nav={nav} />
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</header>
|
|
123
|
+
)
|
|
124
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { PortalContainerProvider } from '@atom63/ui-react'
|
|
2
|
+
import { lazy, type ReactNode, Suspense, useState } from 'react'
|
|
3
|
+
|
|
4
|
+
import { AssistantProvider } from '../modules/assistant/assistant'
|
|
5
|
+
import { isOn, portfolio } from '../portfolio.config'
|
|
6
|
+
import { type NavItem, SiteHeader } from './site-header'
|
|
7
|
+
import { SiteFooter } from './site-footer'
|
|
8
|
+
|
|
9
|
+
const Dock = lazy(() => import('../modules/dock/dock').then(module => ({ default: module.Dock })))
|
|
10
|
+
|
|
11
|
+
const nav: NavItem[] = [
|
|
12
|
+
{ label: 'Projects', to: '/projects' },
|
|
13
|
+
{ label: 'Writing', to: '/writing' },
|
|
14
|
+
{ label: 'Timeline', to: '/timeline' },
|
|
15
|
+
{ label: 'Resume', to: '/resume' },
|
|
16
|
+
...(isOn('slides') ? [{ label: 'Slides', to: '/slides' }] : []),
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
/*
|
|
20
|
+
* The frame around every page. It stamps the creative axes from
|
|
21
|
+
* portfolio.config.ts (brand, surface, radius, font) so every component and
|
|
22
|
+
* token below follows them, and gives overlays (menus, sheets) a container
|
|
23
|
+
* inside that frame so they follow them too.
|
|
24
|
+
*/
|
|
25
|
+
export function SiteLayout({ children }: { children: ReactNode }) {
|
|
26
|
+
const [portal, setPortal] = useState<HTMLDivElement | null>(null)
|
|
27
|
+
const { brand, font, radius, surface } = portfolio.appearance
|
|
28
|
+
|
|
29
|
+
const page = (
|
|
30
|
+
<>
|
|
31
|
+
<SiteHeader nav={nav} />
|
|
32
|
+
<div className="flex-1">{children}</div>
|
|
33
|
+
<SiteFooter />
|
|
34
|
+
{isOn('dock') ? (
|
|
35
|
+
<Suspense fallback={null}>
|
|
36
|
+
<Dock />
|
|
37
|
+
</Suspense>
|
|
38
|
+
) : null}
|
|
39
|
+
</>
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
return (
|
|
43
|
+
<div
|
|
44
|
+
// With the dock on, the page ends above it.
|
|
45
|
+
className={[
|
|
46
|
+
'portfolio-root bg-background text-foreground flex min-h-screen flex-col',
|
|
47
|
+
isOn('dock') ? 'pb-24' : '',
|
|
48
|
+
]
|
|
49
|
+
.filter(Boolean)
|
|
50
|
+
.join(' ')}
|
|
51
|
+
data-a63-brand={brand}
|
|
52
|
+
data-a63-font={font}
|
|
53
|
+
data-a63-radius={radius}
|
|
54
|
+
data-a63-surface={surface}
|
|
55
|
+
>
|
|
56
|
+
<PortalContainerProvider container={portal}>
|
|
57
|
+
{isOn('assistant') ? <AssistantProvider>{page}</AssistantProvider> : page}
|
|
58
|
+
</PortalContainerProvider>
|
|
59
|
+
<div ref={setPortal} />
|
|
60
|
+
</div>
|
|
61
|
+
)
|
|
62
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Scheduling that respects the front desk
|
|
3
|
+
summary: Marigold Health's receptionists booked visits across four tools. One calendar built for interruptions halved the time to book.
|
|
4
|
+
date: '2024-06-20'
|
|
5
|
+
featured: true
|
|
6
|
+
role: Senior product designer
|
|
7
|
+
timeline: Oct 2023 to Jun 2024
|
|
8
|
+
team: 1 designer, 3 engineers, 2 clinic leads
|
|
9
|
+
tools: [Figma, Maze, React]
|
|
10
|
+
cover: /projects/front-desk-scheduling/cover.svg
|
|
11
|
+
coverAlt: Abstract calendar grid in warm tones with one highlighted slot
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Problem
|
|
15
|
+
|
|
16
|
+
Marigold Health is a network of eleven community clinics. A receptionist answered the phone, checked a paper rota, searched the patient record and booked in a separate calendar, often while someone waited at the desk. A booking took four minutes on average, and one in twelve ended in a double booking.
|
|
17
|
+
|
|
18
|
+
## Role
|
|
19
|
+
|
|
20
|
+
I was the only designer on the project. I shadowed reception at three clinics, ran the usability tests, and wrote the interaction spec the engineers built from.
|
|
21
|
+
|
|
22
|
+
## Process
|
|
23
|
+
|
|
24
|
+
<Steps>
|
|
25
|
+
<Steps.Step title="Count the interruptions">Receptionists were interrupted every 90 seconds. Every screen had to survive being left half-done.</Steps.Step>
|
|
26
|
+
<Steps.Step title="One calendar, one search">Patient, clinician and room in one view, with the search always focused when the phone rings.</Steps.Step>
|
|
27
|
+
<Steps.Step title="Drafts, not dialogs">An unfinished booking stays as a draft on the calendar instead of a modal that blocks the desk.</Steps.Step>
|
|
28
|
+
</Steps>
|
|
29
|
+
|
|
30
|
+
<FigureBlock
|
|
31
|
+
alt="The calendar with a draft booking held in a slot"
|
|
32
|
+
aspectRatio="16/9"
|
|
33
|
+
caption="A draft holds the slot while the receptionist answers the next call."
|
|
34
|
+
src="/projects/front-desk-scheduling/calendar.svg"
|
|
35
|
+
/>
|
|
36
|
+
|
|
37
|
+
## Outcome
|
|
38
|
+
|
|
39
|
+
<StatGrid>
|
|
40
|
+
<StatCard change="from 4 min" label="Time to book" trend="up" value="1 min 50 s" />
|
|
41
|
+
<StatCard change="from 1 in 12" label="Double bookings" trend="up" value="1 in 140" />
|
|
42
|
+
<StatCard label="Clinics live" value="11" />
|
|
43
|
+
</StatGrid>
|
|
44
|
+
|
|
45
|
+
<Quote by="Reception lead, Marigold Health">
|
|
46
|
+
I can answer the phone mid-booking and nothing is lost. That is the whole job.
|
|
47
|
+
</Quote>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: One design system for web and iOS
|
|
3
|
+
summary: Orchard Ledger's web and iOS apps had drifted apart. A shared token and component contract brought them back together and cut UI review time.
|
|
4
|
+
date: '2025-09-04'
|
|
5
|
+
featured: false
|
|
6
|
+
role: Design systems lead
|
|
7
|
+
timeline: Jan to Sep 2025
|
|
8
|
+
team: 2 designers, 3 engineers
|
|
9
|
+
tools: [Figma, SwiftUI, React, Atom63]
|
|
10
|
+
cover: /projects/ledger-design-system/cover.svg
|
|
11
|
+
coverAlt: Abstract stacked layers in green, one per platform
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Problem
|
|
15
|
+
|
|
16
|
+
Orchard Ledger makes accounting software for small businesses. Its web and iOS apps were built by separate teams, and the same invoice looked different on each: three greys, two date formats, and buttons of four heights.
|
|
17
|
+
|
|
18
|
+
## Role
|
|
19
|
+
|
|
20
|
+
I led the system: the token architecture, the component contracts and the rollout plan, working with one designer and three engineers across both platforms.
|
|
21
|
+
|
|
22
|
+
## Process
|
|
23
|
+
|
|
24
|
+
<Steps>
|
|
25
|
+
<Steps.Step title="Audit">Every screen of both apps on one board, grouped by component. 212 variants of 31 components.</Steps.Step>
|
|
26
|
+
<Steps.Step title="Tokens first">One token source for colour, space and type, generated for CSS and Swift.</Steps.Step>
|
|
27
|
+
<Steps.Step title="Contracts">Each component's sizes, variants and states defined once, and checked in both renderers.</Steps.Step>
|
|
28
|
+
</Steps>
|
|
29
|
+
|
|
30
|
+
<Callout type="info">
|
|
31
|
+
The system is built on the Atom63 design system, the same one this portfolio uses.
|
|
32
|
+
</Callout>
|
|
33
|
+
|
|
34
|
+
## Outcome
|
|
35
|
+
|
|
36
|
+
<StatGrid>
|
|
37
|
+
<StatCard change="from 212" label="Component variants" trend="up" value="64" />
|
|
38
|
+
<StatCard change="40% shorter" label="UI review time" trend="up" value="2 days" />
|
|
39
|
+
<StatCard label="Screens migrated" value="180" />
|
|
40
|
+
</StatGrid>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: A trip planner for the night network
|
|
3
|
+
summary: Kelpline Transit's night riders could not tell which buses still ran. A planner built around the last departure cut missed connections by a third.
|
|
4
|
+
date: '2026-03-12'
|
|
5
|
+
featured: true
|
|
6
|
+
role: Lead product designer
|
|
7
|
+
timeline: Sep 2025 to Mar 2026
|
|
8
|
+
team: 2 designers, 4 engineers, 1 researcher
|
|
9
|
+
tools: [Figma, React, Atom63, Mapbox]
|
|
10
|
+
cover: /projects/night-trip-planner/cover.svg
|
|
11
|
+
coverAlt: Abstract map lines in deep blue with a highlighted night route
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Problem
|
|
15
|
+
|
|
16
|
+
Kelpline Transit runs 14 night routes in a mid-sized coastal city. Its app showed the day timetable all night, so riders planned trips on buses that had stopped hours before. Support tickets about missed connections tripled every winter.
|
|
17
|
+
|
|
18
|
+
<KeyIdea title="The question riders actually ask">
|
|
19
|
+
Not "when is the next bus" but "can I still get home, and when must I leave".
|
|
20
|
+
</KeyIdea>
|
|
21
|
+
|
|
22
|
+
## Role
|
|
23
|
+
|
|
24
|
+
I led design from research to launch: I ran the ride-alongs with the researcher, owned the flows and the interface, and paired with two engineers on the timetable model so the design and the data agreed.
|
|
25
|
+
|
|
26
|
+
## Process
|
|
27
|
+
|
|
28
|
+
<Steps>
|
|
29
|
+
<Steps.Step title="Ride along">Eight night shifts on four routes, with riders and drivers. The pattern: people plan backwards from the last bus.</Steps.Step>
|
|
30
|
+
<Steps.Step title="Plan backwards">A planner that starts from "home by" and shows the latest safe departure, with the walk included.</Steps.Step>
|
|
31
|
+
<Steps.Step title="Test on real nights">Three rounds with 40 riders, on the routes they ride, after 11 pm.</Steps.Step>
|
|
32
|
+
</Steps>
|
|
33
|
+
|
|
34
|
+
<FigureBlock
|
|
35
|
+
alt="Three phone screens: the home-by picker, the latest departure and the walk"
|
|
36
|
+
aspectRatio="16/9"
|
|
37
|
+
caption="The planner works backwards from when you want to be home."
|
|
38
|
+
src="/projects/night-trip-planner/flow.svg"
|
|
39
|
+
/>
|
|
40
|
+
|
|
41
|
+
## Outcome
|
|
42
|
+
|
|
43
|
+
<StatGrid>
|
|
44
|
+
<StatCard change="34% fewer" label="Missed connections" trend="up" value="1 in 9 trips" />
|
|
45
|
+
<StatCard label="Night trips planned" value="48k / month" />
|
|
46
|
+
<StatCard change="+1.1" label="App store rating" trend="up" value="4.6" />
|
|
47
|
+
</StatGrid>
|
|
48
|
+
|
|
49
|
+
<Quote by="Night route driver, depot interview">
|
|
50
|
+
People used to run for a bus that was never coming. Now they are at the stop early.
|
|
51
|
+
</Quote>
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { ComponentType } from 'react'
|
|
2
|
+
|
|
3
|
+
export type Project = {
|
|
4
|
+
Content: ComponentType
|
|
5
|
+
/** The cover image, under public/. */
|
|
6
|
+
cover: string
|
|
7
|
+
coverAlt: string
|
|
8
|
+
/** When the project shipped, as YYYY-MM-DD; it orders the list and the timeline. */
|
|
9
|
+
date: string
|
|
10
|
+
/** Shown on the home page. */
|
|
11
|
+
featured: boolean
|
|
12
|
+
/** Who you were on the project. */
|
|
13
|
+
role: string
|
|
14
|
+
slug: string
|
|
15
|
+
/** One sentence: the problem and what changed. */
|
|
16
|
+
summary: string
|
|
17
|
+
team: string
|
|
18
|
+
timeline: string
|
|
19
|
+
title: string
|
|
20
|
+
tools: string[]
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
type ProjectModule = {
|
|
24
|
+
default: ComponentType
|
|
25
|
+
frontmatter: Omit<Project, 'Content' | 'slug'>
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/** Every `projects/*.mdx` file is a case study; its file name is the slug. */
|
|
29
|
+
const modules = import.meta.glob<ProjectModule>('./projects/*.mdx', { eager: true })
|
|
30
|
+
|
|
31
|
+
export const projects: Project[] = Object.entries(modules)
|
|
32
|
+
.map(([path, module]) => ({
|
|
33
|
+
Content: module.default,
|
|
34
|
+
...module.frontmatter,
|
|
35
|
+
slug: path.slice(path.lastIndexOf('/') + 1, -'.mdx'.length),
|
|
36
|
+
}))
|
|
37
|
+
.sort((left, right) => right.date.localeCompare(left.date))
|
|
38
|
+
|
|
39
|
+
export const featuredProjects = projects.filter(project => project.featured)
|
|
40
|
+
|
|
41
|
+
export function findProject(slug: string): Project | undefined {
|
|
42
|
+
return projects.find(project => project.slug === slug)
|
|
43
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The resume, as data: the resume page renders it, the timeline takes the
|
|
3
|
+
* roles from it, and the assistant answers from it. Sample content about a
|
|
4
|
+
* fictional person and fictional companies.
|
|
5
|
+
*/
|
|
6
|
+
export type Role = {
|
|
7
|
+
company: string
|
|
8
|
+
end: string | null
|
|
9
|
+
highlights: string[]
|
|
10
|
+
start: string
|
|
11
|
+
title: string
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const resume = {
|
|
15
|
+
summary:
|
|
16
|
+
'Product designer with nine years in transport, health and finance software. I lead design from research to shipped code, and I build and maintain design systems that web and iOS teams share.',
|
|
17
|
+
experience: [
|
|
18
|
+
{
|
|
19
|
+
company: 'Orchard Ledger',
|
|
20
|
+
title: 'Design systems lead',
|
|
21
|
+
start: '2024-09',
|
|
22
|
+
end: null,
|
|
23
|
+
highlights: [
|
|
24
|
+
'Unified the web and iOS apps on one token and component contract.',
|
|
25
|
+
'Cut component variants from 212 to 64 and UI review time by 40%.',
|
|
26
|
+
],
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
company: 'Kelpline Transit',
|
|
30
|
+
title: 'Lead product designer (contract)',
|
|
31
|
+
start: '2025-09',
|
|
32
|
+
end: '2026-03',
|
|
33
|
+
highlights: ['Designed the night trip planner; missed connections fell by a third.'],
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
company: 'Marigold Health',
|
|
37
|
+
title: 'Senior product designer',
|
|
38
|
+
start: '2021-02',
|
|
39
|
+
end: '2024-08',
|
|
40
|
+
highlights: [
|
|
41
|
+
'Rebuilt front-desk scheduling for eleven clinics; booking time halved.',
|
|
42
|
+
'Set up the research panel of 60 clinic staff.',
|
|
43
|
+
],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
company: 'Fernway Studio',
|
|
47
|
+
title: 'Product designer',
|
|
48
|
+
start: '2017-06',
|
|
49
|
+
end: '2021-01',
|
|
50
|
+
highlights: ['Designed and shipped web and mobile products for 14 clients.'],
|
|
51
|
+
},
|
|
52
|
+
] satisfies Role[],
|
|
53
|
+
education: [
|
|
54
|
+
{
|
|
55
|
+
school: 'Northbridge School of Design',
|
|
56
|
+
degree: 'BA Interaction Design',
|
|
57
|
+
start: '2013',
|
|
58
|
+
end: '2017',
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
skills: [
|
|
62
|
+
'Product strategy',
|
|
63
|
+
'Interaction design',
|
|
64
|
+
'Design systems',
|
|
65
|
+
'User research',
|
|
66
|
+
'Prototyping',
|
|
67
|
+
'React and TypeScript',
|
|
68
|
+
'SwiftUI basics',
|
|
69
|
+
'Accessibility',
|
|
70
|
+
],
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/** "2024-09" → "Sep 2024"; null → "Now". */
|
|
74
|
+
export function formatMonth(value: string | null): string {
|
|
75
|
+
if (!value) return 'Now'
|
|
76
|
+
return new Date(`${value}-01T00:00:00`).toLocaleDateString('en', {
|
|
77
|
+
month: 'short',
|
|
78
|
+
year: 'numeric',
|
|
79
|
+
})
|
|
80
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { projects } from './projects'
|
|
2
|
+
import { resume } from './resume'
|
|
3
|
+
import { posts } from './writing'
|
|
4
|
+
|
|
5
|
+
export type TimelineKind = 'milestone' | 'project' | 'role' | 'writing'
|
|
6
|
+
|
|
7
|
+
export type TimelineEntry = {
|
|
8
|
+
/** YYYY-MM or YYYY-MM-DD; entries sort on it. */
|
|
9
|
+
date: string
|
|
10
|
+
description: string
|
|
11
|
+
/** An in-site path or a full URL. */
|
|
12
|
+
href?: string
|
|
13
|
+
kind: TimelineKind
|
|
14
|
+
title: string
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/** Things that are not a project, a post or a role: talks, awards, moves. */
|
|
18
|
+
const milestones: TimelineEntry[] = [
|
|
19
|
+
{
|
|
20
|
+
date: '2025-10',
|
|
21
|
+
kind: 'milestone',
|
|
22
|
+
title: 'Talk: Planning backwards',
|
|
23
|
+
description: 'How the night trip planner was designed, at a regional transport design meetup.',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
date: '2023-04',
|
|
27
|
+
kind: 'milestone',
|
|
28
|
+
title: 'Moved to Lisbon',
|
|
29
|
+
description: 'Started working remotely full time.',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
date: '2017-06',
|
|
33
|
+
kind: 'milestone',
|
|
34
|
+
title: 'Graduated',
|
|
35
|
+
description: 'BA Interaction Design, Northbridge School of Design.',
|
|
36
|
+
},
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
/** Everything on one line: projects, writing, roles and milestones, newest first. */
|
|
40
|
+
export const timeline: TimelineEntry[] = [
|
|
41
|
+
...projects.map(project => ({
|
|
42
|
+
date: project.date,
|
|
43
|
+
kind: 'project' as const,
|
|
44
|
+
title: project.title,
|
|
45
|
+
description: project.summary,
|
|
46
|
+
href: `/projects/${project.slug}`,
|
|
47
|
+
})),
|
|
48
|
+
...posts.map(post => ({
|
|
49
|
+
date: post.date,
|
|
50
|
+
kind: 'writing' as const,
|
|
51
|
+
title: post.title,
|
|
52
|
+
description: post.description,
|
|
53
|
+
href: `/writing/${post.slug}`,
|
|
54
|
+
})),
|
|
55
|
+
...resume.experience.map(role => ({
|
|
56
|
+
date: role.start,
|
|
57
|
+
kind: 'role' as const,
|
|
58
|
+
title: `${role.title}, ${role.company}`,
|
|
59
|
+
description: role.highlights[0] ?? '',
|
|
60
|
+
})),
|
|
61
|
+
...milestones,
|
|
62
|
+
].sort((left, right) => right.date.localeCompare(left.date))
|
|
63
|
+
|
|
64
|
+
export const timelineKindLabels: Record<TimelineKind, string> = {
|
|
65
|
+
milestone: 'Milestone',
|
|
66
|
+
project: 'Project',
|
|
67
|
+
role: 'Role',
|
|
68
|
+
writing: 'Writing',
|
|
69
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: A design system for one
|
|
3
|
+
description: Why this portfolio runs on a full design system, and what it costs to keep it.
|
|
4
|
+
date: '2025-05-02'
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
A personal site is the one product where I am designer, engineer and client. It is also where I am most tempted to cut corners. Building it on a design system keeps me honest.
|
|
8
|
+
|
|
9
|
+
## What I get
|
|
10
|
+
|
|
11
|
+
- **Themes and modes for free.** Every colour comes from a token, so light, dark and four themes just work.
|
|
12
|
+
- **Accessible defaults.** Buttons, menus and dialogs keep their semantics without me re-learning them.
|
|
13
|
+
- **Content in MDX.** Case studies are Markdown with real components: steps, stats, figures.
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
<StatCard change="34% fewer" label="Missed connections" trend="up" value="1 in 9 trips" />
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## What it costs
|
|
20
|
+
|
|
21
|
+
Upgrades. Once a quarter I update the packages and read the changelog. It takes an hour, and it is the hour that keeps the other hundred working.
|