@@ -2,6 +2,7 @@ import { Layout } from '../../design/common/layout'
22import { RepoCard } from '../../design/components/repo-card'
33import { Select } from '../../design/components/select'
44import type { Catalog , CatalogEntry } from '../../catalog/types'
5+ import { url } from '../../build/config'
56import type { SiteConfig } from '../../build/config'
67
78declare module 'hono/jsx' {
@@ -26,9 +27,11 @@ export function WorkIndex({
2627 < Layout title = "Work" config = { config } >
2728 < h1 > Our work</ h1 >
2829 < p class = "work-index__intro" >
29- Every public repository Flexion maintains. Active projects are stewarded; as-is
30- projects are available without promised maintenance; archived projects are no
31- longer updated.
30+ Flexion's public portfolio — tools we've built, prototypes we've shipped, and
31+ open-source projects we actively contribute to. Use the filters to explore by
32+ tier or category. See our{ ' ' }
33+ < a href = { url ( '/work/health/' , config . basePath ) } > stewardship scorecard</ a > for
34+ how each repo measures up.
3235 </ p >
3336 < catalog-filter >
3437 < form class = "catalog-filter" >
@@ -37,9 +40,9 @@ export function WorkIndex({
3740 < Select name = "tier" label = "Tier" >
3841 < option value = "" > All</ option >
3942 < option value = "active" > Active</ option >
43+ < option value = "unreviewed" > Unreviewed</ option >
4044 < option value = "as-is" > As-is</ option >
4145 < option value = "archived" > Archived</ option >
42- < option value = "unreviewed" > Unreviewed</ option >
4346 </ Select >
4447 < Select name = "category" label = "Category" >
4548 < option value = "" > All</ option >
@@ -80,8 +83,8 @@ function defaultSort(a: CatalogEntry, b: CatalogEntry): number {
8083 if ( a . featured !== b . featured ) return a . featured ? - 1 : 1
8184 const tierRank : Record < CatalogEntry [ 'tier' ] , number > = {
8285 active : 0 ,
83- 'as-is' : 1 ,
84- unreviewed : 2 ,
86+ unreviewed : 1 ,
87+ 'as-is' : 2 ,
8588 archived : 3 ,
8689 }
8790 if ( tierRank [ a . tier ] !== tierRank [ b . tier ] ) return tierRank [ a . tier ] - tierRank [ b . tier ]
0 commit comments