Change icon for 'direct' post visibility

This commit is contained in:
silverpill 2022-01-12 00:14:50 +00:00
parent 89cdcba68b
commit 3857d45b31
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="1536" height="1536" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="m1360.5 1187.7v-592.46c-16.2 18.514-33.943 35.486-53.229 50.914-110.31 84.857-221.4 171.26-328.63 260.74-57.857 48.6-129.6 108-209.83 108h-1.5429c-80.229 0-151.97-59.4-209.83-108-107.23-89.486-218.31-175.89-328.63-260.74-19.286-15.429-37.029-32.4-53.229-50.914v592.46c0 13.114 11.571 24.686 24.686 24.686h1135.5c13.115 0 24.686-11.571 24.686-24.686zm0-810.77c0-19.286 4.6286-53.229-24.686-53.229h-1135.5c-13.114 0-24.686 11.571-24.686 24.686 0 87.943 43.971 164.31 113.4 219.09 103.37 81 206.74 162.77 309.34 244.54 40.886 33.171 114.94 104.14 168.94 104.14h1.5429c54 0 128.06-70.971 168.94-104.14 102.6-81.771 205.97-163.54 309.34-244.54 50.143-39.343 113.4-124.97 113.4-190.54zm98.739-28.543v839.31c0 67.886-55.543 123.43-123.43 123.43h-1135.5c-67.886 0-123.43-55.543-123.43-123.43v-839.31c0-67.886 55.543-123.43 123.43-123.43h1135.5c67.886 0 123.43 55.543 123.43 123.43z" stroke-width=".77143"/></svg>

After

Width:  |  Height:  |  Size: 1 KiB

View file

@ -1,6 +1,6 @@
<template> <template>
<img v-if="visibility === 'public'" :src="require('@/assets/feather/globe.svg')"> <img v-if="visibility === 'public'" :src="require('@/assets/feather/globe.svg')">
<img v-else-if="visibility === 'direct'" :src="require('@/assets/feather/lock.svg')"> <img v-else-if="visibility === 'direct'" :src="require('@/assets/forkawesome/envelope-o.svg')">
</template> </template>
<script setup lang="ts"> <script setup lang="ts">