{
  "$schema": "https://shadcn-vue.com/schema/registry-item.json",
  "name": "legal-links",
  "type": "registry:block",
  "title": "Legal links",
  "description": "Footer links to the privacy policy, the legal notice and Your data.",
  "author": "spotstrap (https://kodentuzo.com/spotstrap)",
  "dependencies": [
    "@kodentuzo/spotstrap@^0.3.1"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "components/LegalLinks.vue",
      "type": "registry:component",
      "content": "<script setup lang=\"ts\">\n// The footer's links to the privacy policy, the legal notice and Your data.\nimport { en, type Messages } from '@kodentuzo/spotstrap/blocks'\nimport { computed } from 'vue'\n\nconst props = withDefaults(\n  defineProps<{\n    privacy?: string\n    notice?: string\n    yourData?: string\n    messages?: Messages\n  }>(),\n  { privacy: '/privacy', notice: '/legal', yourData: '/your-data' },\n)\nconst t = computed(() => (props.messages ?? en).links)\n</script>\n\n<template>\n  <nav :aria-label=\"t.label\" class=\"flex flex-wrap gap-x-4 gap-y-1 text-sm text-muted-foreground\">\n    <a :href=\"props.privacy\" class=\"underline-offset-4 hover:underline\">{{ t.privacy }}</a>\n    <a :href=\"props.notice\" class=\"underline-offset-4 hover:underline\">{{ t.notice }}</a>\n    <a :href=\"props.yourData\" class=\"underline-offset-4 hover:underline\">{{ t.yourData }}</a>\n  </nav>\n</template>\n"
    }
  ]
}
