Skip to content

A platform for community discussion. Free, open, simple.

UX: fullscreen desktop and replaces discourse logo (#36661)

Joffrey JAFFEUX76a22d8e71bc
diff --git a/plugins/discourse-rewind/assets/javascripts/discourse/components/reports/header.gjs b/plugins/discourse-rewind/assets/javascripts/discourse/components/reports/header.gjs
index 68857e445d0..0d52af91c30 100644
--- a/plugins/discourse-rewind/assets/javascripts/discourse/components/reports/header.gjs
+++ b/plugins/discourse-rewind/assets/javascripts/discourse/components/reports/header.gjs
@@ -1,5 +1,6 @@
import Component from "@glimmer/component";
import { service } from "@ember/service";
+import icon from "discourse/helpers/d-icon";
import { i18n } from "discourse-i18n";
export default class RewindHeader extends Component {
@@ -8,32 +9,7 @@ export default class RewindHeader extends Component {
<template>
<div class="rewind__header">
<div class="rewind__header-logo">
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -1 104 106">
- <path
- fill="#231f20"
- d="M51.87 0C23.71 0 0 22.83 0 51v52.81l51.86-.05c28.16 0 51-23.71 51-51.87S80 0 51.87 0Z"
- />
- <path
- fill="#fff9ae"
- d="M52.37 19.74a31.62 31.62 0 0 0-27.79 46.67l-5.72 18.4 20.54-4.64a31.61 31.61 0 1 0 13-60.43Z"
- />
- <path
- fill="#00aeef"
- d="M77.45 32.12a31.6 31.6 0 0 1-38.05 48l-20.54 4.7 20.91-2.47a31.6 31.6 0 0 0 37.68-50.23Z"
- />
- <path
- fill="#00a94f"
- d="M71.63 26.29A31.6 31.6 0 0 1 38.8 78l-19.94 6.82 20.54-4.65a31.6 31.6 0 0 0 32.23-53.88Z"
- />
- <path
- fill="#f15d22"
- d="M26.47 67.11a31.61 31.61 0 0 1 51-35 31.61 31.61 0 0 0-52.89 34.3l-5.72 18.4Z"
- />
- <path
- fill="#e31b23"
- d="M24.58 66.41a31.61 31.61 0 0 1 47.05-40.12 31.61 31.61 0 0 0-49 39.63l-3.76 18.9Z"
- />
- </svg>
+ {{icon "repeat"}}
<div class="rewind__header-title">
{{i18n "discourse_rewind.title"}}
</div>
diff --git a/plugins/discourse-rewind/assets/stylesheets/common/rewind.scss b/plugins/discourse-rewind/assets/stylesheets/common/rewind.scss
index 755e27ccbab..852d6c68229 100644
--- a/plugins/discourse-rewind/assets/stylesheets/common/rewind.scss
+++ b/plugins/discourse-rewind/assets/stylesheets/common/rewind.scss
@@ -21,20 +21,9 @@
right: 0;
bottom: 0;
z-index: 9999;
- width: calc(100vw - (100vw - 100%) + 2px);
+ width: 100vw;
height: 100vh;
position: fixed;
- background: rgb(var(--secondary-rgb), 0.5);
- backdrop-filter: blur(4.9px);
- padding: 2em;
-
- .rewind {
- max-width: 1020px;
- }
-
- @media (width <= 768px) {
- padding: 0;
- }
}
}
@@ -46,7 +35,6 @@
width: 100vw;
height: 100vh;
max-height: 100%;
- border-radius: 30px;
container-type: size;
position: relative;
overflow: hidden;