Merge pull request 'develop' (#1) from develop into master

Reviewed-on: #1
This commit is contained in:
PATRICK DE SOUZA SILVA 2023-02-11 02:49:45 +00:00
commit 1bea1d6dbd
54 changed files with 2140 additions and 917 deletions

BIN
assets/logo-m3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

BIN
assets/logo-vtex.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -15,7 +15,6 @@
"postreleasy": "vtex publish --verbose"
},
"dependencies": {
"agenciamagma.store-theme": "5.x",
"vtex.store": "2.x",
"vtex.store-header": "2.x",
"vtex.product-summary": "2.x",
@ -66,7 +65,8 @@
"vtex.tab-layout": "0.x",
"vtex.condition-layout": "2.x",
"vtex.css-handles": "1.x",
"vtex.product-context": "0.x"
"vtex.product-context": "0.x",
"vtex.list-context": "0.x"
},
"$schema": "https://raw.githubusercontent.com/vtex/node-vtex-api/master/gen/manifest.schema"
}

View File

@ -1,3 +0,0 @@
import Example from "./components/Example/Example";
export default Example;

38
react/assets/pix.svg Normal file
View File

@ -0,0 +1,38 @@
<svg width="66" height="25" viewBox="0 0 66 25" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_14553_8758)">
<path d="M27.2383 22.5291V8.76401C27.2383 7.54791 27.7106 6.38162 28.5512 5.52171C29.3918 4.6618 30.532 4.17871 31.7209 4.17871L35.6936 4.18438C36.8793 4.18682 38.0157 4.67041 38.8533 5.52902C39.6908 6.38762 40.1611 7.55107 40.1609 8.76401V11.6933C40.1609 12.9095 39.6887 14.0758 38.848 14.9359C38.0074 15.7959 36.8673 16.2791 35.6783 16.2793H30.0632" stroke="#939598" stroke-width="0.545336" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M41.2734 4.17773H42.9969C43.4849 4.17773 43.9529 4.37602 44.2979 4.72897C44.6429 5.08191 44.8368 5.56061 44.8368 6.05975V16.3414" stroke="#939598" stroke-width="0.545336" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M44.4659 2.58511L43.6845 1.78511C43.6384 1.73799 43.6018 1.68204 43.5769 1.62046C43.5519 1.55888 43.5391 1.49287 43.5391 1.4262C43.5391 1.35954 43.5519 1.29353 43.5769 1.23195C43.6018 1.17037 43.6384 1.11442 43.6845 1.0673L44.4659 0.268012C44.5591 0.172687 44.6856 0.119141 44.8174 0.119141C44.9493 0.119141 45.0757 0.172687 45.169 0.268012L45.9497 1.0673C45.9958 1.11442 46.0323 1.17037 46.0573 1.23195C46.0822 1.29353 46.0951 1.35954 46.0951 1.4262C46.0951 1.49287 46.0822 1.55888 46.0573 1.62046C46.0323 1.68204 45.9958 1.73799 45.9497 1.78511L45.1655 2.58511C45.1194 2.63228 45.0646 2.66971 45.0044 2.69524C44.9441 2.72078 44.8795 2.73392 44.8143 2.73392C44.7491 2.73392 44.6845 2.72078 44.6242 2.69524C44.564 2.66971 44.5092 2.63228 44.4631 2.58511" fill="#32BCAD"/>
<path d="M48.1445 4.16895H49.8535C50.7325 4.16857 51.5757 4.52541 52.1976 5.16097L56.1953 9.25026C56.3184 9.3763 56.4645 9.47629 56.6254 9.54452C56.7863 9.61274 56.9587 9.64785 57.1329 9.64785C57.307 9.64785 57.4795 9.61274 57.6404 9.54452C57.8012 9.47629 57.9474 9.3763 58.0705 9.25026L62.0536 5.17656C62.3613 4.86182 62.7267 4.61221 63.1288 4.44199C63.5309 4.27177 63.9619 4.18429 64.3971 4.18453H65.7866" stroke="#939598" stroke-width="0.545336" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M48.1445 16.2518H49.8535C50.7325 16.2521 51.5757 15.8952 52.1976 15.2597L56.1953 11.1704C56.444 10.9162 56.7813 10.7734 57.1329 10.7734C57.4845 10.7734 57.8217 10.9162 58.0705 11.1704L62.0536 15.2449C62.6753 15.8803 63.5182 16.2371 64.3971 16.2369H65.7866" stroke="#939598" stroke-width="0.545336" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M17.05 18.8639C16.6284 18.8655 16.2106 18.7816 15.8209 18.617C15.4311 18.4525 15.0771 18.2105 14.7793 17.9052L11.4993 14.5479C11.3833 14.4344 11.229 14.3711 11.0684 14.3711C10.9079 14.3711 10.7536 14.4344 10.6376 14.5479L7.34647 17.9144C7.04884 18.2202 6.69493 18.4626 6.30518 18.6276C5.91543 18.7927 5.49757 18.8771 5.07574 18.876H4.43359L8.5899 23.1275C9.21326 23.7638 10.0579 24.1212 10.9386 24.1212C11.8192 24.1212 12.6638 23.7638 13.2872 23.1275L17.4518 18.8668L17.05 18.8639Z" fill="#32BCAD"/>
<path d="M5.07644 6.99927C5.49827 6.99812 5.91614 7.0825 6.30589 7.24755C6.69565 7.41259 7.04956 7.65502 7.34716 7.96083L10.6383 11.3281C10.7527 11.4447 10.9076 11.5102 11.0691 11.5102C11.2307 11.5102 11.3856 11.4447 11.5 11.3281L14.7793 7.97358C15.0767 7.6674 15.4305 7.42467 15.8203 7.25948C16.2101 7.0943 16.6281 7.00994 17.0501 7.01131H17.4449L13.2803 2.75126C12.9719 2.43569 12.6057 2.18535 12.2028 2.01456C11.7998 1.84377 11.3678 1.75586 10.9316 1.75586C10.4954 1.75586 10.0635 1.84377 9.66049 2.01456C9.2575 2.18535 8.89136 2.43569 8.58297 2.75126L4.43359 6.99927H5.07644Z" fill="#32BCAD"/>
<path d="M20.8892 10.5358L18.3726 7.96153C18.3158 7.98526 18.2552 7.99777 18.1938 7.99838H17.0495C16.454 7.9999 15.8831 8.24182 15.4611 8.67154L12.1817 12.0239C11.8864 12.3254 11.4862 12.4948 11.0689 12.4948C10.6516 12.4948 10.2514 12.3254 9.95605 12.0239L6.66426 8.65879C6.2423 8.22881 5.67145 7.98663 5.07586 7.98492H3.67103C3.61313 7.98358 3.55591 7.97183 3.502 7.9502L0.969429 10.5358C0.347392 11.1735 -0.00195312 12.0375 -0.00195312 12.9383C-0.00195312 13.8391 0.347392 14.7032 0.969429 15.3408L3.49646 17.9257C3.55026 17.9037 3.60754 17.8919 3.66548 17.891H5.07586C5.67144 17.8892 6.24226 17.6471 6.66426 17.2172L9.95535 13.8506C10.5504 13.2427 11.5874 13.2427 12.1817 13.8506L15.4611 17.2044C15.8831 17.6341 16.454 17.876 17.0495 17.8776H18.1938C18.2552 17.878 18.3159 17.8905 18.3726 17.9144L20.8892 15.3401C21.1977 15.0246 21.4424 14.6501 21.6094 14.2379C21.7764 13.8257 21.8623 13.3838 21.8623 12.9376C21.8623 12.4914 21.7764 12.0496 21.6094 11.6374C21.4424 11.2251 21.1977 10.8506 20.8892 10.5351" fill="#32BCAD"/>
<path d="M30.6567 21.3593C30.4487 21.3686 30.2422 21.4007 30.0409 21.455V22.294C30.1949 22.3492 30.357 22.377 30.5202 22.3762C30.9317 22.3762 31.1264 22.2344 31.1264 21.8638C31.1264 21.5152 30.9671 21.3593 30.6567 21.3593ZM29.9023 22.9182V21.258H30.0153L30.027 21.3289C30.2369 21.2718 30.4518 21.2364 30.6685 21.2233C30.8187 21.2125 30.9677 21.2567 31.089 21.348C31.2275 21.4656 31.2746 21.6555 31.2746 21.8624C31.2746 22.0693 31.2053 22.2833 31.0114 22.396C30.8634 22.4715 30.6995 22.5088 30.5341 22.5044C30.3669 22.5033 30.2007 22.4773 30.0409 22.4272V22.9154L29.9023 22.9182Z" fill="#939598"/>
<path d="M32.3051 21.3543C31.8943 21.3543 31.7107 21.4861 31.7107 21.8567C31.7107 22.2145 31.8915 22.3761 32.3051 22.3761C32.7186 22.3761 32.8974 22.2457 32.8974 21.8758C32.8974 21.518 32.7166 21.3543 32.3051 21.3543ZM32.8343 22.3761C32.6958 22.4767 32.5143 22.5057 32.3051 22.5057C32.0959 22.5057 31.9082 22.4746 31.7745 22.3761C31.6242 22.2677 31.5625 22.0926 31.5625 21.8666C31.5625 21.6406 31.6242 21.4648 31.7745 21.3543C31.9082 21.2558 32.0917 21.2246 32.3051 21.2246C32.5184 21.2246 32.6979 21.2558 32.8343 21.3543C32.9867 21.4648 33.0456 21.6448 33.0456 21.8638C33.0456 22.0827 32.9846 22.2677 32.8343 22.3761Z" fill="#939598"/>
<path d="M34.7809 22.4716L34.3223 21.4647H34.3133L33.8617 22.4716H33.7349L33.25 21.2578H33.4024L33.809 22.2768H33.8187L34.2607 21.2578H34.3874L34.8405 22.2768H34.8502L35.2471 21.2578H35.3974L34.9084 22.4716H34.7809Z" fill="#939598"/>
<path d="M36.2814 21.351C35.9004 21.351 35.7715 21.5246 35.748 21.7762H36.8148C36.803 21.4998 36.6644 21.351 36.2814 21.351ZM36.2765 22.5053C36.0486 22.5053 35.9004 22.4713 35.7826 22.3707C35.6441 22.2481 35.5977 22.0703 35.5977 21.8662C35.5977 21.6621 35.6607 21.4644 35.8186 21.3468C35.9568 21.2579 36.1184 21.2151 36.2814 21.2242C36.4475 21.2139 36.6128 21.2549 36.7559 21.3418C36.927 21.4595 36.9602 21.6664 36.9602 21.9016H35.7445C35.7494 22.1518 35.829 22.3728 36.2897 22.3728C36.4956 22.3673 36.7008 22.3436 36.9027 22.302V22.4295C36.6974 22.4727 36.4888 22.4976 36.2793 22.5039" fill="#939598"/>
<path d="M37.3594 22.4712V21.2574H37.4716L37.4834 21.3282C37.7348 21.263 37.8526 21.2227 38.0736 21.2227H38.0902V21.3573H38.0569C37.8713 21.3573 37.7584 21.3835 37.4979 21.4529V22.4698L37.3594 22.4712Z" fill="#939598"/>
<path d="M38.8946 21.351C38.5143 21.351 38.3848 21.5246 38.3613 21.7762H39.428C39.4163 21.4998 39.2777 21.351 38.8946 21.351ZM38.8898 22.5053C38.6619 22.5053 38.5144 22.4713 38.3966 22.3707C38.258 22.2481 38.2109 22.0703 38.2109 21.8662C38.2109 21.6621 38.2747 21.4644 38.4319 21.3468C38.5701 21.2581 38.7317 21.2153 38.8946 21.2242C39.0608 21.2139 39.2261 21.2549 39.3692 21.3418C39.541 21.4595 39.577 21.6664 39.577 21.9016H38.3564C38.3613 22.1518 38.4409 22.3728 38.9016 22.3728C39.1078 22.3673 39.3131 22.3436 39.5153 22.302V22.4295C39.31 22.4727 39.1014 22.4976 38.8919 22.5039" fill="#939598"/>
<path d="M41.0931 21.4356C40.939 21.3806 40.7769 21.353 40.6137 21.3541C40.2023 21.3541 40.0076 21.4958 40.0076 21.8664C40.0076 22.2171 40.1676 22.3709 40.4773 22.3709C40.6852 22.361 40.8915 22.3295 41.0931 22.2767V21.4356ZM41.1194 22.4715L41.107 22.4007C40.8972 22.4583 40.6823 22.4939 40.4655 22.5069C40.3151 22.5185 40.1657 22.474 40.045 22.3815C39.9065 22.2639 39.8594 22.074 39.8594 21.8678C39.8594 21.651 39.9286 21.4469 40.1226 21.3363C40.2708 21.259 40.4357 21.221 40.602 21.2258C40.7683 21.2282 40.9336 21.2539 41.0931 21.3023V20.7461H41.2316V22.4715H41.1194Z" fill="#939598"/>
<path d="M43.2641 21.359C43.0561 21.3683 42.8497 21.4004 42.6483 21.4547V22.2915C42.802 22.3483 42.9643 22.3769 43.1277 22.3759C43.5391 22.3759 43.7338 22.2341 43.7338 21.8635C43.7338 21.5149 43.5745 21.359 43.2641 21.359ZM43.6188 22.3971C43.471 22.4726 43.3074 22.5098 43.1422 22.5055C42.9615 22.5044 42.7821 22.4735 42.6109 22.4141L42.604 22.4715H42.5098V20.7461H42.6483V21.325C42.8539 21.2712 43.0641 21.2375 43.2759 21.2244C43.4261 21.2136 43.5751 21.2578 43.6964 21.3491C43.8349 21.4667 43.882 21.6566 43.882 21.8635C43.882 22.0705 43.8128 22.2844 43.6188 22.3971Z" fill="#939598"/>
<path d="M44.0663 22.9359V22.8041C44.1356 22.8112 44.1979 22.8162 44.2423 22.8162C44.4141 22.8162 44.5194 22.7652 44.6136 22.566L44.6586 22.4697L44.0352 21.2559H44.1959L44.7272 22.3039H44.7362L45.2412 21.2559H45.3991L44.7313 22.6192C44.6094 22.8665 44.4778 22.948 44.2354 22.948C44.1781 22.9477 44.121 22.9437 44.0642 22.9359" fill="#939598"/>
<path d="M47.3137 21.779H46.8538V22.2041H47.3137C47.631 22.2041 47.7509 22.168 47.7509 21.9915C47.7509 21.8016 47.586 21.779 47.311 21.779H47.3137ZM47.2279 21.093H46.8524V21.5253H47.2306C47.543 21.5253 47.6677 21.487 47.6677 21.307C47.6677 21.1143 47.5098 21.0945 47.2279 21.0945V21.093ZM47.9427 22.3614C47.773 22.472 47.5687 22.4762 47.1953 22.4762H46.4922V20.8252H47.1787C47.5008 20.8252 47.6982 20.8294 47.8624 20.9308C47.9169 20.964 47.9613 21.0123 47.9904 21.07C48.0196 21.1277 48.0323 21.1927 48.0272 21.2574C48.0272 21.4303 47.958 21.5458 47.773 21.6231V21.6323C47.9808 21.6805 48.1138 21.7889 48.1138 22.022C48.119 22.0886 48.1057 22.1553 48.0755 22.2145C48.0452 22.2737 47.9992 22.3229 47.9427 22.3565" fill="#939598"/>
<path d="M49.5179 21.9618C49.3793 21.9498 49.2408 21.9427 49.0905 21.9427C48.8487 21.9427 48.7635 21.993 48.7635 22.1064C48.7635 22.2197 48.8328 22.2693 49.0198 22.2693C49.1878 22.2637 49.3548 22.2399 49.5179 22.1985V21.9618ZM49.5872 22.4713L49.5781 22.4004C49.3681 22.461 49.1519 22.4967 48.9339 22.5067C48.808 22.5154 48.6824 22.4842 48.5744 22.4174C48.528 22.3776 48.4919 22.3265 48.4695 22.2689C48.447 22.2113 48.4389 22.1489 48.4457 22.0873C48.4526 22.0257 48.4742 21.9668 48.5088 21.9158C48.5433 21.8649 48.5897 21.8235 48.6437 21.7953C48.7684 21.7351 48.9353 21.7301 49.0884 21.7301C49.2124 21.7301 49.3793 21.7372 49.5179 21.7471V21.7251C49.5179 21.5352 49.396 21.4729 49.0621 21.4729C48.9332 21.4729 48.7753 21.48 48.625 21.4941V21.249C48.7919 21.2348 48.9803 21.2256 49.1355 21.2256C49.3433 21.2256 49.556 21.2419 49.6897 21.3383C49.8234 21.4346 49.8518 21.5742 49.8518 21.7542V22.4727L49.5872 22.4713Z" fill="#939598"/>
<path d="M51.399 22.4717V21.8021C51.399 21.581 51.2888 21.5016 51.0914 21.5016C50.9275 21.5091 50.7649 21.5347 50.6065 21.5781V22.4724H50.2754V21.2579H50.5455L50.5573 21.3351C50.7639 21.2729 50.9768 21.2358 51.1919 21.2246C51.3379 21.2126 51.483 21.2571 51.5985 21.3493C51.692 21.4357 51.7273 21.5562 51.7273 21.7291V22.4717H51.399Z" fill="#939598"/>
<path d="M52.6648 22.5057C52.5117 22.5057 52.3448 22.4838 52.2229 22.3782C52.0774 22.2577 52.0352 22.0685 52.0352 21.8638C52.0352 21.6717 52.0961 21.462 52.2769 21.3444C52.4252 21.2459 52.608 21.2246 52.7985 21.2246C52.9371 21.2246 53.0687 21.2338 53.2142 21.248V21.508C53.0943 21.496 52.9509 21.4868 52.8359 21.4868C52.5207 21.4868 52.3725 21.5874 52.3725 21.8666C52.3725 22.1281 52.4833 22.2414 52.7417 22.2414C52.9092 22.2358 53.0759 22.215 53.2398 22.1791V22.4285C53.0502 22.4737 52.8567 22.4995 52.6621 22.5057" fill="#939598"/>
<path d="M54.2203 21.479C53.9051 21.479 53.7666 21.5803 53.7666 21.8567C53.7666 22.133 53.9051 22.2506 54.2203 22.2506C54.5355 22.2506 54.6692 22.1522 54.6692 21.8758C54.6692 21.5995 54.5355 21.479 54.2203 21.479ZM54.7891 22.3782C54.6436 22.4788 54.4531 22.5057 54.2203 22.5057C53.9876 22.5057 53.7929 22.4767 53.6495 22.3782C53.4847 22.2677 53.4258 22.0848 53.4258 21.8666C53.4258 21.6483 53.4847 21.462 53.6495 21.3514C53.7929 21.253 53.9827 21.2246 54.2203 21.2246C54.4579 21.2246 54.6436 21.253 54.7891 21.3514C54.9532 21.462 55.01 21.6476 55.01 21.8638C55.01 22.0799 54.9511 22.2677 54.7891 22.3782Z" fill="#939598"/>
<path d="M56.9229 22.5061C56.7234 22.5061 56.5073 22.4721 56.3452 22.3353C56.1526 22.1716 56.0938 21.9194 56.0938 21.648C56.0938 21.4049 56.1693 21.1165 56.42 20.9486C56.6154 20.8189 56.8571 20.792 57.1017 20.792C57.2804 20.792 57.4639 20.804 57.6634 20.821V21.1165C57.4923 21.1024 57.2804 21.0903 57.1162 21.0903C56.6576 21.0903 56.463 21.2682 56.463 21.648C56.463 22.0278 56.6438 22.2078 56.9818 22.2078C57.2234 22.1992 57.4636 22.1662 57.6988 22.1093V22.4026C57.4441 22.4628 57.1842 22.4975 56.9229 22.5061Z" fill="#939598"/>
<path d="M58.673 21.4409C58.3959 21.4409 58.292 21.5422 58.2705 21.7243H59.0699C59.0602 21.5273 58.9473 21.4409 58.673 21.4409ZM58.6231 22.5038C58.4284 22.5038 58.2518 22.4797 58.1202 22.3692C57.9886 22.2586 57.9297 22.0687 57.9297 21.8618C57.9297 21.6769 57.9886 21.47 58.1534 21.3495C58.2989 21.2439 58.4846 21.2227 58.673 21.2227C58.842 21.2227 59.0415 21.2418 59.187 21.3452C59.3775 21.482 59.3948 21.6939 59.3948 21.9433H58.2684C58.2754 22.1289 58.3716 22.2487 58.7055 22.2487C58.9176 22.244 59.129 22.2231 59.338 22.1863V22.4244C59.1021 22.4702 58.8631 22.4968 58.6231 22.5038Z" fill="#939598"/>
<path d="M60.8697 22.4717V21.8021C60.8697 21.581 60.7595 21.5016 60.5621 21.5016C60.3982 21.5091 60.2357 21.5347 60.0772 21.5781V22.4724H59.7461V21.2579H60.0163L60.028 21.3351C60.2346 21.2729 60.4475 21.2358 60.6626 21.2246C60.8086 21.2126 60.9537 21.2571 61.0692 21.3493C61.1627 21.4357 61.198 21.5562 61.198 21.7291V22.4717H60.8697Z" fill="#939598"/>
<path d="M62.1438 22.5052C61.9837 22.5052 61.8383 22.4592 61.7586 22.3316C61.6933 22.2214 61.6628 22.0932 61.6713 21.9646V21.5097H61.4316V21.2574H61.6713L61.7067 20.8896H61.999V21.2574H62.4666V21.5097H61.999V21.8994C61.9946 21.9778 62.0056 22.0564 62.0315 22.1304C62.0669 22.2119 62.1444 22.2431 62.2483 22.2431C62.3278 22.2416 62.4071 22.2335 62.4853 22.219V22.462C62.3725 22.487 62.2577 22.5015 62.1424 22.5052" fill="#939598"/>
<path d="M62.791 22.4714V21.2576H63.0612L63.073 21.3348C63.2625 21.269 63.4604 21.2317 63.6604 21.2243C63.6744 21.2234 63.6886 21.2234 63.7026 21.2243V21.5183C63.6652 21.5183 63.6202 21.5183 63.5876 21.5183C63.4305 21.519 63.2741 21.5399 63.1221 21.5807V22.4771L62.791 22.4714Z" fill="#939598"/>
<path d="M64.9084 21.9618C64.7698 21.9498 64.6313 21.9427 64.4803 21.9427C64.2385 21.9427 64.154 21.993 64.154 22.1064C64.154 22.2197 64.2233 22.2693 64.4096 22.2693C64.5778 22.2637 64.745 22.2399 64.9084 22.1985V21.9618ZM64.9776 22.4713L64.9679 22.4004C64.7579 22.461 64.5417 22.4967 64.3237 22.5067C64.1978 22.5154 64.0722 22.4842 63.9642 22.4174C63.9205 22.3832 63.8857 22.3386 63.8628 22.2875C63.8398 22.2363 63.8295 22.1802 63.8326 22.1241C63.8294 22.055 63.8468 21.9865 63.8826 21.9278C63.9183 21.869 63.9707 21.8228 64.0328 21.7953C64.1575 21.7351 64.3237 21.7301 64.4768 21.7301C64.6015 21.7301 64.7684 21.7372 64.907 21.7471V21.7251C64.907 21.5352 64.7844 21.4729 64.4512 21.4729C64.3216 21.4729 64.1644 21.48 64.0141 21.4941V21.249C64.181 21.2348 64.3687 21.2256 64.5239 21.2256C64.7317 21.2256 64.9444 21.2419 65.0781 21.3383C65.2118 21.4346 65.2402 21.5742 65.2402 21.7542V22.4727L64.9776 22.4713Z" fill="#939598"/>
<path d="M65.6641 20.7461H65.9959V22.4715H65.6641V20.7461Z" fill="#939598"/>
</g>
<defs>
<clipPath id="clip0_14553_8758">
<rect width="66" height="24" fill="white" transform="translate(0 0.119141)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1,9 +0,0 @@
import React from 'react'
const Example = () => {
return (
<div>Example</div>
)
}
export default Example

