From b8fb8c63c62b4b7a0b7ab9cf3a5338041660c1a9 Mon Sep 17 00:00:00 2001 From: Richie Date: Wed, 3 Jun 2026 15:30:38 +1000 Subject: [PATCH] Use NSW logo SVG asset from public/ instead of inline SVG Move the official NSW Government logo to public/nsw-logo.svg and reference it as an img in TopBar stories and template story helpers, replacing the large inline SVG blocks. Co-Authored-By: Claude Opus 4.6 --- public/nsw-logo.svg | 23 +++++++++++++++++++ .../organisms/TopBar/TopBar.stories.tsx | 17 +------------- src/components/templates/_story-helpers.tsx | 17 +------------- 3 files changed, 25 insertions(+), 32 deletions(-) create mode 100644 public/nsw-logo.svg diff --git a/public/nsw-logo.svg b/public/nsw-logo.svg new file mode 100644 index 0000000..1d4c4ed --- /dev/null +++ b/public/nsw-logo.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/organisms/TopBar/TopBar.stories.tsx b/src/components/organisms/TopBar/TopBar.stories.tsx index 028d6af..a184ca9 100644 --- a/src/components/organisms/TopBar/TopBar.stories.tsx +++ b/src/components/organisms/TopBar/TopBar.stories.tsx @@ -46,22 +46,7 @@ const DotsIcon = () => ( ) const NswLogo = () => ( - - - - - - - - - - - - - - - - + NSW Government ) function IconBtn({ icon, label }: { icon: React.ReactNode; label: string }) { diff --git a/src/components/templates/_story-helpers.tsx b/src/components/templates/_story-helpers.tsx index 3b68836..2f0f609 100644 --- a/src/components/templates/_story-helpers.tsx +++ b/src/components/templates/_story-helpers.tsx @@ -1,22 +1,7 @@ import { type ReactNode } from 'react' export const NswLogo = () => ( - - - - - - - - - - - - - - - - + NSW Government ) export function TopBarAction({ icon, label, onClick }: { icon: ReactNode; label: string; onClick?: () => void }) {