Skip to content

Commit

Permalink
Merge pull request #230 from DNDACADEMY/develop
Browse files Browse the repository at this point in the history
fix: 스폰서 섹션의 이미지 s3 걷어내기 및 스폰서 이미지 크기가 다른 이슈 수정
  • Loading branch information
saseungmin authored Nov 20, 2024
2 parents b103a32 + a31a9f9 commit 85ea904
Show file tree
Hide file tree
Showing 14 changed files with 63 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/web/public/assets/logos/sponsors/hanbit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/web/public/assets/logos/sponsors/maru180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/web/public/assets/logos/sponsors/wanted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/web/public/assets/logos/sponsors/witi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
position: relative;
max-width: 280px;
width: 100%;
height: 40px;
height: 65px;

@include sm {
height: 30px;
}

.sponsorImage {
object-fit: contain;
object-fit: cover;
}
}
}
Expand All @@ -32,3 +32,9 @@
stroke: color('gray03');
}
}

.sponsorLogo {
display: flex;
align-items: center;
justify-content: center;
}
2 changes: 1 addition & 1 deletion apps/web/src/components/organisms/SponsorSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function SponsorSection() {
{sponsors.map(({ sponsor, url, image }) => (
<a key={sponsor} href={url} className={styles.sponsor} rel="noopener noreferrer" target="_blank">
<Image
src={`${process.env.NEXT_PUBLIC_S3_HOST}/images/icon/sponsor/${image}`}
src={`/assets/logos/sponsors/${image}`}
alt={sponsor}
fill
sizes="(max-width: 1204px) 50vw, 33vw"
Expand Down
30 changes: 30 additions & 0 deletions apps/web/src/lib/assets/logos/elice.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions apps/web/src/lib/assets/logos/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import BehanceLogo from './behance.svg';
import DesignerBadge from './designer-badge.svg';
import DeveloperBadge from './developer-badge.svg';
import DNDLogo from './dnd.svg';
import EliceLogo from './elice.svg';
import EmailLogo from './email.svg';
import FacebookLogo from './facebook.svg';
import FigmaLogo from './figma.svg';
Expand All @@ -13,6 +14,7 @@ import InstagramLogo from './instagram.svg';
import LinkedInLogo from './linkedin.svg';
import MediumLogo from './medium.svg';
import NaverLogo from './naver.svg';
import NotefolioLogo from './notefolio.svg';
import TistoryLogo from './tistory.svg';
import VelogLogo from './velog.svg';
import YoutubeLogo from './youtube.svg';
Expand All @@ -23,6 +25,7 @@ export {
DesignerBadge,
DeveloperBadge,
DNDLogo,
EliceLogo,
EmailLogo,
FacebookLogo,
FigmaLogo,
Expand All @@ -33,6 +36,7 @@ export {
LinkedInLogo,
MediumLogo,
NaverLogo,
NotefolioLogo,
TistoryLogo,
VelogLogo,
YoutubeLogo,
Expand Down
20 changes: 20 additions & 0 deletions apps/web/src/lib/assets/logos/notefolio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 85ea904

Please sign in to comment.