View File

@ -0,0 +1,33 @@
import React from 'react'
import { useProduct } from 'vtex.product-context'
import styles from './styles.module.css'
const Pix = () => {
const product = useProduct()
const paymentMethods = product?.selectedItem?.sellers[0].commertialOffer.Installments
const [pricePix] = paymentMethods?.filter(paymentMethod => paymentMethod.Name === 'Pix à vista' && paymentMethod) ?? []
const originalPrice = product?.selectedItem?.sellers[0].commertialOffer.Price ?? 0
const priceToPix = pricePix.Value
const discount = originalPrice - priceToPix
const discountPercentage = ((discount / originalPrice) * 100).toFixed(2)
const formatter = new Intl.NumberFormat('pt-BR', {
style: 'currency',
currency: 'BRL',
maximumFractionDigits: 1
});
return (
<div className={styles['pix-container']}>
<div className='pix-image-wrapper'>
<img className='pix-image' src="https://agenciamagma.vteximg.com.br/arquivos/pix-icon-sauloklein-m3academy.svg" alt="Pix" />
</div>
<div className='pix-description-wrapper'>
<span className='pix-priceToPix' >{formatter.format(priceToPix)}</span>
{discount > 0 && <span className='pix-discount'>{discountPercentage}% de desconto</span>}
</div>
</div>
)
}
export default Pix

