turash/bugulma/frontend/components/organization/ContactDetails.tsx
Damir Mukimov 6347f42e20
Consolidate repositories: Remove nested frontend .git and merge into main repository
- 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.
2025-11-25 06:02:57 +01:00

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);