From 75ef7e05a9816b0ab5240108e802204b5aa7a4f4 Mon Sep 17 00:00:00 2001 From: HugoRCD Date: Tue, 15 Apr 2025 23:26:36 +0200 Subject: [PATCH] feat(docs): update workers changelog image --- docs/app/components/AppHeader.vue | 33 ++++++++++++++---- .../images/changelog/workers-support.png | Bin 95904 -> 485209 bytes 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/docs/app/components/AppHeader.vue b/docs/app/components/AppHeader.vue index 4c0578cf..6b2b6178 100644 --- a/docs/app/components/AppHeader.vue +++ b/docs/app/components/AppHeader.vue @@ -59,17 +59,38 @@ onMounted(async () => { ready.value = true }) }) + +const { copy } = useClipboard() +const toast = useToast() +const logo = useTemplateRef('logo') +const logoContextMenuItems = [ + [{ + label: 'Copy logo as SVG', + icon: 'i-simple-icons-nuxtdotjs', + onSelect() { + if (logo.value) { + copy(logo.value.$el.outerHTML) + toast.add({ + title: 'NuxtHub logo copied as SVG', + description: 'You can now paste it into your project', + icon: 'i-lucide-circle-check', + color: 'success' + }) + } + } + }] +]