Skip to content

Commit

Permalink
Merge pull request #495 from EscolaLMS/feature/footer-fix
Browse files Browse the repository at this point in the history
footer fix
  • Loading branch information
mtmotyka authored Jul 11, 2024
2 parents 1c7a822 + e5390ca commit 0243b44
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions src/components/_App/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,15 +232,17 @@ const Footer = () => {
<div className={"links-row pages"}>
{chunkArray(pages.list, 4).map((chunk: PageListItem[]) => (
<div className="chunk-pages" key={chunk.toString()}>
{chunk.map((page: PageListItem) => (
<LmsLink
key={page.id}
className="single-link"
href={`/#/${page.slug}`}
>
<Text size="14">{page.title}</Text>
</LmsLink>
))}
{chunk
.filter((page: PageListItem) => !page.slug.includes("mobile"))
.map((page: PageListItem) => (
<LmsLink
key={page.id}
className="single-link"
href={`/#/${page.slug}`}
>
<Text size="14">{page.title}</Text>
</LmsLink>
))}
</div>
))}
</div>
Expand Down

0 comments on commit 0243b44

Please sign in to comment.