import React from 'react'; import { HistoricalLandmark, Page } from '@/types.ts'; import { Card, CardContent } from '@/components/ui/Card.tsx'; import { History } from 'lucide-react'; import Button from '@/components/ui/Button.tsx'; interface HistoricalContextCardProps { landmark: HistoricalLandmark; onNavigate: (page: Page) => void; } const HistoricalContextCard = ({ landmark, onNavigate }: HistoricalContextCardProps) => { return (

Исторический контекст

Это здание является историческим объектом:{' '} {landmark.name}, построенным в {landmark.period}.

); }; export default React.memo(HistoricalContextCard);