From 5be73162f63f6e8f97d5bd525f70fd70129c7b93 Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Fri, 13 Dec 2024 20:44:08 +0330 Subject: [PATCH 1/4] added none folder structure component name base --- frontend/nuxt.config.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts index 3a897fc..ba5d513 100644 --- a/frontend/nuxt.config.ts +++ b/frontend/nuxt.config.ts @@ -12,6 +12,13 @@ export default defineNuxtConfig({ }, }, + components: [ + { + path: "~/components", + pathPrefix: false, + }, + ], + icon: { mode: "svg", customCollections: [ From e57dcfa81b720b5bd06dc2f114cab3939a98180a Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Fri, 13 Dec 2024 20:44:59 +0330 Subject: [PATCH 2/4] added container inline paddings --- frontend/assets/css/tailwind.css | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/frontend/assets/css/tailwind.css b/frontend/assets/css/tailwind.css index 5a6f78a..7a9d77f 100644 --- a/frontend/assets/css/tailwind.css +++ b/frontend/assets/css/tailwind.css @@ -91,7 +91,6 @@ --color-danger-900: hsl(0, 63%, 31%); --color-danger-950: hsl(0, 75%, 15%); - /* BORDER RADIUS */ --radius-50: 5px; --radius-100: 10px; @@ -100,25 +99,21 @@ --radius-250: 25px; --radius-360: 99999999px; - /* FONT WEIGHT */ --font-weight-extrablack: 950; --font-weight-heavy: 1000; - /* FONT FAMILY */ --font-lato: "Lato", sans-serif; --font-inter: "Inter", sans-serif; --font-dmsans: "DM Sans", sans-serif; --font-iran-yekan-x: "IRANYekanXVF, sans-serif"; - /* BREAKPOINTS */ --breakpoint-3xl: 1700px; --breakpoint-2xs: 400px; --breakpoint-xs: 480px; - /* ANIMATIONS */ --animate-marquee: marquee 3s linear infinite; @@ -127,4 +122,13 @@ transform: translateY(-50%); } } -} \ No newline at end of file +} + +/* CONTAINER */ + +@utility container { + padding-inline: 3rem; + @screen xl { + padding-inline: 5rem; + } +} From ed157befc799661d1cc19c731c63234856b4266d Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Fri, 13 Dec 2024 20:45:27 +0330 Subject: [PATCH 3/4] added header component --- frontend/components/global/Header.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 frontend/components/global/Header.vue diff --git a/frontend/components/global/Header.vue b/frontend/components/global/Header.vue new file mode 100644 index 0000000..a72124d --- /dev/null +++ b/frontend/components/global/Header.vue @@ -0,0 +1,11 @@ + + + + + From f9b7af8234d568021bd07a947b34804163f2bf44 Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Fri, 13 Dec 2024 20:45:38 +0330 Subject: [PATCH 4/4] added container to layout --- frontend/layouts/Default.vue | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/frontend/layouts/Default.vue b/frontend/layouts/Default.vue index 131be3e..83d4745 100644 --- a/frontend/layouts/Default.vue +++ b/frontend/layouts/Default.vue @@ -8,15 +8,12 @@ // await suspense(); // } // }); -