Skip to content

Commit

Permalink
fix: Adopters 컴포넌트를 수정합니다 (#117)
Browse files Browse the repository at this point in the history
* fix: add darksrc,src,alt prop

* fix: style to tailwindcss
  • Loading branch information
po4tion authored Jun 7, 2024
1 parent dae9deb commit bf863d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/components/introduction/Adopters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export const Adopters = () => {
const isDarkMode = useIsDarkMode();

return (
<div style={{ display: 'flex', flexWrap: 'wrap', gap: '2rem', justifyContent: 'center' }}>
{adopterLogoImagePropsList.map(props => (
<Image key={props.src} {...props} src={isDarkMode ? props.darkSrc : props.src} />
<div className="flex flex-wrap gap-8 justify-center">
{adopterLogoImagePropsList.map(({ darkSrc, src, alt, ...props }) => (
<Image key={src} src={isDarkMode ? darkSrc : src} alt={alt} {...props} />
))}
</div>
);
Expand Down

0 comments on commit bf863d9

Please sign in to comment.