diff --git a/package-lock.json b/package-lock.json index 489b4a1..8b2e108 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,10 +20,14 @@ "react-dom": "^18.2.0", "react-headless-accordion": "^1.0.2", "react-scripts": "5.0.1", + "react-text-mask": "^5.5.0", "sass": "^1.57.1", "typescript": "^4.9.4", "web-vitals": "^2.1.4", "yup": "^0.32.11" + }, + "devDependencies": { + "@types/react-text-mask": "^5.4.11" } }, "node_modules/@adobe/css-tools": { @@ -3869,6 +3873,15 @@ "@types/react": "*" } }, + "node_modules/@types/react-text-mask": { + "version": "5.4.11", + "resolved": "https://registry.npmjs.org/@types/react-text-mask/-/react-text-mask-5.4.11.tgz", + "integrity": "sha512-DIJ3/dS4jd7NK3lEgsOwcgpp+ZlVrNJEiUDRayZRE/PNMbV/nLWmOKGdL0BUS29hnx0CDgITgPudKx0BgbF5fA==", + "dev": true, + "dependencies": { + "@types/react": "*" + } + }, "node_modules/@types/resolve": { "version": "1.17.1", "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", @@ -14171,6 +14184,17 @@ } } }, + "node_modules/react-text-mask": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/react-text-mask/-/react-text-mask-5.5.0.tgz", + "integrity": "sha512-SLJlJQxa0uonMXsnXRpv5abIepGmHz77ylQcra0GNd7Jtk4Wj2Mtp85uGQHv1avba2uI8ZvRpIEQPpJKsqRGYw==", + "dependencies": { + "prop-types": "^15.5.6" + }, + "peerDependencies": { + "react": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", @@ -19651,6 +19675,15 @@ "@types/react": "*" } }, + "@types/react-text-mask": { + "version": "5.4.11", + "resolved": "https://registry.npmjs.org/@types/react-text-mask/-/react-text-mask-5.4.11.tgz", + "integrity": "sha512-DIJ3/dS4jd7NK3lEgsOwcgpp+ZlVrNJEiUDRayZRE/PNMbV/nLWmOKGdL0BUS29hnx0CDgITgPudKx0BgbF5fA==", + "dev": true, + "requires": { + "@types/react": "*" + } + }, "@types/resolve": { "version": "1.17.1", "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", @@ -26962,6 +26995,14 @@ "workbox-webpack-plugin": "^6.4.1" } }, + "react-text-mask": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/react-text-mask/-/react-text-mask-5.5.0.tgz", + "integrity": "sha512-SLJlJQxa0uonMXsnXRpv5abIepGmHz77ylQcra0GNd7Jtk4Wj2Mtp85uGQHv1avba2uI8ZvRpIEQPpJKsqRGYw==", + "requires": { + "prop-types": "^15.5.6" + } + }, "read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", diff --git a/package.json b/package.json index 675403d..b390874 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "react-dom": "^18.2.0", "react-headless-accordion": "^1.0.2", "react-scripts": "5.0.1", + "react-text-mask": "^5.5.0", "sass": "^1.57.1", "typescript": "^4.9.4", "web-vitals": "^2.1.4", @@ -43,5 +44,8 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "devDependencies": { + "@types/react-text-mask": "^5.4.11" } } diff --git a/src/components/BackToTop/BackToTopButton.module.scss b/src/components/BackToTop/BackToTopButton.module.scss index 0a0b738..f511f2e 100644 --- a/src/components/BackToTop/BackToTopButton.module.scss +++ b/src/components/BackToTop/BackToTopButton.module.scss @@ -21,8 +21,23 @@ background: $color-gray-200; color: $color-white; + @media screen and (min-width: 2500px) { + width: 66px; + height: 66px; + } + & img { margin-bottom: 3px; + + @media screen and (min-width: 2500px) { + width: 24px; + } + } + } + + img { + @media screen and (min-width: 2500px) { + width: 66px; } } } diff --git a/src/components/BackToTop/BackToTopButton.tsx b/src/components/BackToTop/BackToTopButton.tsx index ed327a2..78cd9d7 100644 --- a/src/components/BackToTop/BackToTopButton.tsx +++ b/src/components/BackToTop/BackToTopButton.tsx @@ -10,11 +10,11 @@ function BackToTopButton() { return (
- - + + Logo do Whatsapp
); diff --git a/src/components/footer/Footer.module.scss b/src/components/footer/Footer.module.scss index 4dc7fca..6cde6be 100644 --- a/src/components/footer/Footer.module.scss +++ b/src/components/footer/Footer.module.scss @@ -1,5 +1,9 @@ @import "../../variables.scss"; +footer { + margin-top: 110px; +} + .newsletter__container { display: flex; align-items: center; @@ -14,6 +18,13 @@ line-height: 21px; letter-spacing: 0.05em; font-variant: small-caps; + + @media screen and (min-width: 2500px) { + font-weight: 500; + font-size: 36px; + line-height: 42px; + letter-spacing: 0.05em; + } } .newsletter__form__wrapper { @@ -34,6 +45,13 @@ color: $color-gray-200; } + @media screen and (min-width: 2500px) { + width: 668px; + height: 60px; + font-size: 28px; + line-height: 33px; + } + @media screen and (max-width: 1024px) { margin: 8px 0; width: 100%; @@ -55,6 +73,14 @@ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); border-radius: 4px; + @media screen and (min-width: 2500px) { + font-weight: 700; + font-size: 24px; + line-height: 28px; + width: 246px; + height: 60px; + } + @media screen and (max-width: 1024px) { width: 100%; border-radius: 0; @@ -68,7 +94,7 @@ align-items: center; @media screen and (min-width: 1025px) { - height: 240px; + padding: 50px 0; } @media screen and (max-width: 1024px) { @@ -90,6 +116,11 @@ padding-bottom: 10px; text-transform: uppercase; + + @media screen and (min-width: 2500px) { + font-size: 28px; + line-height: 33px; + } } & a { @@ -99,6 +130,12 @@ line-height: 14px; color: $color-black; + @media screen and (min-width: 2500px) { + font-weight: 400; + font-size: 24px; + line-height: 28px; + } + &:hover { text-decoration: underline; } @@ -168,13 +205,29 @@ ul { } .wrapper__socialmedia { - margin-bottom: 90px; + @media screen and (min-width: 2500px) { + img { + height: 70px; + } + } + + @media screen and (min-width: 1025px) { + margin-bottom: 90px; + } @media screen and (max-width: 1024px) { - margin-top: 25px; + margin: 25px 10px 0; } } .socialmedia__link { + @media screen and (min-width: 2500px) { + font-style: normal; + font-weight: 400; + font-size: 28px; + line-height: 33px; + + color: #303030; + } @media screen and (max-width: 1024px) { display: none; } @@ -207,6 +260,12 @@ ul { line-height: 12px; text-transform: capitalize; + @media screen and (min-width: 2500px) { + width: 467px; + font-size: 20px; + line-height: 23px; + } + @media screen and (min-width: 1025px) { position: absolute; left: 100px; @@ -232,10 +291,17 @@ ul { & img { height: 30px; + @media screen and (min-width: 2500px) { + height: 40px; + } } .stamps__vtexPci { height: 46px; + + @media screen and (min-width: 2500px) { + height: 66px; + } } @media screen and (min-width: 1025px) { @@ -262,10 +328,18 @@ ul { line-height: 12px; color: $color-white; margin-right: 10px; + + @media screen and (min-width: 2500px) { + font-size: 20px; + line-height: 23px; + } } & img { height: 16px; + @media screen and (min-width: 2500px) { + height: 30px; + } } @media screen and (min-width: 1025px) { diff --git a/src/components/footer/FooterTop.tsx b/src/components/footer/FooterTop.tsx index 65008c7..269ceec 100644 --- a/src/components/footer/FooterTop.tsx +++ b/src/components/footer/FooterTop.tsx @@ -112,27 +112,27 @@ const FooterTop = () => {