Untitled
unknown
plain_text
2 years ago
1.5 kB
6
Indexable
import styled from 'styled-components'; interface ImgStyleProps { imgSrc: string; } interface ButtonStyleProps { imgSrc: string; } export const Container = styled.div` height: 100vh; `; export const Header = styled.header<ImgStyleProps>` display: flex; flex-direction: column; justify-content: space-between; height: 200px; background-image: url(${(props) => props.imgSrc}); background-size: cover; background-position: center; padding: 2px; `; export const HeaderTitle = styled.label` font-family: Epilogue; font-size: 20px; font-weight: 900; line-height: 21px; letter-spacing: 0.105em; text-align: center; color: #FFFFFF; `; export const IconButton = styled.button<ButtonStyleProps>` height: 20px; width: 20px; background-color: transparent; background-image: url(${(props) => props.imgSrc}); background-size: cover; border: none; cursor: pointer; `; export const LogoHeader = styled.img` height: 34px; width: 118px; `; export const WrapperButtons = styled.div` display: flex; justify-content: space-between; height: 20px; width: 50px; `; export const WrapperIconsFavorite = styled.div` height: 34px; width: 100%; display: flex; justify-content: space-between; align-items: center; `; export const WrapperHeaderTitle = styled.div` display: flex; justify-content: center; height: 60px; width: 100%; `;
Editor is loading...