feat: Add website (#1157)

Co-authored-by: Bjorn Lammers <bjorn@lammers.media>
This commit is contained in:
Thomas Camlong
2025-04-16 16:18:20 +02:00
committed by GitHub
parent f46843795d
commit bfe293f090
86 changed files with 13563 additions and 1269 deletions

44
web/src/types/icons.ts Normal file
View File

@@ -0,0 +1,44 @@
export type IconAuthor = {
id: number
name?: string
}
export type IconUpdate = {
timestamp: string
author: IconAuthor
}
export type IconColors = {
dark?: string
light?: string
}
export type Icon = {
base: string | "svg" | "png" | "webp"
aliases: string[]
categories: string[]
update: IconUpdate
colors?: IconColors
}
export type IconFile = {
[key: string]: Icon
}
export type IconWithName = {
name: string
data: Icon
}
export type IconSearchProps = {
icons: IconWithName[]
initialQuery?: string
}
export type AuthorData = {
id: number
name?: string
login: string
avatar_url: string
html_url: string
}

1
web/src/types/index.ts Normal file
View File

@@ -0,0 +1 @@
export * from "./icons"