Skip to content

Commit

Permalink
chore :: console error solve
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed May 7, 2024
1 parent 22eab99 commit baf8573
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions src/components/Main/FirstContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ const MainContainer = styled.div`
right: auto;
color: white;
z-index: 3;
> div:nth-child(1) {
> div:nth-of-type(1) {
font-size: 48px;
font-weight: 700;
}
> div:nth-child(2) {
> div:nth-of-type(2) {
margin: 32px 0 64px 0;
font-size: 20px;
}
> div:nth-child(3) {
> div:nth-of-type(3) {
width: 190px;
height: 64px;
border: 1px white solid;
Expand Down
8 changes: 4 additions & 4 deletions src/components/Main/SecondContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ const LeftBox = styled.div`
flex-direction: column;
gap: 40px;
color: #17181a;
> div:nth-child(1) {
> div:nth-of-type(1) {
font-size: 32px;
font-weight: 700;
line-height: 42px;
margin-top: -12px;
}
> div:nth-child(2) {
> div:nth-of-type(2) {
font-size: 16px;
font-weight: 600;
color: #9245db;
Expand All @@ -98,11 +98,11 @@ const DescriptionBox = styled.div`
gap: 24px;
align-items: start;
color: #17181a;
> div:nth-child(1) {
> div:nth-of-type(1) {
font-size: 20px;
font-weight: 700;
}
> div:nth-child(2) {
> div:nth-of-type(2) {
font-size: 16px;
line-height: 24px;
}
Expand Down
6 changes: 3 additions & 3 deletions src/components/Main/ThirdContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const CardBox = styled.div`
flex-direction: column;
align-items: center;
cursor: pointer;
> div:nth-child(1) {
> div:nth-of-type(1) {
display: flex;
justify-content: center;
align-items: center;
Expand All @@ -69,12 +69,12 @@ const CardBox = styled.div`
width: 208px;
}
}
> div:nth-child(2) {
> div:nth-of-type(2) {
font-size: 20px;
font-weight: 700;
margin-top: 26px;
}
> div:nth-child(3) {
> div:nth-of-type(3) {
font-size: 16px;
margin-top: 22px;
text-align: center;
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ const SubFooter = styled.div`
flex-direction: column;
align-items: center;
background-color: #6fe09e;
> div:nth-child(1) {
> div:nth-of-type(1) {
font-size: 16px;
font-weight: 700;
color: white;
}
> div:nth-child(2) {
> div:nth-of-type(2) {
font-size: 56px;
font-weight: 700;
text-align: center;
Expand Down

0 comments on commit baf8573

Please sign in to comment.