From 6b58ec554a0de91139f16d67cec42536d093d5fb Mon Sep 17 00:00:00 2001
From: Corentin Thomasset <corentin.thomasset74@gmail.com>
Date: Fri, 15 Apr 2022 23:10:47 +0200
Subject: refactor(style): updated linter config

---
 src/tools/url-encoder/url-encoder.vue | 102 ++++++++++++++++++++++------------
 1 file changed, 68 insertions(+), 34 deletions(-)

(limited to 'src/tools/url-encoder/url-encoder.vue')

diff --git a/src/tools/url-encoder/url-encoder.vue b/src/tools/url-encoder/url-encoder.vue
index 45bddc8..c3ed6ba 100644
--- a/src/tools/url-encoder/url-encoder.vue
+++ b/src/tools/url-encoder/url-encoder.vue
@@ -1,38 +1,72 @@
 <template>
-    <n-space item-style="flex:1">
-        <n-card title="Encode">
-            <n-form-item label="Your string :" :feedback="encodedValidation.message"
-                :validation-status="encodedValidation.status">
-                <n-input v-model:value="encodeInput" type="textarea" placeholder="The string to encode"
-                    :autosize="{ minRows: 3 }" />
-            </n-form-item>
-
-            <n-form-item label="Your string encoded :">
-                <n-input :value="encodeOutput" type="textarea" readonly placeholder="Your string encoded"
-                    :autosize="{ minRows: 3 }" />
-            </n-form-item>
-
-            <n-space justify="center">
-                <n-button @click="copyEncoded" secondary>Copy</n-button>
-            </n-space>
-        </n-card>
-        <n-card title="Encode">
-            <n-form-item label="Your encode string :" :feedback="decodeValidation.message"
-                :validation-status="decodeValidation.status">
-                <n-input v-model:value="decodeInput" type="textarea" placeholder="The string to decode"
-                    :autosize="{ minRows: 3 }" />
-            </n-form-item>
-
-            <n-form-item label="Your string decoded :">
-                <n-input :value="decodeOutput" type="textarea" readonly placeholder="Your string decoded"
-                    :autosize="{ minRows: 3 }" />
-            </n-form-item>
-
-            <n-space justify="center">
-                <n-button @click="copyDecoded" secondary>Copy</n-button>
-            </n-space>
-        </n-card>
-    </n-space>
+  <n-space item-style="flex:1">
+    <n-card title="Encode">
+      <n-form-item
+        label="Your string :"
+        :feedback="encodedValidation.message"
+        :validation-status="encodedValidation.status"
+      >
+        <n-input
+          v-model:value="encodeInput"
+          type="textarea"
+          placeholder="The string to encode"
+          :autosize="{ minRows: 3 }"
+        />
+      </n-form-item>
+
+      <n-form-item label="Your string encoded :">
+        <n-input
+          :value="encodeOutput"
+          type="textarea"
+          readonly
+          placeholder="Your string encoded"
+          :autosize="{ minRows: 3 }"
+        />
+      </n-form-item>
+
+      <n-space justify="center">
+        <n-button
+          secondary
+          @click="copyEncoded"
+        >
+          Copy
+        </n-button>
+      </n-space>
+    </n-card>
+    <n-card title="Encode">
+      <n-form-item
+        label="Your encode string :"
+        :feedback="decodeValidation.message"
+        :validation-status="decodeValidation.status"
+      >
+        <n-input
+          v-model:value="decodeInput"
+          type="textarea"
+          placeholder="The string to decode"
+          :autosize="{ minRows: 3 }"
+        />
+      </n-form-item>
+
+      <n-form-item label="Your string decoded :">
+        <n-input
+          :value="decodeOutput"
+          type="textarea"
+          readonly
+          placeholder="Your string decoded"
+          :autosize="{ minRows: 3 }"
+        />
+      </n-form-item>
+
+      <n-space justify="center">
+        <n-button
+          secondary
+          @click="copyDecoded"
+        >
+          Copy
+        </n-button>
+      </n-space>
+    </n-card>
+  </n-space>
 </template>
 
 <script setup lang="ts">
-- 
cgit v1.2.3

