Adjust shapes on mobile Home page

pull/307/head
Amy 1 year ago
parent fcc52791f9
commit 8cc717e91f
  1. 17
      pages/index.tsx

@ -264,20 +264,13 @@ Home.getShapesConfig = (() => {
],
hash: [
{
top: "calc(190rem / 16)",
right: "87vw",
width: "calc(60rem / 16)",
height: "calc(60rem / 16)",
},
],
triangle: [
{
top: "calc(266rem / 16)",
right: "78vw",
top: "calc(250rem / 16)",
right: "80vw",
width: "calc(45rem / 16)",
height: "calc(45rem / 16)",
transform: "rotate(-26deg)",
},
],
triangle: [
{
top: "calc(4rem / 16)",
right: "3vw",
@ -288,7 +281,7 @@ Home.getShapesConfig = (() => {
],
waves: [
{
top: "calc(168rem / 16)",
top: "calc(230rem / 16)",
left: "86vw",
width: "calc(102rem / 16)",
height: "calc(50rem / 16)",

Loading…
Cancel
Save