feat: welcome to sigitex.com
This commit is contained in:
commit
46f341745c
27 changed files with 1341 additions and 0 deletions
14
src/status.html.ts
Normal file
14
src/status.html.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import type { ProjectStatus } from "@/getProjects"
|
||||
import { colors } from "@/shared/colors"
|
||||
|
||||
export default function Status(status: ProjectStatus) {
|
||||
return span.tag(backgroundColor(statusColors[status]), status)
|
||||
}
|
||||
|
||||
const statusColors: Record<ProjectStatus, string> = {
|
||||
archived: colors.orange,
|
||||
dormant: colors.gray,
|
||||
stable: colors.blue,
|
||||
experiment: colors.purple,
|
||||
active: colors.green,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue