diff --git a/components/layout/navbar.tsx b/components/layout/navbar.tsx index 5520810..4f034d0 100644 --- a/components/layout/navbar.tsx +++ b/components/layout/navbar.tsx @@ -99,7 +99,7 @@ const Navbar: NextPage = () => { > Log out -

Version 2.2.2

+

Version 2.3.0

diff --git a/components/matches/detail/field/field.module.scss b/components/matches/detail/field/field.module.scss index e9aa37f..724fb60 100644 --- a/components/matches/detail/field/field.module.scss +++ b/components/matches/detail/field/field.module.scss @@ -7,16 +7,64 @@ align-items: center; .field { - width: 100%; + border-radius: 20px; + border: 3px solid ghostwhite; height: 400px; - background-image: url('/images/field.svg'); - background-repeat: no-repeat; - background-size: 100% 100%; - margin-top: 20px; + background-color: #6abd67; display: grid; + margin-top: 20px; + position: relative; + width: 90%; + + .smallArea { + border: 4px solid ghostwhite; + border-bottom: 0; + bottom: -43px; + left: 50%; + transform: translate(-50%, -50%); + position: absolute; + height: 80px; + width: 30%; + } + + .bigArea { + border: 4px solid ghostwhite; + border-bottom: 0; + bottom: -64px; + left: 50%; + transform: translate(-50%, -50%); + position: absolute; + height: 128px; + width: 60%; + } + + .outArea { + position: absolute; + left: 50%; + transform: translate(-50%, -50%); + height: 71px; + bottom: 89px; + border-radius: 150px 150px 0 0; + border: 4px solid ghostwhite; + width: 25%; + } + + .middle { + position: absolute; + left: 50%; + top: 32px; + transform: translate(-50%, -50%); + height: 70px; + bottom: 89px; + width: 25%; + border-radius: 0 0 150px 150px; + border: 4px solid ghostwhite; + } + .player { margin: auto auto; + z-index: 1; } .player1 { @@ -392,13 +440,30 @@ @media (max-width: $medium-device) { .fieldGroup { width: 90%; - } -} -@media (max-width: $medium-small-device) { - .fieldGroup { .field { - height: 315px; + .smallArea { + bottom: -32px; + height: 60px; + } + + .bigArea { + bottom: -46px; + height: 92px; + width: 55%; + } + + .outArea { + bottom: 65px; + height: 48px; + width: 82px; + } + + .middle { + top: 22px; + height: 48px; + width: 82px; + } } } } @@ -406,16 +471,28 @@ @media (max-width: $small-device) { .fieldGroup { .field { - background-image: url('/images/field-mobile-md.svg'); + .smallArea { + bottom: -26px; + height: 45px; + } + + .bigArea { + bottom: -38px; + height: 75px; + width: 55%; + } + + .outArea { + bottom: 51px; + height: 40px; + width: 64px; + } + + .middle { + top: 17px; + height: 40px; + width: 64px; + } } } } - -@media (max-width: $extra-small-device) { - .fieldGroup { - .field { - background-image: url('/images/field-mobile-sm.svg'); - } - } -} - diff --git a/components/matches/detail/field/field.tsx b/components/matches/detail/field/field.tsx index 32e1bc9..cf594f8 100644 --- a/components/matches/detail/field/field.tsx +++ b/components/matches/detail/field/field.tsx @@ -78,6 +78,10 @@ const FieldLayout: NextPage = ({team, isAway}) => {
{playersMap} +
+
+
+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/images/field-mobile-sm.svg b/public/images/field-mobile-sm.svg deleted file mode 100644 index 358bccc..0000000 --- a/public/images/field-mobile-sm.svg +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/images/field.svg b/public/images/field.svg deleted file mode 100644 index 55de46b..0000000 --- a/public/images/field.svg +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/images/liverpool-fc-logo.png b/public/images/liverpool-fc-logo.png deleted file mode 100644 index a3da1e0..0000000 Binary files a/public/images/liverpool-fc-logo.png and /dev/null differ diff --git a/public/images/user-image-fallback.png b/public/images/user-image-fallback.png deleted file mode 100644 index 1eceda5..0000000 Binary files a/public/images/user-image-fallback.png and /dev/null differ