{
  "$schema": "https://shadcn-vue.com/schema/registry-item.json",
  "name": "stored-here",
  "type": "registry:block",
  "title": "Saved on this device first",
  "description": "A short explainer: a local-first app saves changes on the device first.",
  "author": "spotstrap (https://kodentuzo.com/spotstrap)",
  "dependencies": [
    "@kodentuzo/spotstrap@^0.3.1"
  ],
  "registryDependencies": [
    "card"
  ],
  "files": [
    {
      "path": "components/StoredHere.vue",
      "type": "registry:component",
      "content": "<script setup lang=\"ts\">\n// A short explainer for a local-first app: changes are saved on this device first, then on the\n// server. Put it in Your data, or next to the privacy policy's link.\nimport { en, type Messages } from '@kodentuzo/spotstrap/blocks'\nimport { computed } from 'vue'\nimport { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'\n\nconst props = defineProps<{ appName: string; messages?: Messages }>()\nconst t = computed(() => (props.messages ?? en).storedHere)\n</script>\n\n<template>\n  <Card>\n    <CardHeader>\n      <CardTitle>{{ t.title }}</CardTitle>\n      <CardDescription class=\"max-w-prose\">{{ t.body(appName) }}</CardDescription>\n    </CardHeader>\n    <CardContent class=\"text-sm text-muted-foreground\">{{ t.rights }}</CardContent>\n  </Card>\n</template>\n"
    }
  ]
}
