{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "footer-sitemap-brand", "title": "Footer — Site Map with Brand", "description": "The NSW Government mark and a one-paragraph mission beside three link columns.", "registryDependencies": [ "https://ui.digital.nsw.gov.au/registry/r/theme.json", "https://ui.digital.nsw.gov.au/registry/r/footer.json", "https://ui.digital.nsw.gov.au/registry/r/logo.json" ], "files": [ { "path": "src/patterns/footer-sitemap-brand.tsx", "content": "import type * as React from 'react'\n\nimport { Footer, FooterNav, FooterNavColumn } from '@/components/footer'\nimport { Logo } from '@/components/logo'\n\n// ── Sample content — replace with your service's own ────────────────────────\nconst columnsSample = [\n {\n heading: 'Services',\n links: [\n { name: 'Apply for a licence', href: '#licence' },\n { name: 'Pay a fine', href: '#fine' },\n { name: 'Book an appointment', href: '#appointment' },\n ],\n },\n {\n heading: 'About',\n links: [\n { name: 'Who we are', href: '#about' },\n { name: 'Our strategy', href: '#strategy' },\n { name: 'Careers', href: '#careers' },\n ],\n },\n {\n heading: 'Help',\n links: [\n { name: 'Contact us', href: '#contact' },\n { name: 'Accessibility help', href: '#accessibility-help' },\n { name: 'Give feedback', href: '#feedback' },\n ],\n },\n]\n\nconst legalLinksSample = [\n { name: 'Accessibility', href: '#accessibility' },\n { name: 'Privacy', href: '#privacy' },\n { name: 'Copyright', href: '#copyright' },\n { name: 'Disclaimer', href: '#disclaimer' },\n]\n\nconst departmentSample = 'Digital NSW, Department of Customer Service'\n\nconst missionSample =\n 'We help NSW Government teams design and build digital services that are simple, inclusive and trusted by the people who use them.'\n\ntype FooterSitemapBrandProps = Omit, 'children'> & {\n columns?: typeof columnsSample\n /** Short statement of what the agency or service does. Two lines at most. */\n mission?: string\n}\n\n/**\n * The NSW Government mark and a one-paragraph mission beside three link\n * columns. Use when the footer is the first place a visitor learns who runs\n * the service — a standalone product site, or an agency's front door.\n *\n * See `FooterSimpleCentred` for the note on choosing `logoType` per surface:\n * `default` here, because it inverts correctly with the theme.\n */\nexport function FooterSitemapBrand({\n columns = columnsSample,\n mission = missionSample,\n legalLinks = legalLinksSample,\n department = departmentSample,\n ...props\n}: FooterSitemapBrandProps) {\n return (\n \n )\n}\n", "type": "registry:component", "target": "components/footer-sitemap-brand.tsx" } ], "type": "registry:block", "meta": { "nswdsVersion": "5.1.0" } }