Skip to content

Commit

Permalink
wip: use IconPill component for documentation link
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansick committed Jan 16, 2025
1 parent ecc8ae8 commit f4f0761
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion apps/squareone/src/components/TimesSquareApp/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import Link from 'next/link';
import styled from 'styled-components';

import { IconPill } from '@lsst-sqre/squared';

import { getDocsUrl } from '../../lib/utils/docsUrls';

const StyledSidebar = styled.div`
Expand Down Expand Up @@ -33,7 +35,12 @@ export default function Sidebar({ pageNav, pagePanel }) {
</a>
</Link>

<a href={docsUrl}>Documentation</a>
<IconPill
text="Documentation"
url={docsUrl}
textColor="#ffffff"
backgroundColor="var(--rsd-color-primary-600)"
/>

{pagePanel && pagePanel}

Expand Down

0 comments on commit f4f0761

Please sign in to comment.