<script lang="ts" setup>
defineProps<{
  url: string
}>()

const { t } = useI18n()
</script>

<template>
  <nuxt-link
    :to="url"
    target="_blank"
    class="flex cursor-pointer items-center justify-center gap-1 rounded-md bg-blue-700/10 px-3 py-2 text-blue-700"
  >
    <span class="body-400">{{ t('header.oldVersion') }}</span>
    <a-icon-arrow-bottom-left-on-square class="rotate-180" />
  </nuxt-link>
</template>

<style scoped></style>
