diff --git a/src/assets/config.json b/src/assets/config.json
index 42d5c8e..74739ee 100644
--- a/src/assets/config.json
+++ b/src/assets/config.json
@@ -48,5 +48,6 @@
"experimental_file_mode": true,
"experimental_read_only_room": true,
"experimental_public_room": true,
- "show_status_messages": "never"
+ "show_status_messages": "never",
+ "hide_add_room_on_home": false
}
\ No newline at end of file
diff --git a/src/assets/css/chat.scss b/src/assets/css/chat.scss
index 80ef2cf..650e324 100644
--- a/src/assets/css/chat.scss
+++ b/src/assets/css/chat.scss
@@ -1405,6 +1405,24 @@ body {
transition: opacity 0.3s linear;
}
+.toast-at-bottom {
+ position: fixed;
+ left: 10px;
+ right: 10px;
+ bottom: 10px;
+ background-color: rgba(black, 0.7);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ z-index: 40;
+ color: white;
+ opacity: 0;
+ transition: opacity 0.3s ease-in-out;
+ &.visible {
+ opacity: 1;
+ }
+}
+
.auto-audio-player-root {
position: absolute;
top: 72px;
@@ -1534,18 +1552,6 @@ body {
.mic-button.dimmed {
opacity: 0.5;
}
- .toast-read-only {
- position: fixed;
- left: 10px;
- right: 10px;
- bottom: 10px;
- background-color: rgba(black, 0.7);
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 40;
- color: white;
- }
}
.audio-layout.voice-recorder {
diff --git a/src/assets/css/getlink.scss b/src/assets/css/getlink.scss
new file mode 100644
index 0000000..37074d3
--- /dev/null
+++ b/src/assets/css/getlink.scss
@@ -0,0 +1,82 @@
+@import "@/assets/css/main.scss";
+
+.getlink-root {
+ background-color: $background;
+
+ .getlink-loggedin {
+ text-align: center;
+ button {
+ min-width: 200px !important;
+ }
+ }
+
+ .getlink-title {
+ color: #000;
+ text-align: center;
+ font-family: "Poppins";
+ font-size: 28px;
+ font-style: normal;
+ font-weight: 700;
+ line-height: 108.5%; /* 30.38px */
+ letter-spacing: -0.8px;
+ white-space: pre-line;
+ margin-top: 50px;
+ }
+
+ .getlink-subtitle {
+ color: #000;
+ text-align: center;
+ font-feature-settings: "clig" off, "liga" off;
+ font-family: "Inter";
+ font-size: 16px;
+ font-style: normal;
+ font-weight: 400;
+ line-height: 117%; /* 18.72px */
+ letter-spacing: 0.4px;
+ margin: 13px 20px 18px 20px;
+ }
+
+ .qr-container {
+ flex-direction: column;
+ align-items: stretch;
+
+ border-radius: 18px;
+ border: 1px solid #ededed;
+ background: #fff;
+ box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.07);
+
+ .col:nth-child(1) {
+ border-bottom: 1px solid rgba(0, 0, 0, 0.07);
+ text-align: center;
+ .qr {
+ width: 120px !important;
+ height: 120px !important;
+ }
+ }
+ .public-link {
+ background-color: transparent;
+ border: none !important;
+ text-align: center;
+ }
+ }
+
+ #btn-copy-room-link {
+ background-color: var(--v-primary-base) !important;
+ }
+
+ .link-copied-in-place .v-btn__content {
+ font-family: "Inter", sans-serif !important;
+ font-size: 12px !important;
+ text-transform: none !important;
+ color: black;
+ }
+
+ .getlink-share {
+ position: absolute;
+ right: 20px;
+ bottom: 24px;
+ width: 24px;
+ height: 17px;
+ object-fit: contain;
+ }
+}
diff --git a/src/assets/icons/ic_share.svg b/src/assets/icons/ic_share.svg
new file mode 100644
index 0000000..f0e38d5
--- /dev/null
+++ b/src/assets/icons/ic_share.svg
@@ -0,0 +1,3 @@
+
diff --git a/src/assets/translations/en.json b/src/assets/translations/en.json
index 2c73064..f515341 100644
--- a/src/assets/translations/en.json
+++ b/src/assets/translations/en.json
@@ -188,6 +188,17 @@
"send_token": "Send token",
"token_not_valid": "Invalid token"
},
+ "getlink": {
+ "title": "Get a Direct Link",
+ "password": "Set your password",
+ "password_repeat": "Confirm your password",
+ "create": "Create",
+ "hello": "Hello {user},\nHere’s your Direct Link",
+ "ready_to_share": "It’s ready to share! A new direct room will open each time someone opens the link.",
+ "scan_title": "Scan this code to start a direct chat",
+ "continue": "Continue",
+ "qr_image_copied": "Image copied to clipboard"
+ },
"profile": {
"title": "My Profile",
"temporary_identity": "This identity is temporary. Set a password to use it again",
diff --git a/src/components/AudioLayout.vue b/src/components/AudioLayout.vue
index 24b04d9..df629b3 100644
--- a/src/components/AudioLayout.vue
+++ b/src/components/AudioLayout.vue
@@ -78,7 +78,7 @@
expand_more
-
{{ $t("message.not_allowed_to_send") }}
+ {{ $t("message.not_allowed_to_send") }}
diff --git a/src/components/CopyLink.vue b/src/components/CopyLink.vue
index fcd975a..8cd7f34 100644
--- a/src/components/CopyLink.vue
+++ b/src/components/CopyLink.vue
@@ -7,7 +7,12 @@