{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "footer-contact", "title": "Footer — Contact Details", "description": "Phone, email, street address and opening hours in an
element, beside the site map.", "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/icons.json" ], "files": [ { "path": "src/patterns/footer-contact.tsx", "content": "import type * as React from 'react'\n\nimport { Footer, FooterNav, FooterNavColumn, FooterNavLink } from '@/components/footer'\nimport { IconCall } from '@/icons/call'\nimport { IconLocationOn } from '@/icons/location-on'\nimport { IconMail } from '@/icons/mail'\n\n// ── Sample content — replace with your service's own ────────────────────────\nconst contactSample = {\n phone: { label: '13 77 88', href: 'tel:+61137788' },\n email: { label: 'info@service.nsw.gov.au', href: 'mailto:info@service.nsw.gov.au' },\n address: ['McKell Building, 2-24 Rawson Place', 'Sydney NSW 2000'],\n hours: 'Monday to Friday, 7am – 7pm',\n}\n\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: 'Help',\n links: [\n { name: 'Accessibility help', href: '#accessibility-help' },\n { name: 'Give feedback', href: '#feedback' },\n { name: 'Report a problem', href: '#report' },\n ],\n },\n]\n\nconst legalLinksSample = [\n { name: 'Accessibility', href: '#accessibility' },\n { name: 'Privacy', href: '#privacy' },\n { name: 'Copyright', href: '#copyright' },\n]\n\nconst departmentSample = 'Digital NSW, Department of Customer Service'\n\ntype FooterContactProps = Omit