Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwooding authored and DavieReid committed Jul 5, 2024
1 parent 26d5598 commit b448047
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions packages/site-components/src/DocPaginator/DocPaginator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ export const DocPaginator: React.FC<DocPaginatorProps> = ({ linkSuffix, next, pr
{prev && (
<TileBase border className={styles.tile}>
<Link className={styles.link} href={prev.route} endIcon="none">
<P6>Previous {linkSuffix}</P6>
<Icon className={classnames(styles.icon, styles.iconPrev)} name="chevronLeft" />
<P3 className={classnames(styles.linkText)}>
{prev.group ? `${prev.group} / ${prev.title}` : prev.title}
</P3>
<span>
<P6>Previous {linkSuffix}</P6>
<Icon className={classnames(styles.icon, styles.iconPrev)} name="chevronLeft" />
<P3 className={classnames(styles.linkText)}>
{prev.group ? `${prev.group} / ${prev.title}` : prev.title}
</P3>
</span>
</Link>
</TileBase>
)}
Expand All @@ -59,11 +61,13 @@ export const DocPaginator: React.FC<DocPaginatorProps> = ({ linkSuffix, next, pr
{next && (
<TileBase border className={classnames(styles.tile, styles.nextLink)}>
<Link className={styles.link} href={next.route} endIcon="none">
<P6>Next {linkSuffix}</P6>
<Icon className={classnames(styles.icon, styles.iconNext)} name="chevronRight" />
<P3 className={classnames(styles.linkText)}>
{next.group ? `${next.group} / ${next.title}` : next.title}
</P3>
<span>
<P6>Next {linkSuffix}</P6>
<Icon className={classnames(styles.icon, styles.iconNext)} name="chevronRight" />
<P3 className={classnames(styles.linkText)}>
{next.group ? `${next.group} / ${next.title}` : next.title}
</P3>
</span>
</Link>
</TileBase>
)}
Expand Down

0 comments on commit b448047

Please sign in to comment.