parent
99a6b103fe
commit
55d062cb02
@ -0,0 +1,42 @@
|
||||
import styled from 'styled-components';
|
||||
import { Flex } from './basic/Flex';
|
||||
|
||||
const StyledPlaceholder = styled(Flex)`
|
||||
margin: auto;
|
||||
height: 100%;
|
||||
`;
|
||||
|
||||
const StyledSessionFullLogo = styled(Flex)`
|
||||
img:first-child {
|
||||
height: 180px;
|
||||
filter: brightness(0) saturate(100%) invert(75%) sepia(84%) saturate(3272%) hue-rotate(103deg)
|
||||
brightness(106%) contrast(103%);
|
||||
-webkit-user-drag: none;
|
||||
}
|
||||
|
||||
img:nth-child(2) {
|
||||
margin-top: 10px;
|
||||
width: 250px;
|
||||
transition: 0s;
|
||||
filter: var(--session-logo-text-current-filter);
|
||||
-webkit-user-drag: none;
|
||||
}
|
||||
`;
|
||||
|
||||
export const EmptyMessageView = () => {
|
||||
return (
|
||||
<StyledPlaceholder container={true} alignItems="center">
|
||||
<StyledSessionFullLogo
|
||||
container={true}
|
||||
className="content"
|
||||
flexDirection="column"
|
||||
justifyContent="center"
|
||||
alignItems="center"
|
||||
margin="auto"
|
||||
>
|
||||
<img src="images/session/brand.svg" alt="full-brand-logo" />
|
||||
<img src="images/session/session-text.svg" alt="full-brand-text" />
|
||||
</StyledSessionFullLogo>
|
||||
</StyledPlaceholder>
|
||||
);
|
||||
};
|
@ -1,27 +0,0 @@
|
||||
import { CSSProperties } from 'styled-components';
|
||||
|
||||
export const MessageView = () => {
|
||||
const noDragStyle = { '-webkit-user-drag': 'none' } as CSSProperties;
|
||||
|
||||
return (
|
||||
<div className="conversation placeholder">
|
||||
<div className="conversation-header" />
|
||||
<div className="container">
|
||||
<div className="content session-full-logo">
|
||||
<img
|
||||
src="images/session/brand.svg"
|
||||
className="session-brand-logo"
|
||||
alt="full-brand-logo"
|
||||
style={noDragStyle}
|
||||
/>
|
||||
<img
|
||||
src="images/session/session-text.svg"
|
||||
className="session-text-logo"
|
||||
alt="full-brand-logo"
|
||||
style={noDragStyle}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
Loading…
Reference in New Issue