Skip to content

Commit

Permalink
feat: 엘리스 스폰서 로고 추가 (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
saseungmin authored Nov 28, 2024
1 parent 083f7a3 commit 6850eeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file added apps/web/public/assets/logos/sponsors/elice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions apps/web/src/components/organisms/SponsorSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Image from 'next/image';

import { Button } from '@dnd-academy/ui';

import ExternalLink from '@/components/atoms/ExternalLink';
import SectionTitle from '@/components/atoms/SectionTitle';
import { LinkIcon } from '@/lib/assets/icons';

Expand All @@ -18,6 +19,7 @@ function SponsorSection() {
{ sponsor: 'asan-nanum', url: 'https://asan-nanum.org', image: 'asan-nanum.png' },
{ sponsor: 'impact-campus', url: 'https://impactcampus.campaignus.me', image: 'impact-campus.png' },
{ sponsor: 'notefolio', url: 'https://notefolio.net', image: 'notefolio.png' },
{ sponsor: 'elice', url: 'https://elice.io/ko', image: 'elice.png' },
];

return (
Expand All @@ -34,15 +36,15 @@ function SponsorSection() {
>
<div className={styles.sponsorsWrapper}>
{sponsors.map(({ sponsor, url, image }) => (
<a key={sponsor} href={url} className={styles.sponsor} rel="noopener noreferrer" target="_blank">
<ExternalLink key={sponsor} href={url} className={styles.sponsor}>
<Image
src={`/assets/logos/sponsors/${image}`}
alt={sponsor}
fill
sizes="(max-width: 1204px) 50vw, 33vw"
className={styles.sponsorImage}
/>
</a>
</ExternalLink>
))}
</div>
<Button
Expand Down

0 comments on commit 6850eeb

Please sign in to comment.