View File

@ -0,0 +1,7 @@
/* .pix-container {
display: flex;
margin-top: 8px;
}
.pix-image {
margin-right: 26px !important;
} */

3
react/pix.ts Normal file
View File

@ -0,0 +1,3 @@
import Pix from "./components/Pix";
export default Pix;

View File

@ -0,0 +1,86 @@
{
"flex-layout.row#footer-1-desktop": {
"children": [
"vtex.menu@2.x:menu#link-1",
"vtex.menu@2.x:menu#link-2",
"footer-spacer",
"vtex.menu@2.x:menu#link-3",
"footer-spacer",
"flex-layout.row#footer-social"
],
"props": {
"blockClass": "menu-row-wrapper",
"paddingTop": 6,
"paddingBottom": 3
}
},
"flex-layout.row#footer-social": {
"children": [
"flex-layout.col#footer-social",
"flex-layout.col#footer-payment"
],
"props": {
"blockClass": "menu-row-wrapper",
"paddingTop": 6,
"paddingBottom": 3
}
},
"flex-layout.col#footer-social": {
"children": ["rich-text#footer-social", "social-networks"],
"props": {
"blockClass": "menu-row-wrapper",
"paddingTop": 6,
"paddingBottom": 3
}
},
"rich-text#footer-social": {
"props": {
"text": "## Nos siga",
"blockClass": "menu-row-newsletter-title"
}
},
"rich-text#footer-social-payments": {
"props": {
"text": "## Formas de pagamento",
"blockClass": "menu-row-newsletter-title"
}
},
"flex-layout.col#footer-payment": {
"children": [
"rich-text#footer-social-payments",
"accepted-payment-methods"
],
"props": {
"blockClass": "menu-row-wrapper",
"paddingTop": 6,
"paddingBottom": 3
}
},
"social-networks": {
"props": {
"socialNetworks": [
{
"name": "Facebook",
"url": "https://www.facebook.com/vtexonline/"
},
{
"name": "Instagram",
"url": "https://www.instagram.com/vtextruecloud/"
},
{
"name": "Twitter",
"url": "https://twitter.com/vtexonline"
},
{
"name": "Youtube",
"url": "https://www.youtube.com/user/VTEXTV"
}
]
}
},
"accepted-payment-methods": {
"props": {
"paymentMethods": ["MasterCard", "Visa", "Diners Club"]
}
}
}

View File

@ -0,0 +1,20 @@
{
"flex-layout.row#footer-2-desktop": {
"children": ["rich-text#footer-copyright", "rich-text#footer-powered"],
"props": {
"blockClass": "footer-credits"
}
},
"rich-text#footer-copyright": {
"props": {
"text": "**Copyright © 2022 M3 Academy. Todos os direitos reservados.** \n R. Helena Coutinho, 41 - Braunes - Nova Friburgo - RJ \n CNPJ: 12.345.678.0009-10",
"blockClass": "footer-copyright"
}
},
"rich-text#footer-powered": {
"props": {
"text": "Powered by [![vtex](assets/logo-vtex.png)](/test) Developed by [![vtex](assets/logo-m3.png)](/test)",
"blockClass": "footer-powered-by"
}
}
}

View File

@ -0,0 +1,22 @@
{
"flex-layout.row#footer-newsletter": {
"children": ["rich-text#footer-newsletter", "newsletter"],
"props": {
"blockClass": "menu-row-newsletter",
"paddingTop": 6,
"paddingBottom": 3
}
},
"rich-text#footer-newsletter": {
"props": {
"text": "## Assine nossa newsletter \n Receba ofertas e novidades por e-mail",
"blockClass": "menu-row-newsletter-title"
}
},
"newsletter": {
"props": {
"blockClass": "menu-row-label-newsletter",
"hideLabel": true
}
}
}

View File

@ -1,127 +0,0 @@
{
"footer": {
"blocks": [
"footer-layout.desktop",
"footer-layout.mobile"
]
},
"footer-layout.desktop": {
"children": [
"flex-layout.row#footer-1-desktop",
"flex-layout.row#footer-2-desktop",
"flex-layout.row#footer-3-desktop"
]
},
"flex-layout.row#footer-1-desktop": {
"children": [
"vtex.menu@2.x:menu#Products",
"vtex.menu@2.x:menu#footer-clothing",
"vtex.menu@2.x:menu#footer-decoration",
"vtex.menu@2.x:menu#footer-bags",
"footer-spacer",
"social-networks"
],
"props": {
"blockClass": "menu-row",
"paddingTop": 6,
"paddingBottom": 3
}
},
"social-networks": {
"props": {
"socialNetworks": [
{
"name": "Facebook",
"url": "https://www.facebook.com/vtexonline/"
},
{
"name": "Instagram",
"url": "https://www.instagram.com/vtextruecloud/"
},
{
"name": "Twitter",
"url": "https://twitter.com/vtexonline"
},
{
"name": "Youtube",
"url": "https://www.youtube.com/user/VTEXTV"
}
]
}
},
"flex-layout.row#footer-2-desktop": {
"children": [
"accepted-payment-methods"
],
"props": {
"blockClass": "payment-methods"
}
},
"accepted-payment-methods": {
"props": {
"paymentMethods": [
"MasterCard",
"Visa",
"Diners Club"
]
}
},
"flex-layout.row#footer-3-desktop": {
"children": [
"rich-text#footer"
],
"props": {
"blockClass": "credits"
}
},
"rich-text#footer": {
"props": {
"text": "All stock and product photos are from photos.icons8.com",
"blockClass": "footer"
}
},
"footer-layout.mobile": {
"children": [
"flex-layout.row#1-footer-mobile",
"flex-layout.row#2-footer-mobile"
]
},
"flex-layout.row#2-footer-mobile": {
"children": [
"flex-layout.col#footer-1-mobile"
],
"props": {
"blockClass": "payment-methods",
"paddingTop": 4,
"paddingBottom": 4
}
},
"flex-layout.col#footer-1-mobile": {
"children": [
"accepted-payment-methods",
"social-networks",
"rich-text#footer-mobile"
],
"props": {
"blockClass": "payment-methods",
"paddingTop": 4,
"paddingBottom": 4,
"rowGap": 4
}
},
"flex-layout.row#1-footer-mobile": {
"props": {
"paddingTop": 4,
"paddingBottom": 4
},
"children": [
"vtex.menu@2.x:menu#footer-mobile"
]
},
"rich-text#footer-mobile": {
"props": {
"text": "All stock and product photos are from photos.icons8.com",
"blockClass": "footer"
}
}
}

