Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
emscb committed Sep 24, 2024
2 parents 22ed822 + 2531886 commit 0998482
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
16 changes: 9 additions & 7 deletions src/components/Footer/SponsorList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ const SponsorList = () => {
<Vertical>
<H1>{t("후원사 목록")}</H1>
<SponsorTableList>
{listOfSponsorLevel.map((level) => (
<SponsorTable
max={level.name === "키스톤" ? 1 : 3}
levelName={t(level.name)}
sponsors={level.sponsor}
/>
))}
{listOfSponsorLevel
.filter((level) => level.sponsor.length !== 0)
.map((level) => (
<SponsorTable
max={level.name === "키스톤" ? 1 : 3}
levelName={t(level.name)}
sponsors={level.sponsor}
/>
))}
</SponsorTableList>
</Vertical>
</Container>
Expand Down
2 changes: 1 addition & 1 deletion src/models/api/sponsor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export type APISponsorLevelOnly = {
export type APISponsorLevelWithSponsor = {
id: number;
name: string;
desc: string;
desc?: string;
visible: boolean;
order: number;
sponsor: APISponsor[];
Expand Down
2 changes: 1 addition & 1 deletion src/models/sponsor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class SponsorLevel {
export class SponsorLevelWithSponsor {
id: number;
name: string;
desc: string;
desc?: string;
visible: boolean;
order: number;
sponsor: Sponsor[];
Expand Down

0 comments on commit 0998482

Please sign in to comment.