From 5af72b00345377d3fda8d7f797d20f9b1e79685a Mon Sep 17 00:00:00 2001 From: Akshara Hegde Date: Thu, 27 Jul 2023 16:09:13 +0530 Subject: [PATCH] feat - mobile view --- components/AppForm/Links.vue | 19 ++-- components/AppForm/Preview.vue | 13 ++- components/AppForm/SocialLinks.vue | 56 +++++------ constants/demo.js | 43 +++++++++ pages/index.vue | 147 ++++++++++++++--------------- yarn.lock | 18 ++-- 6 files changed, 172 insertions(+), 124 deletions(-) create mode 100644 constants/demo.js diff --git a/components/AppForm/Links.vue b/components/AppForm/Links.vue index b8b36013..5a1287f2 100644 --- a/components/AppForm/Links.vue +++ b/components/AppForm/Links.vue @@ -19,17 +19,17 @@
-
+
@@ -56,7 +56,7 @@ name="label" id="label" v-model="link.l" - class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm" + class="block mt-1 w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm" />
@@ -70,7 +70,7 @@ name="url" id="url" v-model="link.u" - class="mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm" + class="block mt-1 w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm" />
@@ -88,9 +88,10 @@ diff --git a/components/AppForm/Preview.vue b/components/AppForm/Preview.vue index 9b4a04a5..ec8a0bf2 100644 --- a/components/AppForm/Preview.vue +++ b/components/AppForm/Preview.vue @@ -1,7 +1,8 @@