Implement most of the file viewer in svelte

This commit is contained in:
2021-10-26 22:15:01 +02:00
parent a88d83ae30
commit 2ae2993adf
25 changed files with 1700 additions and 136 deletions

View File

@@ -0,0 +1,29 @@
<script>
export let file = {
id: "",
name: "",
abuse_type: "",
abuse_reporter_name: "",
}
</script>
<div class="container">
<h1>Unavailable for legal reasons</h1>
<p>
This file has received an abuse report and was taken down.
</p>
<p>
Type of abuse: {file.abuse_type}. Reporter: {file.abuse_reporter_name}.
</p>
</div>
<style>
.container {
position: relative;
display: block;
height: 100%;
width: 100%;
text-align: center;
overflow: hidden;
}
</style>