🚧 Remove Header component

This commit is contained in:
2024-05-08 10:27:01 +02:00
parent 4ea4416165
commit 32b633aad6
6 changed files with 0 additions and 73 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

View File

@@ -217,37 +217,3 @@ input {
::selection { ::selection {
background-color: transparent; background-color: transparent;
} }
// TODO: To remove once the design updated.
.aeroButton {
height: 50%;
min-height: 16px;
aspect-ratio: 1;
background-color: transparent;
border: 2px solid transparent;
background-size: contain !important;
margin-right: 1%;
}
.aeroButton:hover {
border-image: url(/public/images/aerobutton_border.png) 2 round;
}
.aeroButton:active {
border-image: url(/public/images/aerobutton_border_down.png) 2 round;
}
.button {
height: 50%;
min-height: 16px;
aspect-ratio: 1;
background-color: transparent;
border: 2px solid transparent;
background-size: contain !important;
margin-right: 1%;
}
.button:hover {
border-image: url(/public/images/button_border.png) 2 round;
}
.button:active {
border-image: url(/public/images/button_border_down.png) 2 round;
}

View File

@@ -1,25 +0,0 @@
use dioxus::prelude::*;
turf::style_sheet!("src/ui/components/header.scss");
pub fn Header() -> Element {
rsx! {
style { {STYLE_SHEET} },
div {
class: ClassName::ROOT,
img {
src: "/public/images/logo-msn.png"
}
svg {
view_box: "0 0 100 10",
text {
y: "55%",
dominant_baseline: "middle",
font_size: "5",
"Windows Live Messenger",
},
},
}
}
}

View File

@@ -1,13 +0,0 @@
.root {
height: 100%;
width: 100%;
display: flex;
img {
height: 100%;
}
svg {
fill: white;
}
}

View File

@@ -2,7 +2,6 @@ pub(crate) mod avatar_selector;
pub(crate) mod button; pub(crate) mod button;
pub(crate) mod chat_panel; pub(crate) mod chat_panel;
pub(crate) mod conversations; pub(crate) mod conversations;
pub(crate) mod header;
pub(crate) mod icons; pub(crate) mod icons;
pub(crate) mod login; pub(crate) mod login;
pub(crate) mod modal; pub(crate) mod modal;