Skip to content

Commit

Permalink
yourgov: Reorder ABNs to appear after headings & before digits (#1937)
Browse files Browse the repository at this point in the history
  • Loading branch information
stowball authored Jan 30, 2025
1 parent 23d3a83 commit ad91688
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/twelve-gifts-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ag.ds-next/yourgov': minor
---

yourgov: Reorder ABNs to appear after headings & prefix before digits.
4 changes: 2 additions & 2 deletions yourgov/pages/app/dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ const Page: NextPageWithLayout = () => {
<PageContent>
<Stack gap={3}>
<Stack alignItems="flex-start" gap={1}>
<H1>{selectedBusiness.name}</H1>
<Flex gap={0.5}>
<Tag>{selectedBusiness.abn}</Tag>
<Text>ABN</Text>
<Tag>{selectedBusiness.abn}</Tag>
</Flex>
<H1>{selectedBusiness.name}</H1>
<TextLink href="/not-found">View business details</TextLink>
</Stack>

Expand Down
8 changes: 4 additions & 4 deletions yourgov/pages/app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ const Page: NextPageWithLayout = () => {
<Card as="li" clickable key={idx} shadow>
<CardInner>
<Stack gap={1}>
<Flex gap={0.5}>
<Tag>{linkedBusinesses.abn}</Tag>
<Text>ABN</Text>
</Flex>
<H3>
<CardLink
href={businessHref}
Expand All @@ -117,6 +113,10 @@ const Page: NextPageWithLayout = () => {
{linkedBusinesses.name}
</CardLink>
</H3>
<Flex gap={0.5}>
<Text>ABN</Text>
<Tag>{linkedBusinesses.abn}</Tag>
</Flex>
<Text>Role: {linkedBusinesses.role}</Text>
</Stack>
</CardInner>
Expand Down

0 comments on commit ad91688

Please sign in to comment.