diff --git a/packages/ui/src/components/servers/ServerListing.vue b/packages/ui/src/components/servers/ServerListing.vue
index 473c0ca90f..d4b99483c6 100644
--- a/packages/ui/src/components/servers/ServerListing.vue
+++ b/packages/ui/src/components/servers/ServerListing.vue
@@ -84,7 +84,28 @@
Your server has been cancelled. Please update your billing information or contact Modrinth
Support for more information.
-
+
+
+
+ Copied
+ Copy ID
+
+
+
+ Support
+
+
+
+
+ Resubscribe
+
+
+
@@ -92,14 +113,56 @@
{{ suspension_reason }}. Please update your billing information or contact Modrinth Support
for more information.
-
+
+
+
+ Copied
+ Copy ID
+
+
+
+ Support
+
+
+
+
+ Manage billing
+
+
+
Your server has been suspended. Please update your billing information or contact Modrinth
Support for more information.
-
+
+
+
+ Copied
+ Copy ID
+
+
+
+ Support
+
+
+
+
+ Manage billing
+
+
+
@@ -108,7 +171,7 @@
}}" plan on {{ formatDate(pendingChange.date) }}.
import type { Archon } from '@modrinth/api-client'
-import { LoaderCircleIcon, LockIcon, SparklesIcon } from '@modrinth/assets'
+import { LoaderCircleIcon, LockIcon, MessagesSquareIcon, SparklesIcon } from '@modrinth/assets'
import { useQuery } from '@tanstack/vue-query'
-import { computed } from 'vue'
+import { computed, ref } from 'vue'
+import { AutoLink, ButtonStyled } from '@modrinth/ui'
+import {
+ CardIcon,
+ CheckIcon,
+ CopyIcon,
+ RotateCounterClockwiseIcon,
+} from '../../../../assets/generated-icons'
import { useFormatDateTime } from '../../composables'
import { injectModrinthClient } from '../../providers/api-client'
import Avatar from '../base/Avatar.vue'
-import CopyCode from '../base/CopyCode.vue'
import ServersSpecs from '../billing/ServersSpecs.vue'
import ServerIcon from './icons/ServerIcon.vue'
import ServerInfoLabels from './labels/ServerInfoLabels.vue'
@@ -248,6 +317,16 @@ const { data: image } = useQuery({
})
const isConfiguring = computed(() => props.flows?.intro)
+
+const copied = ref(false)
+
+async function copyToClipboard(text: string) {
+ await navigator.clipboard.writeText(text)
+ copied.value = true
+ setTimeout(() => {
+ copied.value = false
+ }, 3000)
+}