mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
- Remove nested git repository from bugulma/frontend/.git - Add all frontend files to main repository tracking - Convert from separate frontend/backend repos to unified monorepo - Preserve all frontend code and development history as tracked files - Eliminate nested repository complexity for simpler development workflow This creates a proper monorepo structure with frontend and backend coexisting in the same repository for easier development and deployment.
32 lines
1015 B
TypeScript
32 lines
1015 B
TypeScript
import { User } from 'lucide-react';
|
|
import React from 'react';
|
|
import { Organization } from '@/types.ts';
|
|
import { ExternalLink } from 'lucide-react';
|
|
import ContactInfoLine from '@/components/organization/ContactInfoLine.tsx';
|
|
|
|
interface ContactDetailsProps {
|
|
organization: Organization;
|
|
}
|
|
|
|
const ContactDetails = ({ organization }: ContactDetailsProps) => {
|
|
return (
|
|
<div className="space-y-3 text-base">
|
|
{organization.Website && (
|
|
<ContactInfoLine
|
|
icon={<ExternalLink className="h-4 text-current text-muted-foreground w-4" />}
|
|
href={organization.Website}
|
|
>
|
|
{organization.Website.replace(/^(https?:\/\/)?(www\.)?/, '')}
|
|
</ContactInfoLine>
|
|
)}
|
|
{organization.Address && (
|
|
<ContactInfoLine icon={<User className="h-4 w-4 text-muted-foreground" />}>
|
|
<span className="text-muted-foreground">{organization.Address}</span>
|
|
</ContactInfoLine>
|
|
)}
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default React.memo(ContactDetails);
|