View File

@ -0,0 +1,21 @@
{
"footer": {
"blocks": ["footer-layout.desktop", "footer-layout.mobile"]
},
"footer-layout.desktop": {
"children": [
"flex-layout.row#footer-newsletter",
"flex-layout.row#footer-1-desktop",
"flex-layout.row#footer-2-desktop"
]
},
"footer-layout.mobile": {
"children": [
"flex-layout.row#footer-newsletter",
"flex-layout.row#1-footer-mobile",
"flex-layout.row#footer-3-mobile",
"flex-layout.row#footer-social",
"flex-layout.row#footer-2-desktop"
]
}
}

View File

@ -0,0 +1,119 @@
{
"vtex.menu@2.x:menu#link-1": {
"props": {
"orientation": "vertical"
},
"children": [
"rich-text#footer-link-1-title",
"menu-item#loja",
"menu-item#trocasEdevolucoes",
"menu-item#centralatendimento",
"menu-item#faleconosco",
"menu-item#imprensa",
"menu-item#faleconosco",
"rich-text#footer-link-1-cnpj"
]
},
"rich-text#footer-link-1-cnpj": {
"props": {
"text": "CNPJ 12.345.678.0009-10",
"blockClass": "footer-link-1-title"
}
},
"rich-text#footer-link-1-title": {
"props": {
"text": "Site M3 Academy",
"blockClass": "footer-link-1-title"
}
},
"menu-item#loja": {
"props": {
"id": "menu-item-loja",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "Loja Ebit Ouro",
"text": "Loja Ebit Ouro"
}
}
},
"menu-item#trocasEdevolucoes": {
"props": {
"id": "menu-item-trocasEdevolucoes",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "Trocas e devoluções",
"text": "Trocas e devoluções"
}
}
},
"menu-item#centralatendimento": {
"props": {
"id": "menu-item-centralatendimento",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "Central de Atendimento",
"text": "Central de Atendimento"
}
}
},
"menu-item#imprensa": {
"props": {
"id": "menu-item-imprensa",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "Imprensa",
"text": "Imprensa"
}
}
},
"menu-item#rastreamento": {
"props": {
"id": "menu-item-rastreamento",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "Rastreamento",
"text": "Rastreamento"
}
}
},
"menu-item#faleconosco": {
"props": {
"id": "menu-item-faleconosco",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "Fale conosco",
"text": "Fale conosco"
}
}
}
}

View File

@ -0,0 +1,123 @@
{
"vtex.menu@2.x:menu#link-2": {
"props": {
"orientation": "vertical"
},
"children": [
"rich-text#footer-link-2-aM3academy",
"menu-item#sejaumfranqueado",
"menu-item#quemsomos",
"menu-item#nossaslojas",
"rich-text#footer-link-2-responsabilidadesocial",
"menu-item#franquias",
"menu-item#proconMG",
"menu-item#PolíticadePrivacidade"
]
},
"rich-text#footer-link-2-aM3academy": {
"props": {
"text": "A M3 Academy",
"blockClass": "footer-link-2-title"
}
},
"menu-item#sejaumfranqueado": {
"props": {
"id": "menu-item-sejaumfranqueado",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/decoration/smartphones",
"noFollow": true,
"tagTitle": "Seja um franqueado",
"text": "Seja um franqueado"
}
}
},
"menu-item#quemsomos": {
"props": {
"id": "menu-item-quemsomos",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/decoration/videogames",
"noFollow": true,
"tagTitle": "Quem somos",
"text": "Quem somos"
}
}
},
"menu-item#nossaslojas": {
"props": {
"id": "menu-item-tvs",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/decoration/tvs",
"noFollow": true,
"tagTitle": "Nossas lojas",
"text": "Nossas lojas"
}
}
},
"rich-text#footer-link-2-responsabilidadesocial": {
"props": {
"text": "Responsabilidade Social",
"blockClass": "footer-link-2-title"
}
},
"menu-item#franquias": {
"props": {
"id": "menu-item-franquias",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/decoration/franquias",
"noFollow": true,
"tagTitle": "Franquias",
"text": "Franquias"
}
}
},
"menu-item#proconMG": {
"props": {
"id": "menu-item-proconMG",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/decoration/ProconMG",
"noFollow": true,
"tagTitle": "Procon MG",
"text": "Procon MG"
}
}
},
"menu-item#PolíticadePrivacidade": {
"props": {
"id": "menu-item-PolíticadePrivacidade",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/decoration/PolíticadePrivacidade",
"noFollow": true,
"tagTitle": "Política de Privacidade",
"text": "Política de Privacidade"
}
}
}
}

View File

@ -0,0 +1,49 @@
{
"vtex.menu@2.x:menu#link-3": {
"props": {
"orientation": "vertical"
},
"children": [
"rich-text#link-3-title",
"menu-item#Sejaumfranqueado",
"menu-item#Multimarcas"
]
},
"rich-text#link-3-title": {
"props": {
"text": "Seja um franqueado",
"blockClass": "footer-link-3-title"
}
},
"menu-item#Sejaumfranqueado": {
"props": {
"id": "menu-item-Sejaumfranqueado",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/Sejaumfranqueado/d",
"noFollow": true,
"tagTitle": "Seja um franqueado",
"text": "Seja um franqueado"
}
}
},
"menu-item#Multimarcas": {
"props": {
"id": "menu-item-Multimarcas",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/Multimarcas/backpacks",
"noFollow": true,
"tagTitle": "Multimarcas",
"text": "Multimarcas"
}
}
}
}

View File

@ -1,393 +0,0 @@
{
"vtex.menu@2.x:menu#Products": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#news",
"menu-item#blackfriday",
"menu-item#sale",
"menu-item#personalization"
]
},
"menu-item#news": {
"props": {
"id": "menu-item-news",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "News",
"text": "News"
}
}
},
"menu-item#blackfriday": {
"props": {
"id": "menu-item-black-friday",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "BlackFriday",
"text": "Black Friday"
}
}
},
"menu-item#sale": {
"props": {
"id": "menu-item-sale",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "Sale",
"text": "Sale"
}
}
},
"menu-item#personalization": {
"props": {
"id": "menu-item-personalization",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "#",
"noFollow": false,
"tagTitle": "Personalization",
"text": "Personalization"
}
}
},
"vtex.menu@2.x:menu#footer-decoration": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#smartphones",
"menu-item#videogames",
"menu-item#tvs"
]
},
"menu-item#smartphones": {
"props": {
"id": "menu-item-smartphones",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/decoration/smartphones",
"noFollow": true,
"tagTitle": "Smartphones",
"text": "Smartphones"
}
}
},
"menu-item#videogames": {
"props": {
"id": "menu-item-videogames",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/decoration/videogames",
"noFollow": true,
"tagTitle": "Videogames",
"text": "Videogames"
}
}
},
"menu-item#tvs": {
"props": {
"id": "menu-item-tvs",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/decoration/tvs",
"noFollow": true,
"tagTitle": "TVs",
"text": "TVs"
}
}
},
"vtex.menu@2.x:menu#footer-bags": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#bags",
"menu-item#backpacks",
"menu-item#necessaire"
]
},
"menu-item#bags": {
"props": {
"id": "menu-item-bags",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/bags/d",
"noFollow": true,
"tagTitle": "Bags",
"text": "Bags"
}
}
},
"menu-item#backpacks": {
"props": {
"id": "menu-item-backpacks",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/bags/backpacks",
"noFollow": true,
"tagTitle": "Backpacks",
"text": "Backpacks"
}
}
},
"menu-item#necessaire": {
"props": {
"id": "menu-item-necessaire",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/bags/necessaire",
"noFollow": true,
"tagTitle": "Necessaire",
"text": "Necessaire"
}
}
},
"vtex.menu@2.x:menu#footer-clothing": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#clothing",
"menu-item#shorts",
"menu-item#tank-tops",
"menu-item#shirts",
"menu-item#sweatshirt",
"menu-item#cropped"
]
},
"vtex.menu@2.x:menu#footer-mobile": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#clothing-mobile",
"menu-item#decoration-mobile",
"menu-item#sale-mobile"
]
},
"menu-item#clothing-mobile": {
"props": {
"id": "menu-item-category-clothing",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/d",
"noFollow": true,
"tagTitle": "Clothing",
"text": "Clothing"
}
},
"blocks": ["vtex.menu@2.x:submenu.accordion#clothing"]
},
"vtex.menu@2.x:submenu.accordion#clothing": {
"children": ["vtex.menu@2.x:menu#clothing-accordion"]
},
"vtex.menu@2.x:menu#clothing-accordion": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#shorts",
"menu-item#tank-tops",
"menu-item#shirts",
"menu-item#sweatshirt",
"menu-item#cropped"
]
},
"menu-item#decoration-mobile": {
"props": {
"itemProps": {
"tagTitle": "Decoration",
"text": "Decoration"
}
},
"blocks": ["vtex.menu@2.x:submenu.accordion#decoration"]
},
"vtex.menu@2.x:submenu.accordion#decoration": {
"children": ["vtex.menu@2.x:menu#footer-decoration-mobile"]
},
"vtex.menu@2.x:menu#footer-decoration-mobile": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#smartphones",
"menu-item#videogames",
"menu-item#tvs"
]
},
"menu-item#sale-mobile": {
"props": {
"itemProps": {
"tagTitle": "Sale",
"text": "Sale"
}
},
"blocks": ["vtex.menu@2.x:submenu.accordion#sale"]
},
"vtex.menu@2.x:submenu.accordion#sale": {
"children": ["vtex.menu@2.x:menu#footer-sale-mobile"]
},
"vtex.menu@2.x:menu#footer-sale-mobile": {
"props": {
"orientation": "vertical"
},
"children": [
"menu-item#smartphones",
"menu-item#videogames",
"menu-item#tvs"
]
},
"menu-item#clothing": {
"props": {
"id": "menu-item-category-clothing",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/d",
"noFollow": true,
"tagTitle": "Clothing",
"text": "Clothing"
}
}
},
"menu-item#shorts": {
"props": {
"id": "menu-item-shorts",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/shorts",
"noFollow": false,
"tagTitle": "Shorts",
"text": "Shorts"
}
}
},
"menu-item#tank-tops": {
"props": {
"id": "menu-item-tank-tops",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/tank-tops",
"noFollow": false,
"tagTitle": "Tank tops",
"text": "Tank tops"
}
}
},
"menu-item#shirts": {
"props": {
"id": "menu-item-shirts",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/shirts",
"noFollow": false,
"tagTitle": "Shirts",
"text": "Shirts"
}
}
},
"menu-item#sweatshirt": {
"props": {
"id": "menu-item-sweat-shirts",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/sweatshirt",
"noFollow": false,
"tagTitle": "Sweatshirt",
"text": "Sweatshirt"
}
}
},
"menu-item#cropped": {
"props": {
"id": "menu-item-cropped",
"type": "custom",
"iconId": null,
"highlight": false,
"itemProps": {
"type": "internal",
"href": "/clothing/cropped",
"noFollow": false,
"tagTitle": "Cropped",
"text": "Cropped"
}
}
}
}

