Self-hosted, federated location sharing app and server that prioritizes user privacy and security
end-to-end-encryption location-sharing privacy self-hosted federated
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Adds a send pings button which has mock functionality

Catrina 97f59598 42a280cb

+23 -1
+4
app/src/assets/send-plane.svg
··· 1 + <?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools --> 2 + <svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> 3 + <path d="M11 13L15.4564 8.5M11 13L6.38202 9.57695C5.7407 9.07229 5.94107 8.06115 6.72742 7.834L20 4L17.117 15.9189C16.9651 16.6489 16.0892 16.9637 15.5 16.5L13.5 15M11 13V18L13.5 15M11 13L13.5 15M7 20L9 18M4 19L8.5 14.5M4 15L6.5 12.5" stroke="#464455" stroke-linecap="round" stroke-linejoin="round"/> 4 + </svg>
+6
app/src/home-page/home.css
··· 11 11 background: #f9fafb; 12 12 } 13 13 14 + .svg-icon { 15 + width: 25px; 16 + height: 25px; 17 + margin: 0; 18 + } 19 + 14 20 header { 15 21 background: #fff; 16 22 border-bottom: 1px solid #e5e7eb;
+9 -1
app/src/home-page/home.html
··· 12 12 <header> 13 13 <h1>PrivacyPin</h1> 14 14 <div> 15 - <!-- somehow the "+" emoji does not display in the code for me, but it's temporary anyways --> 15 + <!-- <@azom.dev> somehow the "+" emoji does not display in the code for me, but it's temporary anyways --> 16 + <!-- <@kishka.cc> we will need to replace these with svgs, as it's the font that messes up the emoji --> 17 + <button class="icon-btn" @click="updateServer()"> 18 + <img 19 + class="svg-icon" 20 + src="/src/assets/send-plane.svg" 21 + alt="Paperplane Flying Icon" 22 + /> 23 + </button> 16 24 <button class="icon-btn" @click="addFriend()">➕</button> 17 25 <button class="icon-btn" @click="openSettings()">⚙️</button> 18 26 </div>
+4
app/src/home-page/home.ts
··· 23 23 alert(`Options for friend id ${friend_id}`); 24 24 }, 25 25 26 + async updateServer() { 27 + await api.sendPings("123", "3.14159N 3.14159W"); 28 + }, 29 + 26 30 addFriend() { 27 31 alert("Add friend functionality would open here"); 28 32 },