prune: remove share view as obsolete with new at proto system

This commit is contained in:
Julien Calixte
2026-02-10 20:25:34 +01:00
parent b5282c377f
commit f7133cc01d
2 changed files with 0 additions and 57 deletions

View File

@@ -1,51 +0,0 @@
<script lang="ts" setup>
import { computed, defineAsyncComponent } from 'vue'
import { useFile } from '@/hooks/useFile.hook'
const FluxNote = defineAsyncComponent(() => import('@/components/FluxNote.vue'))
const props = defineProps<{ user: string; repo: string; note: string }>()
const note = computed(() => props.note)
const { content } = useFile(note)
</script>
<template>
<div class="share-notes">
<article class="message is-primary">
<div class="message-body">
You can print this page. It contains every stacked notes.
</div>
</article>
<flux-note
key="share-notes"
class="notes"
:user="user"
:repo="repo"
:content="content"
:with-header="false"
:parse-content="false"
/>
</div>
</template>
<style scoped lang="scss">
.share-notes {
min-width: 100vw;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
article {
margin: 1rem;
}
}
@media print {
article {
display: none;
}
}
</style>