Merge pull request 'Entrega do Desafio' (#3) from feature/desafio-react-e-typescript into develop

Reviewed-on: #3
This commit is contained in:
Ana Carolina Duarte Cavalcante 2023-01-16 11:09:33 +00:00
commit 8eeff24e91
6 changed files with 560 additions and 669 deletions

1219
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -11,11 +11,11 @@
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"formik": "^2.2.9",
"node-sass": "^8.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.6.1",
"react-scripts": "5.0.1",
"sass": "^1.57.1",
"typescript": "^4.9.4",
"web-vitals": "^2.1.4",
"yup": "^0.32.11"

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="pt-br">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />

View File

@ -232,7 +232,7 @@ header {
position: absolute;
z-index: 3;
width: 99.597%;
left: -16px;
left: -16.01px;
transform: translateX(0);
transition: 0.5s ease-in-out;
}

View File

@ -41,8 +41,6 @@ main {
margin: 0;
&__Li {
list-style: none;
display: flex;
align-items: center;
&__ArrowPointToRight {
margin-right: 9.72px;
width: 4.56px;

View File

@ -10,7 +10,7 @@ const phone =
const instagram = /@([A-Za-z0-9_](?:(?:[A-Za-z0-9_]|(?:\.(?!\.))){0,28}(?:[A-Za-z0-9_]))?)/;
const birthDate = /\d{2}.\d{2}.\d{4}/;
const birthDate = /^[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{4}$/;