View File

@ -0,0 +1,41 @@
{
"flex-layout.row#1-footer-mobile": {
"props": {
"paddingTop": 4,
"paddingBottom": 4
},
"children": ["vtex.menu@2.x:menu#footer-mobile"]
},
"flex-layout.row#2-footer-mobile": {
"children": ["flex-layout.col#footer-1-mobile"],
"props": {
"blockClass": "payment-methods",
"paddingTop": 4,
"paddingBottom": 4
}
},
"flex-layout.col#footer-1-mobile": {
"children": [],
"props": {
"blockClass": "payment-methods",
"paddingTop": 4,
"paddingBottom": 4,
"rowGap": 4
}
},
"rich-text#footer-mobile": {
"props": {
"text": "All stock and product photos are from photos.icons8.com",
"blockClass": "footer"
}
},
"flex-layout.row#footer-3-mobile": {
"children": ["vtex.menu@2.x:menu#link-3"],
"props": {
"blockClass": "payment-methods",
"paddingTop": 4,
"paddingBottom": 4,
"rowGap": 4
}
}
}

View File

@ -0,0 +1,32 @@
{
"vtex.menu@2.x:menu#footer-mobile": {
"props": {
"orientation": "vertical"
},
"children": ["menu-item#sale-mobile", "menu-item#decoration-mobile"]
},
"menu-item#sale-mobile": {
"props": {
"itemProps": {
"tagTitle": "comprar",
"text": "comprar"
}
},
"blocks": ["vtex.menu@2.x:submenu.accordion#sale-mobile"]
},
"vtex.menu@2.x:submenu.accordion#sale-mobile": {
"children": ["vtex.menu@2.x:menu#link-1"]
},
"menu-item#decoration-mobile": {
"props": {
"itemProps": {
"tagTitle": "Decoration",
"text": "Decoration"
}
},
"blocks": ["vtex.menu@2.x:submenu.accordion#decoration"]
},
"vtex.menu@2.x:submenu.accordion#decoration": {
"children": ["vtex.menu@2.x:menu#link-2"]
}
}

View File

