Add "createchannel" endpoint

This commit is contained in:
N-Pex 2024-04-03 09:34:24 +02:00
parent 9ec91b3f2a
commit 0dc449feaa
7 changed files with 331 additions and 25 deletions

View file

@ -1,16 +1,16 @@
@import "@/assets/css/main.scss";
.getlink-root {
.create-root {
background-color: $background;
.getlink-loggedin {
.create-loggedin {
text-align: center;
button {
min-width: 200px !important;
}
}
.getlink-image {
.create-image {
text-align: center;
max-width: 325px;
max-height: 257px;
@ -21,7 +21,18 @@
}
}
.getlink-title {
.create-image-small {
text-align: center;
max-width: 72px;
max-height: 72px;
width: 100%;
.v-icon__component {
width: unset;
height: unset;
}
}
.create-title {
color: #000;
text-align: center;
font-family: "Poppins";
@ -34,7 +45,7 @@
margin-top: 50px;
}
.getlink-info {
.create-info {
color: #000;
text-align: center;
font-feature-settings: "clig" off, "liga" off;
@ -47,7 +58,7 @@
margin: 15px 9px 40px 9px;
}
.getlink-subtitle {
.create-subtitle {
color: #000;
text-align: center;
font-feature-settings: "clig" off, "liga" off;
@ -95,7 +106,7 @@
color: black;
}
.getlink-share {
.create-share {
color: #161616;
text-align: center;
font-family: "Inter";
@ -118,7 +129,7 @@
}
}
.getlink-buttons {
.create-buttons {
display: flex;
align-items: center;
flex-direction: column;

View file

@ -137,7 +137,10 @@
"got_it": "Got it",
"no_past_messages": "Welcome! For your security, past messages are not available.",
"direct_info": "Hi, {you}. Youre in a private chat with {user}.",
"direct_private_chat": "Direct Message"
"direct_private_chat": "Direct Message",
"join_channel": "All set! Invite people to join you: {link}",
"info_retention": "🕓 Messages sent within {time} are viewable by anyone with the link.",
"change": "Change"
},
"new_room": {
"new_room": "New Room",
@ -202,6 +205,14 @@
"share_qr": "Share QR",
"qr_image_copied": "Image copied to clipboard"
},
"createchannel": {
"title": "Create a Channel",
"info": "Broadcast news or knowledge in any format—video, podcast, text, pictures or PDFs.",
"channel_name": "Name your channel",
"channel_topic": "Describe it",
"name_required": "Channel name is required",
"error_channel": "Failed to create channel"
},
"profile": {
"title": "My Profile",
"temporary_identity": "This identity is temporary. Set a password to use it again",