diff --git a/src/pages/Main/components/Projects/Projects.jsx b/src/pages/Main/components/Projects/Projects.jsx index cf7682f..3a56ae2 100755 --- a/src/pages/Main/components/Projects/Projects.jsx +++ b/src/pages/Main/components/Projects/Projects.jsx @@ -22,7 +22,11 @@ const mock = [ link: "/projects", }, { - image: project, + image: comBattle, + link: "/projects", + }, + { + image: comBattle, link: "/projects", }, ]; diff --git a/src/pages/Main/components/Projects/Projects.styles.scss b/src/pages/Main/components/Projects/Projects.styles.scss index 16e9fb5..a2b68a3 100755 --- a/src/pages/Main/components/Projects/Projects.styles.scss +++ b/src/pages/Main/components/Projects/Projects.styles.scss @@ -4,18 +4,17 @@ display: flex; flex-wrap: wrap; justify-content: space-between; - row-gap: 32px; + gap: 32px; - .card:first-of-type { - width: 100%; - aspect-ratio: 3; + .card:nth-child(-n + 2) { + flex: 1.5 1 40%; } .card { display: block; position: relative; - width: calc(100%/3 - 16px); - aspect-ratio: 3/2; + flex: 1 0.5 30%; + height: 250px; border-width: 1px; border-style: solid;