+
Running in non-production environment: environment="{ environment }", isProd={ isProduction }
{/if}
-
-
-
-
- {#if roomId}
-
- {/if}
-
-
+ {#if roomId}
+
+ {/if}
diff --git a/src/app.scss b/src/app.scss
index 37501f2..ee1411e 100644
--- a/src/app.scss
+++ b/src/app.scss
@@ -17,11 +17,34 @@ html {
background-color: #000;
}
+.glass {
+ border: 1px solid rgba(255, 255, 255, .25);
+ background-color: rgba(255, 255, 255, 0.01);
+ box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
+ backdrop-filter: blur(30px) brightness(70%);
+}
+
.tile {
- border: 1px solid rgb(255 255 255 / .1);
- background-color: #1c1c1c;
- border-radius: 1rem;
+ @extend .glass;
padding: 2rem 1rem;
+ color: white;
+ border-radius: 1rem;
+}
+
+@keyframes hue {
+ from {
+ filter: hue-rotate(0deg);
+ }
+ to {
+ filter: hue-rotate(-360deg);
+ }
+}
+
+.gradient-text {
+ color: transparent !important;
+ background-image: linear-gradient(92deg, #f35626, #feac3a);
+ background-clip: text;
+ animation: hue 5s infinite linear;
}
.video-text {
diff --git a/src/components/card-copy-url.svelte b/src/components/controls/card-copy-url.svelte
similarity index 83%
rename from src/components/card-copy-url.svelte
rename to src/components/controls/card-copy-url.svelte
index 6db0014..5b1fa06 100644
--- a/src/components/card-copy-url.svelte
+++ b/src/components/controls/card-copy-url.svelte
@@ -1,11 +1,12 @@
+
+
+
+
+
🍿 { $_('selectVideo.title') }
+
+
+
+
+
+
+
👥 { $_('invite.title') }
+
+
+
+
+
+
+
+
+ ↻
+ { $_('room.generateNewRoom.button') }
+
+
+
+
+ { $_('room.joinAnotherRoom') }
+ →
+
+
+
+
+
+
+ {#if data.name === 'link'}
+ { data.text }
+ {/if}
+
+
+
+
+
diff --git a/src/components/language-selector.svelte b/src/components/controls/language-selector.svelte
similarity index 79%
rename from src/components/language-selector.svelte
rename to src/components/controls/language-selector.svelte
index 5bd606b..3e97767 100644
--- a/src/components/language-selector.svelte
+++ b/src/components/controls/language-selector.svelte
@@ -1,7 +1,7 @@
+
+{#if visible}
+
+{/if}
+
+
\ No newline at end of file
diff --git a/src/components/header.svelte b/src/components/header.svelte
new file mode 100644
index 0000000..e316e36
--- /dev/null
+++ b/src/components/header.svelte
@@ -0,0 +1,40 @@
+
+
+
+
+{#if display || !isOnline}
+
+{/if}
+
+
\ No newline at end of file
diff --git a/src/components/index.svelte b/src/components/index.svelte
index d3abf21..569914b 100644
--- a/src/components/index.svelte
+++ b/src/components/index.svelte
@@ -1,12 +1,10 @@
{#await init(roomId)}
-
+
{:then room}
-
+
{:catch e}
{ $_('error.description') } 💩
location.reload()}>{ $_('error.reload') }
diff --git a/src/components/room.svelte b/src/components/room.svelte
index 368fc37..bcec87b 100644
--- a/src/components/room.svelte
+++ b/src/components/room.svelte
@@ -1,177 +1,47 @@
-
+
+
+
+
-
-
-
-
-
-
🍿 { $_('selectVideo.title') }
-
-
-
-
-
-
-
-
👥 { $_('invite.title') }
-
-
-
-
-
-
-
-
- ↻
- { $_('room.generateNewRoom.button') }
-
-
-
-
- { $_('room.joinAnotherRoom') }
- →
-
-
-
-
-
-
- {#if data.name === 'link'}
- { data.text }
- {/if}
-
-
+
+
+
diff --git a/src/components/video-player/index.svelte b/src/components/video-player/index.svelte
index dec39f7..2ca7b0d 100644
--- a/src/components/video-player/index.svelte
+++ b/src/components/video-player/index.svelte
@@ -1,6 +1,5 @@