diff options
author | Yuqi Feng <freach@freach.ltd> | 2022-08-25 14:05:52 +0000 |
---|---|---|
committer | Yuqi Feng <freach@freach.ltd> | 2022-08-25 14:05:52 +0000 |
commit | 5bd046abd8fdab4f6f49564e8ce2f6e4c22d859c (patch) | |
tree | f18fbcaf6276a3cb822ce9999f0202267799f7b1 /components/peertube.vue |
First release
Diffstat (limited to 'components/peertube.vue')
-rw-r--r-- | components/peertube.vue | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/components/peertube.vue b/components/peertube.vue new file mode 100644 index 0000000..55e0008 --- /dev/null +++ b/components/peertube.vue @@ -0,0 +1,34 @@ +<template> + <svg + viewBox="0 0 24 24" + xmlns="http://www.w3.org/2000/svg" + height="48" + width="48" + :fill="color" + :style="{ + transform: `scale(${scale}) translate(${offsetX}rem,${offsetY}rem)`, + }" + > + <path d="m3 0v12l9-6zm0 12v12l9-6zm9-6v12l9-6z" /> + </svg> +</template> +<script setup lang="ts"> +const props = defineProps({ + color: { + type: String, + default: "#000000", + }, + scale: { + type: String, + default: "0.5", + }, + offsetX: { + type: String, + default: "0", + }, + offsetY: { + type: String, + default: "0", + }, +}); +</script> |