first commit
This commit is contained in:
commit
d198332c92
15 files changed
+1125
No files matched your search
+32
@@ -0,0 +1,32 @@
|
||||
<script setup>
|
||||
import { ref } from 'vue';
|
||||
import SendPanel from './components/SendPanel.vue';
|
||||
import ReceivePanel from './components/ReceivePanel.vue';
|
||||
|
||||
const mode = ref('send');
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<h1>HellCon</h1>
|
||||
<p class="subtitle">
|
||||
Peer-to-peer file sharing. No server, no account — files go straight from
|
||||
browser to browser over WebRTC.
|
||||
</p>
|
||||
|
||||
<div class="tabs" style="width: 100%; max-width: 680px">
|
||||
<button :class="{ active: mode === 'send' }" @click="mode = 'send'">Send</button>
|
||||
<button :class="{ active: mode === 'receive' }" @click="mode = 'receive'">Receive</button>
|
||||
</div>
|
||||
|
||||
<SendPanel v-if="mode === 'send'" />
|
||||
<ReceivePanel v-else />
|
||||
|
||||
<footer>
|
||||
<p>
|
||||
All transfers are end-to-end encrypted (WebRTC/DTLS) and never pass
|
||||
through this server — it only delivers this page. Verify the security
|
||||
check codes with your peer to exclude interception. You are responsible
|
||||
for what you send, and for whom you send it to.
|
||||
</p>
|
||||
</footer>
|
||||
</template>
|
||||
Reference in new issue
Block a user