File tree Expand file tree Collapse file tree
src/search/components/product-modal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,35 @@ const Header = styled.header`
4747
4848const ScoreRow = styled . div `
4949 margin-bottom: 1.25em;
50+
51+ @media ${ Device . mobile } {
52+ margin-bottom: 0.8em;
53+ }
54+ ` ;
55+
56+ const FriendBanner = styled . div `
57+ background: #ffe3e3;
58+ color: #c10028;
59+ padding: 10px 0;
60+ text-align: center;
61+ font-weight: 600;
62+ border-radius: 8px;
63+ display: flex;
64+ justify-content: space-between;
65+ align-items: center;
66+ padding-left: 20px;
67+ padding-right: 20px;
68+ margin-bottom: ${ margin . small } ;
69+
70+ @media ${ Device . mobile } {
71+ font-size: 12px;
72+ padding: 8px 10px;
73+ gap: 6px;
74+
75+ span {
76+ font-size: 14px;
77+ }
78+ }
5079` ;
5180
5281const ScoreLabel = styled . div `
@@ -153,6 +182,9 @@ export const ProductDetails: React.FC<IProductDetails> = ({ product }) => {
153182 const registeredProperty = getPropertiesFromManufacturer ( manufacturer , PolishPropertyName . REGISTERED ) ;
154183 const notGlobalProperty = getPropertiesFromManufacturer ( manufacturer , PolishPropertyName . NOT_GLOBAL ) ;
155184 const capitalProperty = getPropertiesFromManufacturer ( manufacturer , PolishPropertyName . CAPITAL ) ;
185+ const isFriend = ! ! manufacturer . is_friend ;
186+
187+ const isVerified = product . manufacturer . plScore !== null && product . manufacturer . plScore !== undefined ;
156188
157189 return (
158190 < DetailsContainer >
You can’t perform that action at this time.
0 commit comments