From 49ca1b866de7c1ea7b6762c07717e494470c2d7a Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 9 Oct 2024 15:07:50 -0300 Subject: Added contrib to showcases page --- docs/showcases/showcases.ts | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'docs/showcases') diff --git a/docs/showcases/showcases.ts b/docs/showcases/showcases.ts index 138ae7f..2b23aca 100644 --- a/docs/showcases/showcases.ts +++ b/docs/showcases/showcases.ts @@ -1,15 +1,21 @@ type Showcase = { - label: string - src: string - url: string -} + label: string; + src: string; + url: string; +}; -type Grid = T - | [T, T] - | [T, T, T] - | [T, T, T, T] +type Grid = T | [T, T] | [T, T, T] | [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 -] satisfies Array> + { + label: "Placeholder (this is an ags v1 screenshot)", + src: "/astal/showcase/aylur.png", + url: "https://github.com/Aylur/dotfiles", + }, + { + label: "Idk I just love oxocarbon", + src: "/astal/showcase/contrib1.webp", + url: "https://github.com/tokyob0t/dotfiles", + }, + // add mowe shuwucases hewe~ +] satisfies Array>; -- cgit v1.2.3 From e6c35cb90f01149928baaa6959f5e1744efbb9b2 Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 9 Oct 2024 20:38:44 -0300 Subject: Added hover effects to Showcases --- docs/showcases/Showcase.vue | 80 ++++++++++++++++++++++++++++++++++++--------- docs/showcases/showcases.ts | 3 ++ 2 files changed, 67 insertions(+), 16 deletions(-) (limited to 'docs/showcases') diff --git a/docs/showcases/Showcase.vue b/docs/showcases/Showcase.vue index a5a1e01..f790fbf 100644 --- a/docs/showcases/Showcase.vue +++ b/docs/showcases/Showcase.vue @@ -2,37 +2,85 @@ const props = defineProps({ src: { type: String, required: true }, label: { type: String, required: true }, - url: { type: String, required: true } + url: { type: String, required: true }, + icon: { type: String, required: false }, }); diff --git a/docs/showcases/showcases.ts b/docs/showcases/showcases.ts index 2b23aca..f4899c2 100644 --- a/docs/showcases/showcases.ts +++ b/docs/showcases/showcases.ts @@ -2,6 +2,7 @@ type Showcase = { label: string; src: string; url: string; + icon: string; // https://devicon.dev/ }; type Grid = T | [T, T] | [T, T, T] | [T, T, T, T]; @@ -11,11 +12,13 @@ export default [ label: "Placeholder (this is an ags v1 screenshot)", src: "/astal/showcase/aylur.png", url: "https://github.com/Aylur/dotfiles", + icon: "devicon-javascript-plain", }, { label: "Idk I just love oxocarbon", src: "/astal/showcase/contrib1.webp", url: "https://github.com/tokyob0t/dotfiles", + icon: "devicon-lua-plain", }, // add mowe shuwucases hewe~ ] satisfies Array>; -- cgit v1.2.3 From 03f1a08f6e5996e5d3d7ff3952465c9c29b9f624 Mon Sep 17 00:00:00 2001 From: Aylur Date: Thu, 10 Oct 2024 01:35:23 +0000 Subject: docs: add eslint --- docs/showcases/Showcase.vue | 18 ++++++++++++------ docs/showcases/Showcases.vue | 12 ++++++++---- docs/showcases/showcases.ts | 40 ++++++++++++++++++++-------------------- 3 files changed, 40 insertions(+), 30 deletions(-) (limited to 'docs/showcases') diff --git a/docs/showcases/Showcase.vue b/docs/showcases/Showcase.vue index f790fbf..8ee7b5e 100644 --- a/docs/showcases/Showcase.vue +++ b/docs/showcases/Showcase.vue @@ -1,22 +1,28 @@ diff --git a/docs/showcases/Showcases.vue b/docs/showcases/Showcases.vue index 86a17bf..acdf601 100644 --- a/docs/showcases/Showcases.vue +++ b/docs/showcases/Showcases.vue @@ -1,14 +1,18 @@