Skip to content

Commit

Permalink
Btr two (#40)
Browse files Browse the repository at this point in the history
* Back to the roots

* Refactoring
  • Loading branch information
Seleznev-Ilya authored Jul 9, 2024
1 parent 5d2c23c commit b11077f
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from "react";
import { css } from "@emotion/react";
import Image from "next/image";

import SectionWrapper from "@/core/components/common/SectionWrapper";
import theme from "@/core/styles/theme";
import Image from "next/image";
import { convertPxToRem } from "@/core/utils/convertPxToRem";

import { items, text } from "./constants";
Expand All @@ -26,7 +26,9 @@ const PartnersSection = () => {
</div>
))}
{text.map((item) => (
<div css={[cssStyles.partners, cssStyles.text]}>{item.title}</div>
<div key={`${item}`} css={[cssStyles.partners, cssStyles.text]}>
{item.title}
</div>
))}
</div>
</SectionWrapper>
Expand All @@ -38,7 +40,7 @@ const cssStyles = {
display: flex;
flex-direction: column;
align-items: center;
padding: ${convertPxToRem(15)} 0 ${convertPxToRem(70)} 0
padding: ${convertPxToRem(15)} 0 ${convertPxToRem(70)} 0;
`,
titleWrapper: css`
margin: 0 auto ${theme.spacing.small};
Expand Down

0 comments on commit b11077f

Please sign in to comment.