diff options
author | Aylur <[email protected]> | 2024-10-13 03:42:51 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-13 03:42:51 +0200 |
commit | ec5c6c9acc418946bfe7f28ffdd4803c712b3b53 (patch) | |
tree | 06494479c28445c447f1a0a615da13cb2efb2c19 /docs/showcases/showcases.ts | |
parent | dd3bae59362f0b6c3d47cc81b5c53888362e75fc (diff) | |
parent | 79a96d44b85a6b6e287957f413f98d3812335d52 (diff) |
Merge pull request #38 from tokyob0t/main
Improve showcases doc site
Diffstat (limited to 'docs/showcases/showcases.ts')
-rw-r--r-- | docs/showcases/showcases.ts | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/docs/showcases/showcases.ts b/docs/showcases/showcases.ts index 138ae7f..3d37197 100644 --- a/docs/showcases/showcases.ts +++ b/docs/showcases/showcases.ts @@ -1,15 +1,30 @@ type Showcase = { - label: string - src: string + image: string url: string + icon?: string // https://devicon.dev/ + title?: string + description?: string + author: string } -type Grid<T> = T - | [T, T] - | [T, T, T] - | [T, T, T, T] +// TODO: support more layouts +type Grid<T> = T | [T, T] export default [ - { label: "Placeholder (this is an ags v1 screenshot)", src: "/astal/showcase/aylur1.png", url: "https://github.com/Aylur/dotfiles" }, - // add more showcases here + { + image: "/astal/showcase/aylur.png", + url: "https://github.com/Aylur/dotfiles", + icon: "devicon-typescript-plain", + description: "Placeholder (this is an ags v1 screenshot)", + author: "Aylur", + }, + { + image: "/astal/showcase/tokyob0t-super-duper-hiper-mega-ultra-contribution.webp", + url: "https://github.com/tokyob0t/dotfiles", + icon: "devicon-lua-plain", + title: "Tokyob0t's Desktop", + description: "Abandonad toda esperanza, vosotros que entráis aquí.", + author: "tokyob0t", + }, + // add more showcases here~ ] satisfies Array<Grid<Showcase>> |