From 64b484cfd1fb01c8e350058472b779121f43c2b8 Mon Sep 17 00:00:00 2001 From: Alexey Yarmosh Date: Fri, 30 Aug 2024 14:14:39 +0200 Subject: [PATCH 01/16] fix: ts errors --- components/TokenCalendar.vue | 8 +- nuxt.config.ts | 3 +- package.json | 3 +- pnpm-lock.yaml | 266 ++++++++++++++++++++--------------- 4 files changed, 159 insertions(+), 121 deletions(-) diff --git a/components/TokenCalendar.vue b/components/TokenCalendar.vue index 2ed7794b..dc97ee40 100644 --- a/components/TokenCalendar.vue +++ b/components/TokenCalendar.vue @@ -2,19 +2,19 @@
diff --git a/components/CopyButton.vue b/components/CopyButton.vue new file mode 100644 index 00000000..109d9803 --- /dev/null +++ b/components/CopyButton.vue @@ -0,0 +1,41 @@ + + + diff --git a/components/StartProbe.vue b/components/StartProbe.vue index 9522a3ab..3180d910 100644 --- a/components/StartProbe.vue +++ b/components/StartProbe.vue @@ -13,21 +13,8 @@ />
-
- -
+
-
{{ commands[platform][size] }}
@@ -97,17 +84,4 @@ size.value = size.value === 'compact' ? 'expanded' : 'compact'; smoothResize(codeWrapperElem.value!, codeElem.value!, codeElem.value!); }; - - const copyTooltip = ref(false); - const copyCommand = async () => { - let content = commands[platform.value][size.value]; - - if (Array.isArray(content)) { - content = content.map(parts => parts.join('')).join('\n'); - } - - await navigator.clipboard.writeText(content); - copyTooltip.value = true; - setTimeout(() => copyTooltip.value = false, 1000); - }; From ba301ecc005ee8d3ccf853c122ca6fe9217bcd28 Mon Sep 17 00:00:00 2001 From: Alexey Yarmosh Date: Fri, 30 Aug 2024 18:06:15 +0200 Subject: [PATCH 04/16] feat: add title class --- assets/css/global.css | 6 ++++++ pages/credits.vue | 3 +-- pages/index.vue | 2 +- pages/probes.vue | 2 +- pages/settings.vue | 2 +- pages/tokens.vue | 2 +- 6 files changed, 11 insertions(+), 6 deletions(-) diff --git a/assets/css/global.css b/assets/css/global.css index 3209414f..5d3c88f4 100644 --- a/assets/css/global.css +++ b/assets/css/global.css @@ -69,3 +69,9 @@ input[disabled], textarea[disabled], select[disabled='disabled'] { opacity: 1; color: var(--text-bluegray-500); } + +@layer classes { + .title { + @apply text-2xl font-bold + } +} diff --git a/pages/credits.vue b/pages/credits.vue index abe0f6a5..b280e883 100644 --- a/pages/credits.vue +++ b/pages/credits.vue @@ -1,7 +1,7 @@ diff --git a/pages/probes/[id].vue b/pages/probes/[id].vue index ae60dc4f..fe5d5cde 100644 --- a/pages/probes/[id].vue +++ b/pages/probes/[id].vue @@ -1,10 +1,7 @@ + + From 7aa845353514fb2b9e7345f5ffbb789482030419 Mon Sep 17 00:00:00 2001 From: Alex Yarmosh Date: Thu, 19 Sep 2024 15:15:42 +0200 Subject: [PATCH 16/16] fix: scroll only content on desktop (#20) --- layouts/default.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/default.vue b/layouts/default.vue index a02f4f85..79140d2d 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -110,7 +110,7 @@
-
+