From 03f1a08f6e5996e5d3d7ff3952465c9c29b9f624 Mon Sep 17 00:00:00 2001
From: Aylur <k.demeter@protonmail.com>
Date: Thu, 10 Oct 2024 01:35:23 +0000
Subject: docs: add eslint

---
 docs/showcases/Showcase.vue | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

(limited to 'docs/showcases/Showcase.vue')

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 @@
 <script setup>
-const props = defineProps({
+defineProps({
     src: { type: String, required: true },
     label: { type: String, required: true },
     url: { type: String, required: true },
-    icon: { type: String, required: false },
-});
+    icon: { type: String, required: false, default: "" },
+})
 </script>
 
 <template>
     <figure class="showcase">
         <div>
             <a :href="url" target="_blank">
-                <img :src="src" :alt="label" />
+                <img :src="src" :alt="label">
             </a>
-            <i :class="icon" class="language-icon"></i>
+            <i :class="icon" class="language-icon" />
         </div>
         <figcaption>
-            <a :href="url" class="label-link" target="_blank">{{ label }}</a>
+            <a
+                :href="url"
+                class="label-link"
+                target="_blank"
+            >
+                {{ label }}
+            </a>
         </figcaption>
     </figure>
 </template>
-- 
cgit v1.2.3

