{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "contact-1", "type": "registry:block", "description": "Elegant contact page with office info, email, phone, and social links.", "files": [ { "path": "registry/blocks/contact/1/contact.tsx", "content": "\"use client\";\n\nimport { type LucideIcon, Mail, MapPin, Phone } from \"lucide-react\";\nimport type React from \"react\";\nimport { cn } from \"@/lib/utils\";\n\nconst APP_EMAIL = \"mail@example.com\";\nconst APP_PHONE = \"+92 300 1234567\";\nconst APP_PHONE_2 = \"+92 321 9876543\";\n\nexport function Contact() {\n const socialLinks = [\n {\n icon: GithubIcon,\n href: \"#\",\n label: \"GitHub\",\n },\n {\n icon: XIcon,\n href: \"#\",\n label: \"Twitter\",\n },\n ];\n\n return (\n
\n
\n

Contact Us

\n

\n Contact the support team at efferd.\n

\n
\n \n
\n \n \n {APP_EMAIL}\n \n \n \n \n Office # 100, 101 Second Floor Kohinoor 1, Faisalabad, Pakistan\n \n \n \n
\n \n {APP_PHONE}\n \n \n {APP_PHONE_2}\n \n
\n \n
\n \n
\n

\n Find us online\n

\n
\n {socialLinks.map((link) => (\n \n \n \n {link.label}\n \n \n ))}\n
\n
\n
\n );\n}\n\nfunction BorderSeparator({ className }: React.ComponentProps<\"div\">) {\n return (\n
\n );\n}\n\ntype ContactBox = React.ComponentProps<\"div\"> & {\n icon: LucideIcon;\n title: string;\n description: string;\n};\n\nfunction Box({\n title,\n description,\n className,\n children,\n ...props\n}: ContactBox) {\n return (\n \n
\n \n

\n {title}\n

\n
\n
{children}
\n
\n

{description}

\n
\n
\n );\n}\n\nconst GithubIcon = (props: React.ComponentProps<\"svg\">) => (\n \n \n \n);\n\nconst XIcon = (props: React.ComponentProps<\"svg\">) => (\n \n \n \n);\n", "type": "registry:component" } ], "categories": [ "contact" ] }