@ -2,8 +2,6 @@
"store.home": {
"blocks": [
"list-context.image-list#demo",
"example-component", /* You can make references to blocks defined in other files.
* For example, `flex-layout.row#deals` is defined in the `deals.json` file. */
"flex-layout.row#deals",
"__fold__",
"rich-text#shelf-title",

View File

@ -0,0 +1,70 @@
{
"tab-layout#product-description": {
"children": [
"tab-list#product-description",
"tab-content#product-description"
],
"props": {
"blockClass": "product-description",
"defaultActiveTabId": "product-description"
}
},
"tab-list#product-description": {
"children": [
"tab-list.item#description",
"tab-list.item#description2",
"tab-list.item#description2",
"tab-list.item#description2",
"tab-list.item#description2"
]
},
"tab-list.item#description": {
"props": {
"blockClass": "tab-list-button",
"tabId": "product-description",
"label": "Description",
"defaultActiveTab": true
}
},
"tab-list.item#description2": {
"props": {
"blockClass": "tab-list-button",
"tabId": "product-description2",
"label": "Description"
}
},
"tab-content#product-description": {
"children": [
"tab-content.item#product-description",
"tab-content.item#product-description2"
]
},
"tab-content.item#product-description": {
"children": ["flex-layout.row#description"],
"props": {
"tabId": "product-description"
}
},
"tab-content.item#product-description2": {
"children": ["flex-layout.row#description"],
"props": {
"tabId": "product-description2"
}
},
"flex-layout.row#description": {
"props": {
"marginBottom": 7
},
"children": ["product-images#description", "product-description"]
},
"product-images#description": {
"props": {
"displayMode": "first-image"
}
},
"product-description": {
"props": {
"collapseContent": true
}
}
}

View File

@ -0,0 +1,102 @@
{
"condition-layout.product#availability": {
"props": {
"conditions": [
{
"subject": "isProductAvailable"
}
],
"Then": "flex-layout.row#product-main",
"Else": "flex-layout.row#product-availability"
}
},
"flex-layout.row#product-main": {
"props": {
"blockClass": "product-main-container",
"colGap": 7,
"rowGap": 7,
"marginTop": 4,
"marginBottom": 7,
"paddingTop": 7,
"paddingBottom": 7
},
"children": ["flex-layout.col#stack", "flex-layout.col#right-col"]
},
"flex-layout.col#stack": {
"children": ["stack-layout"],
"props": {
"width": "60%",
"rowGap": 0
}
},
"stack-layout": {
"props": {
"blockClass": "product"
},
"children": [
"flex-layout.row#product-image",
"product-bookmark",
"product-specification-badges"
]
},
// "html#imagens": {
// "props": {
// "testId": "product-images"
// },
// "children": ["product-images"]
// },
"flex-layout.row#product-image": {
"children": ["product-images"]
},
"product-images": {
"props": {
"thumbnailMaxHeight": 90,
"thumbnailsOrientation": "horizontal",
"aspectRatio": {
"desktop": "auto",
"phone": "16:9"
},
"displayThumbnailsArrows": true
}
},
"product-specification-badges": {
"props": {
"specificationGroupName": "Group",
"specificationName": "On Sale",
"visibleWhen": "True",
"displayValue": "SPECIFICATION_NAME"
}
},
"flex-layout.col#right-col": {
"props": {
"preventVerticalStretch": true,
"rowGap": 0
},
"children": [
"flex-layout.row#product-name",
"product-identifier.product",
"product-rating-summary",
"flex-layout.row#selling-price",
"product-installments",
"price-pix-custom",
"sku-selector",
"product-assembly-options",
"product-gifts",
"flex-layout.row#buy-button",
"availability-subscriber",
"shipping-simulator"
]
},
"flex-layout.row#product-name": {
"props": {
"marginBottom": 3
},
"children": ["vtex.store-components:product-name"]
},
"sku-selector": {
"props": {
"variationsSpacing": 3,
"showValueNameForImageVariation": true
}
}
}

View File

@ -1,15 +1,21 @@
{
"store.product": {
"children": [
"html#breadcrumb",
"flex-layout.row#breadcrumb",
"condition-layout.product#availability",
"flex-layout.row#description",
"flex-layout.row#specifications-title",
"product-specification-group#table",
"shelf.relatedProducts",
"flex-layout.row#product-description",
// "flex-layout.row#specifications-title",
// "product-specification-group#table",
"flex-layout.row#pdp",
"product-questions-and-answers"
]
},
"flex-layout.row#breadcrumb": {
"props": {
"blockClass": "breadcrumb-container"
},
"children": ["html#breadcrumb"]
},
"html#breadcrumb": {
"props": {
"tag": "section",
@ -26,122 +32,23 @@
"text": "##### Product Specifications"
}
},
"flex-layout.row#description": {
"flex-layout.row#product-description": {
"props": {
"marginBottom": 7
"blockClass": "product-description-container"
},
"children": ["product-description"]
"children": ["tab-layout#product-description"]
},
"condition-layout.product#availability": {
"props": {
"conditions": [
{
"subject": "isProductAvailable"
}
],
"Then": "flex-layout.row#product-main",
"Else": "flex-layout.row#product-availability"
}
},
"flex-layout.row#product-main": {
"props": {
"colGap": 7,
"rowGap": 7,
"marginTop": 4,
"marginBottom": 7,
"paddingTop": 7,
"paddingBottom": 7
},
"children": ["flex-layout.col#stack", "flex-layout.col#right-col"]
},
"stack-layout": {
"props": {
"blockClass": "product"
},
"children": [
"flex-layout.row#product-image",
"product-bookmark",
"product-specification-badges"
]
},
"product-specification-badges": {
"props": {
"specificationGroupName": "Group",
"specificationName": "On Sale",
"visibleWhen": "True",
"displayValue": "SPECIFICATION_NAME"
}
},
"flex-layout.col#stack": {
"children": ["stack-layout"],
"props": {
"width": "60%",
"rowGap": 0
}
},
"flex-layout.row#product-image": {
"children": ["product-images"]
},
"product-images": {
"props": {
"aspectRatio": {
"desktop": "auto",
"phone": "16:9"
},
"displayThumbnailsArrows": true
}
},
"flex-layout.col#right-col": {
"props": {
"preventVerticalStretch": true,
"rowGap": 0
},
"children": [
"flex-layout.row#product-name",
"product-rating-summary",
"flex-layout.row#list-price-savings",
"flex-layout.row#selling-price",
"product-installments",
"product-separator",
"product-identifier.product",
"sku-selector",
"product-quantity",
"product-assembly-options",
"product-gifts",
"flex-layout.row#buy-button",
"availability-subscriber",
"shipping-simulator",
"share#default"
]
},
"flex-layout.row#product-name": {
"props": {
"marginBottom": 3
},
"children": ["vtex.store-components:product-name"]
},
"sku-selector": {
"props": {
"variationsSpacing": 3,
"showValueNameForImageVariation": true
}
},
"flex-layout.row#buy-button": {
"props": {
"marginTop": 4,
"marginBottom": 7
"marginBottom": 7,
"blockClass": "button-card-add"
},
"children": ["add-to-cart-button"]
"children": ["product-quantity", "add-to-cart-button"]
},
"flex-layout.row#product-availability": {
"props": {
"blockClass": "product-main-container",
"colGap": 7,
"marginTop": 4,
"marginBottom": 7,
@ -161,8 +68,8 @@
"children": [
"flex-layout.row#product-name",
"product-identifier.product",
"sku-selector",
"flex-layout.row#availability"
"flex-layout.row#availability",
"sku-selector"
]
},
"flex-layout.row#availability": {
@ -171,7 +78,6 @@
},
"children": ["availability-subscriber"]
},
"share#default": {
"props": {
"social": {

View File

@ -0,0 +1,53 @@
{
"flex-layout.row#pdp": {
"props": {
"title": "Shelf pdp",
"blockClass": "shelf-pdp"
},
"children": [
"rich-text#nuestro-top",
"list-context.product-list#nuestro-top"
]
},
"rich-text#nuestro-top": {
"props": {
"text": "Você também pode gostar:",
"blockClass": "nuestro-shelf-title"
}
},
"list-context.product-list#nuestro-top": {
"blocks": ["product-summary.shelf#pdp"],
"children": ["slider-layout#shelf-pdp"],
"props": {
"orderBy": "OrderByTopSaleDESC",
"collection": "320"
}
},
"product-summary-price": {
"props": {
"showInstallments": false
}
},
"product-summary.shelf#pdp": {
"children": [
"product-summary-image",
"product-summary-name",
"product-summary-price"
// "product-summary-buy-button"
]
},
"slider-layout#shelf-pdp": {
"props": {
"itemsPerPage": {
"desktop": 4,
"tablet": 3,
"phone": 2
},
"infinite": false,
"fullWidth": false,
"blockClass": "shelf"
}
}
}

View File

@ -6,9 +6,7 @@
"preventHorizontalStretch": true,
"marginBottom": 4
},
"children": [
"product-selling-price"
]
"children": ["product-selling-price"]
},
"flex-layout.row#list-price-savings": {
@ -19,9 +17,6 @@
"marginBottom": 2,
"marginTop": 5
},
"children": [
"product-list-price",
"product-price-savings"
]
"children": ["product-list-price", "product-price-savings"]
}
}

View File

@ -9,14 +9,10 @@
]
},
"responsive-layout.desktop#productSummaryList": {
"children": [
"flex-layout.row#summaryListDesktop"
]
"children": ["flex-layout.row#summaryListDesktop"]
},
"responsive-layout.mobile#productSummaryList": {
"children": [
"flex-layout.row#summaryListMobile"
]
"children": ["flex-layout.row#summaryListMobile"]
},
"product-price-savings#summaryPercentage": {
"props": {
@ -36,7 +32,7 @@
]
},
"flex-layout.row#summaryListDesktop": {
"props":{
"props": {
"fullWidth": true,
"colSizing": "auto",
"blockClass": "summaryListDesktop"
@ -69,9 +65,7 @@
]
},
"flex-layout.row#productSpecifications": {
"children": [
"product-specification-group#summary"
]
"children": ["product-specification-group#summary"]
},
"product-summary-name#summaryListDesktop": {
"props": {
@ -100,18 +94,13 @@
"colSizing": "auto",
"colGap": 5
},
"children": [
"add-to-cart-button",
"flex-layout.row#buyNowButton"
]
"children": ["add-to-cart-button", "flex-layout.row#buyNowButton"]
},
"flex-layout.row#buyNowButton": {
"props": {
"blockClass": "buyNowButton"
},
"children": [
"add-to-cart-button#buyNow"
]
"children": ["add-to-cart-button#buyNow"]
},
"add-to-cart-button#buyNow": {
@ -123,10 +112,7 @@
}
},
"flex-layout.col#priceSummaryListDesktop": {
"children": [
"product-selling-price#summary",
"product-list-price#summary"
]
"children": ["product-selling-price#summary", "product-list-price#summary"]
},
"stack-layout#summaryListDesktop": {
"children": [
@ -144,7 +130,7 @@
}
},
"flex-layout.row#summaryListMobile": {
"props":{
"props": {
"preserveLayoutOnMobile": true,
"colSizing": "auto",
"blockClass": "summaryListMobile",

View File

@ -81,9 +81,7 @@
},
"product-price-savings#summary": {
"props": {
"markers": [
"discount"
],
"markers": ["discount"],
"blockClass": "summary"
}
}

View File

@ -1,6 +1,6 @@
{
"example-component": {
"component": "Example"
"price-pix-custom": {
"component": "pix"
},
"html": {
"component": "html",

View File

@ -8,9 +8,9 @@
/* Media Query M3 */
/* Grid breakpoints */
.html {
background-color: red;
background-color: blue;
}
.html--pdp-breadcrumb {
background-color: green;
background-color: red;
}

View File

@ -0,0 +1,35 @@
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.container .link,
.container .term {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
text-align: center;
}
.container .homeLink {
padding-top: 0;
padding-bottom: 0;
}
.container .homeLink::after {
content: "Home";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.container .homeLink .homeIcon {
display: none;
}

View File

@ -1,98 +1,79 @@
.flexRowContent--menu-link,
.flexRowContent--main-header {
padding: 0 0.5rem;
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.flexRow--product-main-container :global(.vtex-store-components-3-x-container),
.flexRow--product-description-container :global(.vtex-store-components-3-x-container),
.flexRow--breadcrumb-container :global(.vtex-store-components-3-x-container),
.flexRow--shelf-pdp :global(.vtex-store-components-3-x-container),
.flexRow--menu-row-wrapper :global(.vtex-store-components-3-x-container),
.flexRow--menu-row-newsletter :global(.vtex-store-components-3-x-container),
.flexRow--footer-credits :global(.vtex-store-components-3-x-container) {
max-width: 1920px;
padding: 0 40px;
}
.flexRowContent--button-card-add .stretchChildrenWidth:first-child {
max-width: 128px;
padding-right: 10px;
}
.flexRowContent--button-card-add .stretchChildrenWidth:last-child {
width: 100% !important;
}
@media screen and (min-width: 40em) {
.flexRowContent--menu-link,
.flexRowContent--main-header {
padding: 0 1rem;
}
.flexRowContent--button-card-add :global(.vtex-button) {
background-color: #000000;
border: none;
border-radius: 0;
padding: 12px;
}
@media screen and (min-width: 80rem) {
.flexRowContent--menu-link,
.flexRowContent--main-header {
padding: 0 0.25rem;
}
}
.flexRowContent--menu-link {
background-color: #03044e;
color: #fff;
}
.flexRowContent--main-header {
background-color: #f0f0f0;
}
.flexRowContent--main-header-mobile {
align-items: center;
padding: 0.625rem 0.5rem;
background-color: #f0f0f0;
}
.flexRowContent--menu-link :global(.vtex-menu-2-x-styledLink) {
color: #ffffff;
font-size: 14px;
}
.flexRowContent--main-header :global(.vtex-menu-2-x-styledLink) {
color: #727273;
font-size: 14px;
}
.flexRow--deals {
background-color: #0F3E99;
padding: 14px 0px;
}
.flexRow--deals .stretchChildrenWidth {
align-items: center;
}
.flexRow--deals .flexCol {
align-items: center;
margin-bottom: 5px;
padding-top: 5px;
}
.flexCol--filterCol {
max-width: 500px;
min-width: 230px;
}
.flexCol--productCountCol {
align-items: flex-start;
}
.flexCol--orderByCol {
align-items: flex-end;
}
.flexCol--orderByMobileCol {
width: 42%;
}
.flexCol--filterMobileCol {
width: 38%;
}
.flexRow--quickviewMainRow {
.flexRowContent--shelf-pdp {
display: flex;
max-height: 100%;
flex-direction: column;
}
.flexRowContent--shelf-pdp .stretchChildrenWidth {
width: 100% !important;
margin-bottom: 32px;
}
.flexColChild--quickviewDetails:first-child {
overflow-y: auto;
height: 66% !important;
overflow-x: hidden;
.flexRow--menu-row-newsletter {
margin-top: 64px;
background: #000000;
border-bottom: 1px solid #ffffff;
}
.flexRow--menu-row-newsletter .flexRowContent--menu-row-newsletter {
width: 100%;
max-width: 775px;
margin: 0 auto;
}
.flexColChild--quickviewDetails:last-child {
height: 34% !important;
.flexRowContent--menu-row-newsletter {
display: flex;
flex-direction: column;
padding: 32px 0 16px;
}
.flexRowContent--menu-row-newsletter .stretchChildrenWidth {
width: 100% !important;
}
.flexRow--addToCartRow {
padding-bottom: 1rem;
.flexRow--menu-row-wrapper {
background-color: #000000;
padding-top: 32px;
padding-bottom: 128px;
}
.flexRow--footer-credits {
background-color: #000000 !important;
border-top: 1px solid #ffffff;
padding: 31px 0 15px;
}
.flexRowContent--menu-row-social-wrapper {
display: flex;
flex-direction: column;
}

View File

@ -1,3 +1,27 @@
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.product-identifier--productReference {
margin-bottom: 1rem;
width: 100%;
display: flex;
justify-content: end;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: right;
color: rgba(146, 146, 146, 0.48);
}
.product-identifier__label {
display: none;
}
.product-identifier__separator {
display: none;
}

View File

@ -1,79 +1,26 @@
.listPrice {
color: #727273;
margin-bottom: .25rem;
font-size: 1rem;
}
.sellingPrice {
color: #3f3f40;
font-size: 1.25rem;
}
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.sellingPriceValue {
font-size: 2.25rem;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 25px;
line-height: 38px;
color: #000000;
}
.installments {
color: #727273;
margin-bottom: 1rem;
}
.savings {
font-weight: 500;
color: #79B03A;
}
.sellingPriceValue--summary {
font-size: 1.25rem;
font-weight: 600;
color: #2E2E2E;
}
.savings--summary {
background: #8BC34A;
border-radius: 1000px;
align-items: center;
display: flex;
padding-left: 0.5rem;
padding-right: 0.5rem;
font-size: 0.875rem;
font-weight: 600;
vertical-align: baseline;
color: #FFFFFF;
}
.savings-discount--summary {
font-size: 0.875rem;
font-weight: 600;
vertical-align: baseline;
color: #FFFFFF;
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.listPrice--summary {
margin-bottom: 0.25rem;
font-size: .875rem;
}
.installments--summary {
margin-bottom: 2rem;
font-size: 0.875rem;
}
.savings--summaryPercentage {
background: #0f3e99;
border-radius: 1000px;
align-items: center;
display: flex;
}
.savingsPercentage--summaryPercentage {
font-size: 0.875rem;
font-weight: 600;
vertical-align: baseline;
color: #FFFFFF;
padding: 0.25rem 0.5rem 0.25rem 0.5rem;
}
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 16px;
line-height: 22px;
color: #929292;
}

View File

@ -0,0 +1,51 @@
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.quantitySelectorTitle {
display: none;
}
.quantitySelectorContainer {
margin: 0;
height: 100%;
}
.quantitySelectorContainer .quantitySelectorStepper {
height: 100%;
}
.quantitySelectorContainer .quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) {
height: 100%;
}
.quantitySelectorContainer .quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) {
height: 100%;
border: 1px solid #cccccc;
padding: 0 16px;
}
.quantitySelectorContainer .quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) :global(.vtex-numeric-stepper__input) {
width: 100%;
height: 100%;
border: none;
}
.quantitySelectorContainer .quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) :global(.vtex-numeric-stepper__plus-button),
.quantitySelectorContainer .quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) :global(.vtex-numeric-stepper__minus-button) {
width: max-content !important;
height: 100%;
border: none;
border-radius: 0;
}
.quantitySelectorContainer .quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) :global(.vtex-numeric-stepper__minus-button__text),
.quantitySelectorContainer .quantitySelectorStepper :global(.vtex-numeric-stepper-wrapper) :global(.vtex-numeric-stepper-container) :global(.vtex-numeric-stepper__plus-button__text) {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 22px;
display: flex;
align-items: center;
color: #000000;
}

View File

@ -1,42 +1,18 @@
.skuSelectorContainer--quickview .skuSelectorItemImage .frameAround, .skuSelectorContainer--quickview .skuSelectorItemImage .skuSelectorInternalBox {
border-radius: 50%;
}
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
opacity: 0;
transition: opacity 200ms ease-in-out;
}
.container:hover :global(.vtex-modal-layout-0-x-triggerContainer) {
opacity: 1;
}
@media screen and (max-width: 40em) {
.container :global(.vtex-modal-layout-0-x-triggerContainer) {
display: none;
}
}
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.nameContainer {
justify-content: start;
padding-top: 1rem;
padding-bottom: 1rem;
display: flex;
justify-content: center;
padding: 16px 0 8px 0;
}
.brandName {
font-weight: 600;
font-size: 18px;
color: #2E2E2E;
}
.container {
text-align: start;
}
.imageContainer {
text-align: center;
}
.image {
border-radius: 0.25rem;
}
.priceContainer {
padding: 0;
}

View File

@ -6,4 +6,78 @@
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
/* Grid breakpoints */
.wrapper--nuestro-shelf-title {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
margin: auto;
color: #575757;
}
.container--menu-row-newsletter-title {
display: flex;
justify-content: center;
}
.container--menu-row-newsletter-title .heading--menu-row-newsletter-title {
margin: 0;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #ffffff;
}
.container--menu-row-newsletter-title .paragraph--menu-row-newsletter-title {
margin: 16px 0;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
text-align: center;
color: #929292;
}
.paragraph--footer-link-1-title,
.paragraph--footer-link-2-title,
.paragraph--footer-link-3-title {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 38px;
text-align: center;
color: #ffffff;
}
.paragraph--footer-copyright {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 12px;
line-height: 20px;
color: rgba(255, 255, 255, 0.45);
margin-right: 8px;
}
.paragraph--footer-powered-by {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 12px;
color: #ffffff;
margin-right: 8px;
}
.image--footer-powered-by {
width: 100%;
max-width: 40px;
}
.image--footer-powered-by:not(:last-child) {
margin-right: 16px;
}

23
styles/css/vtex.shelf.css Normal file
View File

@ -0,0 +1,23 @@
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.vtex-shelf :global(.vtex-shelf-1-x-title) {
padding: 16px;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #575757;
}
.shelfContentContainer {
padding: 0 40px;
}

View File

@ -7,6 +7,249 @@
*/
/* Media Query M3 */
/* Grid breakpoints */
.newsletter {
background: red;
.productImageTag--main {
max-height: unset !important;
}
.productImagesThumb {
height: auto !important;
width: 90px !important;
margin-right: 16px !important;
}
.productNameContainer--quickview {
text-align: end;
}
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
}
.skuSelectorName {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.skuSelectorItem {
border-radius: 50%;
width: 50px;
height: 50px;
}
.skuSelectorItem:not(:last-child) {
margin-right: 16px;
}
.skuSelectorItem .valueWrapper {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
.skuSelectorItem:hover .frameAround {
border: 2px solid #000000;
}
.skuSelectorItem:hover .valueWrapper {
color: #000000;
}
.skuSelectorItem .frameAround {
border-radius: 50%;
border: 1px solid #989898;
}
.skuSelectorItem--selected .frameAround {
border: 2px solid #000000;
}
.skuSelectorItem--selected .valueWrapper {
color: #000000;
}
.skuSelectorInternalBox {
border-radius: 50%;
}
.skuSelectorInternalBox:hover {
border: none;
}
.skuSelectorInternalBox .diagonalCross {
background-image: linear-gradient(to top right, transparent 50%, rgba(0, 0, 0, 0.5) 53%, currentColor 54%, currentColor 52%, transparent 0%);
transform: rotate(95deg);
}
.shippingContainer {
position: relative;
}
.shippingContainer :global(.vtex-button) {
position: absolute;
top: 24px;
left: 230px;
padding: 15px;
width: max-content;
background-color: #000000;
border: none;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label) {
font-size: 0;
padding: 0;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
line-height: 19px;
color: #929292;
}
.shippingContainer :global(.vtex-button) :global(.vtex-button__label)::after {
content: "OK";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 19px;
display: flex;
align-items: center;
color: #ffffff;
}
.shippingContainer :global(.vtex-address-form__postalCode) {
display: flex;
align-items: center;
padding-bottom: 16px;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) {
max-width: 280px;
margin-right: 32px;
padding: 0;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input-prefix__group) {
height: 49px;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-input__suffix) {
display: none;
}
.shippingContainer :global(.vtex-address-form__postalCode) :global(.vtex-input) :global(.vtex-input-prefix__group) :global(.vtex-address-form-4-x-input) {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
color: #afafaf;
}
.shippingTable {
max-width: 320px;
margin: 0;
border: none;
}
.shippingTable .shippingTableHead {
display: table-header-group !important;
width: 100%;
}
.shippingTable .shippingTableHead .shippingTableRow {
text-align: left;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell {
padding: 0 16px 0 0;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell .shippingTableLabel {
display: flex;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell .shippingTableLabel .shippingTableRadioBtn {
display: none;
}
.shippingTable .shippingTableBody .shippingTableRow .shippingTableCell .shippingTableLabel :global(.vtex-address-form-4-x-input) {
display: none !important;
}
.subscriberContainer .title {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.subscriberContainer .subscribeLabel {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.subscriberContainer .content {
flex-wrap: wrap;
}
.subscriberContainer .content .input {
width: 50%;
flex: 1;
}
.subscriberContainer .content .inputEmail {
margin-right: 0;
}
.subscriberContainer .content .submit {
width: 100%;
}
.subscriberContainer .content .submit :global(.vtex-button) {
width: 100%;
}
.productDescriptionContainer {
margin-left: 32px;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #929292;
}
.productDescriptionContainer .productDescriptionTitle {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 32px;
line-height: 32px;
color: #575757;
}
.productDescriptionContainer .productDescriptionText .container {
padding: 0;
}
.container--menu-row-label-newsletter {
padding: 0;
}
.container--menu-row-label-newsletter .form--menu-row-label-newsletter {
display: contents !important;
}
.container--menu-row-label-newsletter .inputGroup--menu-row-label-newsletter {
border-bottom: 1px solid #929292 !important;
padding: 0;
}
.container--menu-row-label-newsletter .buttonContainer--menu-row-label-newsletter :global(.vtex-button) {
border: none !important;
border-bottom: 3px solid #bfbfbf !important;
background: #000000 !important;
border-radius: 0;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #ffffff;
}
.container--menu-row-label-newsletter .inputGroup--menu-row-label-newsletter :global(.vtex-input-prefix__group) {
border: 0;
}
.container--menu-row-label-newsletter .inputGroup--menu-row-label-newsletter :global(.vtex-styleguide-9-x-input) {
background: #000000;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #929292;
text-align: left;
}

View File

@ -1,11 +1,12 @@
.row--menu-row {
padding-right: 24px;
}
.row--menu-row .rowContainer {
align-items: flex-start;
}
.row--payment-methods {
padding-top: 16px;
}
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.vtex-store-footer-2-x-footerLayout :global(.vtex-flex-layout-0-x-flexRow--credits) {
background-color: #000000 !important;
}

View File

@ -0,0 +1,53 @@
/*
0 - 600PX: Phone
600 - 900px: Table portrait
900 - 1200px: Tablet landscape
[1200 - 1800] is where our nortal styles apply
1800px + : Big desktop
*/
/* Media Query M3 */
/* Grid breakpoints */
.listContainer {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #bfbfbf;
text-decoration: none;
margin-bottom: 54px;
}
.listItem--tab-list-button {
padding: 0;
margin: 0 0 -1px 0;
display: flex;
}
.listItem--tab-list-button :global(.vtex-button) {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #bfbfbf;
background-color: white;
border: none;
text-transform: capitalize;
border-radius: 0;
border-bottom: 1px solid #bfbfbf;
}
@media (max-width: 1440px) {
.listItem--tab-list-button :global(.vtex-button) {
font-size: 18px;
}
}
.listItemActive {
margin: 0 0 -2px 0;
}
.listItemActive :global(.vtex-button) {
color: #000000;
border-bottom: 3px solid #000000;
}
@media (max-width: 1440px) {
.listItemActive :global(.vtex-button) {
font-size: 18px;
}
}

View File

@ -1,8 +1,7 @@
.html {
background-color: red;
background-color: blue;
}
.html--pdp-breadcrumb {
background-color: green;
background-color: red;
}

View File

@ -0,0 +1,28 @@
.container {
.link,
.term {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
text-align: center;
}
.homeLink {
padding-top: 0;
padding-bottom: 0;
&::after {
content: "Home";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.homeIcon {
display: none;
}
}
}

View File

@ -0,0 +1,85 @@
.flexRow--product-main-container,
.flexRow--product-description-container,
.flexRow--breadcrumb-container,
.flexRow--shelf-pdp,
.flexRow--menu-row-wrapper,
.flexRow--menu-row-newsletter,
.flexRow--footer-credits {
:global(.vtex-store-components-3-x-container) {
max-width: 1920px;
padding: 0 40px;
@media (max-width: 1440px) {
}
}
}
.flexRowContent--button-card-add {
.stretchChildrenWidth {
&:first-child {
max-width: 128px;
padding-right: 10px;
}
&:last-child {
width: 100% !important;
}
}
}
.flexRowContent--button-card-add {
:global(.vtex-button) {
background-color: #000000;
border: none;
border-radius: 0;
padding: 12px;
}
}
.flexRowContent--shelf-pdp {
display: flex;
flex-direction: column;
.stretchChildrenWidth {
width: 100% !important;
margin-bottom: 32px;
}
}
//AREA DA NEWSLATTER STYLE
.flexRow--menu-row-newsletter {
margin-top: 64px;
background: #000000;
border-bottom: 1px solid #ffffff;
.flexRowContent--menu-row-newsletter {
width: 100%;
max-width: 775px;
margin: 0 auto;
}
}
.flexRowContent--menu-row-newsletter {
display: flex;
flex-direction: column;
padding: 32px 0 16px;
.stretchChildrenWidth {
width: 100% !important;
}
}
//STYLE DO FOOTER PARTE DO MEIO COM PAYMENTS
.flexRow--menu-row-wrapper {
background-color: #000000;
padding-top: 32px;
padding-bottom: 128px;
}
//STYLE DO FOOTER CREDITS
.flexRow--footer-credits {
background-color: #000000 !important;
border-top: 1px solid #ffffff;
padding: 31px 0 15px;
}
.flexRowContent--menu-row-social-wrapper {
display: flex;
flex-direction: column;
}

View File

@ -0,0 +1,21 @@
.product-identifier {
&--productReference {
width: 100%;
display: flex;
justify-content: end;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
text-align: right;
color: rgba(146, 146, 146, 0.48);
}
&__label {
display: none;
}
&__separator {
display: none;
}
}

View File

@ -0,0 +1,17 @@
//AREA DO PREÇO DO PRODUTO
.sellingPriceValue {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 25px;
line-height: 38px;
color: #000000;
}
.installments {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 16px;
line-height: 22px;
color: #929292;
}

View File

@ -0,0 +1,48 @@
.quantitySelectorTitle {
display: none;
}
.quantitySelectorContainer {
margin: 0;
height: 100%;
.quantitySelectorStepper {
height: 100%;
:global(.vtex-numeric-stepper-wrapper) {
height: 100%;
:global(.vtex-numeric-stepper-container) {
height: 100%;
border: 1px solid #cccccc;
padding: 0 16px;
:global(.vtex-numeric-stepper__input) {
width: 100%;
height: 100%;
border: none;
}
:global(.vtex-numeric-stepper__plus-button),
:global(.vtex-numeric-stepper__minus-button) {
width: max-content !important;
height: 100%;
border: none;
border-radius: 0;
}
:global(.vtex-numeric-stepper__minus-button__text),
:global(.vtex-numeric-stepper__plus-button__text) {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 22px;
display: flex;
align-items: center;
color: #000000;
}
}
}
}
}

View File

@ -0,0 +1,10 @@
// AREA DA DESCRIÇAO DOS PRODUTOS DA SHELF
.nameContainer {
display: flex;
justify-content: center;
padding: 16px 0 8px 0;
}
.priceContainer {
padding: 0;
}

View File

@ -0,0 +1,79 @@
//AREA DO TITLE DA SHELF
.wrapper--nuestro-shelf-title {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
margin: auto;
color: #575757;
}
//AREA DA RICH TEXT DA NEWSLETEER
.container--menu-row-newsletter-title {
display: flex;
justify-content: center;
.heading--menu-row-newsletter-title {
margin: 0;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #ffffff;
}
.paragraph--menu-row-newsletter-title {
margin: 16px 0;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
text-align: center;
color: #929292;
}
}
//AREA DO FOOTER DO MEIO COM PAYMENTS E CARTOES
.paragraph--footer-link-1-title,
.paragraph--footer-link-2-title,
.paragraph--footer-link-3-title {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 38px;
text-align: center;
color: #ffffff;
}
//AREA DO FOOTER CREDITS PARAGRAFO
.paragraph--footer-copyright {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 12px;
line-height: 20px;
color: rgba(255, 255, 255, 0.45);
margin-right: 8px;
}
.paragraph--footer-powered-by {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 12px;
color: #ffffff;
margin-right: 8px;
}
.image--footer-powered-by {
width: 100%;
max-width: 40px;
&:not(:last-child) {
margin-right: 16px;
}
}

View File

@ -0,0 +1,16 @@
.vtex-shelf {
:global(.vtex-shelf-1-x-title) {
padding: 16px;
font-family: "Open Sans";
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
text-align: center;
color: #575757;
}
}
.shelfContentContainer {
padding: 0 40px;
}

View File

@ -1,3 +1,295 @@
.newsletter{
background: red;
}
.productImageTag--main {
max-height: unset !important;
}
.productImagesThumb {
height: auto !important;
width: 90px !important;
margin-right: 16px !important;
}
.productNameContainer--quickview {
text-align: end;
}
.skuSelectorContainer {
display: flex;
flex-direction: column-reverse;
}
.skuSelectorName {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.skuSelectorItem {
border-radius: 50%;
width: 50px;
height: 50px;
&:not(:last-child) {
margin-right: 16px;
}
.valueWrapper {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
}
&:hover {
.frameAround {
border: 2px solid #000000;
}
.valueWrapper {
color: #000000;
}
}
.frameAround {
border-radius: 50%;
border: 1px solid #989898;
}
}
.skuSelectorItem--selected {
.frameAround {
border: 2px solid #000000;
}
.valueWrapper {
color: #000000;
}
}
.skuSelectorInternalBox {
border-radius: 50%;
&:hover {
border: none;
}
.diagonalCross {
background-image: linear-gradient(
to top right,
transparent 50%,
rgba(0, 0, 0, 0.5) 53%,
currentColor 54%,
currentColor 52%,
transparent 0%
);
transform: rotate(95deg);
}
}
//AREA DO CEP COM OS INPUT E BUTTON
.shippingContainer {
position: relative;
:global(.vtex-button) {
position: absolute;
top: 24px;
left: 230px;
padding: 15px;
width: max-content;
background-color: #000000;
border: none;
:global(.vtex-button__label) {
font-size: 0;
padding: 0;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
line-height: 19px;
color: #929292;
&::after {
content: "OK";
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 600;
font-size: 14px;
line-height: 19px;
display: flex;
align-items: center;
color: #ffffff;
}
}
}
:global(.vtex-address-form__postalCode) {
display: flex;
align-items: center;
padding-bottom: 16px;
:global(.vtex-input) {
max-width: 280px;
margin-right: 32px;
padding: 0;
:global(.vtex-input-prefix__group) {
height: 49px;
:global(.vtex-input__suffix) {
display: none;
}
:global(.vtex-address-form-4-x-input) {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 16px;
display: flex;
align-items: center;
color: #afafaf;
}
}
}
}
}
.shippingTable {
max-width: 320px;
margin: 0;
border: none;
.shippingTableHead {
display: table-header-group !important;
width: 100%;
.shippingTableRow {
text-align: left;
}
}
.shippingTableBody {
.shippingTableRow {
.shippingTableCell {
padding: 0 16px 0 0;
.shippingTableLabel {
display: flex;
.shippingTableRadioBtn {
display: none;
}
:global(.vtex-address-form-4-x-input) {
display: none !important;
}
}
}
}
}
}
//AREA DO COMPONENTES QUANDO O PRODUTO ESTA INDISPONIVEL
.subscriberContainer {
.title {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
color: #868686;
}
.subscribeLabel {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 19px;
color: #929292;
}
.content {
flex-wrap: wrap;
.input {
width: 50%;
flex: 1;
}
.inputEmail {
margin-right: 0;
}
.submit {
width: 100%;
:global(.vtex-button) {
width: 100%;
}
}
}
}
//AREA DO TAB LAYOUT CONTAINER
.productDescriptionContainer {
margin-left: 32px;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #929292;
.productDescriptionTitle {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 32px;
line-height: 32px;
color: #575757;
}
.productDescriptionText {
.container {
padding: 0;
}
}
}
// AREA DA NEWSLATTER INPUT - BUTTON
.container--menu-row-label-newsletter {
padding: 0;
.form--menu-row-label-newsletter {
display: contents !important;
}
.inputGroup--menu-row-label-newsletter {
border-bottom: 1px solid #929292 !important;
padding: 0;
}
.buttonContainer--menu-row-label-newsletter {
:global(.vtex-button) {
border: none !important;
border-bottom: 3px solid #bfbfbf !important;
background: #000000 !important;
border-radius: 0;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 14px;
line-height: 19px;
text-align: center;
color: #ffffff;
}
}
.inputGroup--menu-row-label-newsletter {
:global(.vtex-input-prefix__group) {
border: 0;
}
:global(.vtex-styleguide-9-x-input) {
background: #000000;
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 18px;
line-height: 25px;
color: #929292;
text-align: left;
}
}
}

View File

@ -0,0 +1,6 @@
//AREA DO FOOTER CREDITS PARA USAR O GLOBAL
.vtex-store-footer-2-x-footerLayout {
:global(.vtex-flex-layout-0-x-flexRow--credits) {
background-color: #000000 !important;
}
}

View File

@ -0,0 +1,44 @@
//AREA DO PRODUTO E DESCRIÇAO E CONTAINER
.listContainer {
display: flex;
justify-content: space-between;
border-bottom: 1px solid #bfbfbf;
text-decoration: none;
margin-bottom: 54px;
}
//AREA DOS BUTOES DA DESCRIÇOES DO PRODUTO
.listItem--tab-list-button {
padding: 0;
margin: 0 0 -1px 0;
display: flex;
:global(.vtex-button) {
font-family: "Open Sans", sans-serif;
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 38px;
color: #bfbfbf;
background-color: white;
border: none;
text-transform: capitalize;
border-radius: 0;
border-bottom: 1px solid #bfbfbf;
@media (max-width: 1440px) {
font-size: 18px;
}
}
}
.listItemActive {
margin: 0 0 -2px 0;
:global(.vtex-button) {
color: #000000;
border-bottom: 3px solid #000000;
@media (max-width: 1440px) {
font-size: 18px;
}
}
}

View File

@ -14,18 +14,18 @@ $color-green: #4caf50;
/* Grid breakpoints */
$grid-breakpoints: (
xs: 0,
cstm: 400,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px
xs: 0,
cstm: 400,
sm: 576px,
md: 768px,
lg: 992px,
xl: 1200px,
) !default;
$z-index: (
level1: 5,
level2: 10,
level3: 15,
level4: 20,
level5: 25
level1: 5,
level2: 10,
level3: 15,
level4: 20,
level5: 25,
) !default;