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.
24 lines
747 B
TypeScript
24 lines
747 B
TypeScript
import React from 'react';
|
|
import { Card, CardContent } from '@/components/ui/Card.tsx';
|
|
import IconWrapper from '@/components/ui/IconWrapper.tsx';
|
|
|
|
interface ContactCardProps {
|
|
icon: React.ReactNode;
|
|
title: string;
|
|
children?: React.ReactNode;
|
|
}
|
|
|
|
const ContactCard = ({ icon, title, children }: ContactCardProps) => {
|
|
return (
|
|
<Card className="text-center shadow-md transition-all duration-300 hover:shadow-lg hover:-translate-y-1">
|
|
<CardContent className="p-8">
|
|
<IconWrapper>{icon}</IconWrapper>
|
|
<h3 className="text-xl font-semibold text-foreground mb-2">{title}</h3>
|
|
<div className="text-base text-muted-foreground">{children}</div>
|
|
</CardContent>
|
|
</Card>
|
|
);
|
|
};
|
|
|
|
export default ContactCard;
|