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

> Added the script to allow goto to work in the Alpine.data("addFriendPageState", () => ({})) > > (mb, i accidentally broke it when i switched the header code for my better one; oops :p)

+3 -15
-13
app/src/add-friend-page/add-friend.css
··· 51 51 align-items: center; 52 52 } 53 53 54 - header h1 { 55 - font-size: 1rem; 56 - margin: 0; 57 - } 58 - 59 - header .icon-btn { 60 - border: none; 61 - background: none; 62 - cursor: pointer; 63 - padding: 0.4rem; 64 - font-size: 1rem; 65 - } 66 - 67 54 .content { 68 55 padding: 1rem; 69 56 display: grid;
+3 -2
app/src/add-friend-page/add-friend.ts
··· 38 38 this.my_user_id = await Store.get("user_id"); 39 39 }, 40 40 41 - goBack() { 42 - goto("home"); 41 + goto(newLocation: string) { 42 + goto(newLocation); 43 43 }, 44 44 45 + // <@kishka.cc> TODO: Add a check to make sure the fields are filled out 45 46 async sendFriendRequest() { 46 47 this.is_doing_stuff = true; 47 48 try {