145 lines
3.5 KiB
TypeScript
145 lines
3.5 KiB
TypeScript
export interface Document {
|
||
id: number;
|
||
title: string;
|
||
category: 'ihale' | 'teknik' | 'cevresel' | 'raporlar' | 'guvenlik';
|
||
date: string;
|
||
size: string;
|
||
type: 'PDF' | 'DWG' | 'XLSX' | 'DOCX';
|
||
description: string;
|
||
downloadUrl?: string;
|
||
featured?: boolean;
|
||
}
|
||
|
||
export const documentsData: Document[] = [
|
||
{
|
||
id: 1,
|
||
title: "A2 Metro Hattı İhale Şartnamesi",
|
||
category: 'ihale',
|
||
date: "15 Ocak 2025",
|
||
size: "2.4 MB",
|
||
type: "PDF",
|
||
description: "Metro inşaatı için teknik şartname ve ihale koşulları",
|
||
featured: true
|
||
},
|
||
{
|
||
id: 2,
|
||
title: "Proje Teknik Çizimleri",
|
||
category: 'teknik',
|
||
date: "10 Şubat 2025",
|
||
size: "15.8 MB",
|
||
type: "DWG",
|
||
description: "Tüm istasyonların teknik mimari çizimleri",
|
||
featured: true
|
||
},
|
||
{
|
||
id: 3,
|
||
title: "Çevresel Etki Değerlendirme Raporu",
|
||
category: 'cevresel',
|
||
date: "5 Mart 2025",
|
||
size: "4.2 MB",
|
||
type: "PDF",
|
||
description: "Proje çevresel etki analizi ve önlemler"
|
||
},
|
||
{
|
||
id: 4,
|
||
title: "2025 Ekim Ayı İlerleme Raporu",
|
||
category: 'raporlar',
|
||
date: "1 Kasım 2025",
|
||
size: "1.8 MB",
|
||
type: "PDF",
|
||
description: "Aylık proje ilerleme ve istatistikler",
|
||
featured: true
|
||
},
|
||
{
|
||
id: 5,
|
||
title: "Güvenlik Planı ve Prosedürleri",
|
||
category: 'guvenlik',
|
||
date: "20 Ocak 2025",
|
||
size: "3.1 MB",
|
||
type: "PDF",
|
||
description: "İnşaat sahası güvenlik protokolleri"
|
||
},
|
||
{
|
||
id: 6,
|
||
title: "İstasyon Tasarım Detayları",
|
||
category: 'teknik',
|
||
date: "8 Şubat 2025",
|
||
size: "8.5 MB",
|
||
type: "PDF",
|
||
description: "İstasyon iç ve dış mekan tasarım detayları"
|
||
},
|
||
{
|
||
id: 7,
|
||
title: "Finansman Planı",
|
||
category: 'ihale',
|
||
date: "12 Ocak 2025",
|
||
size: "1.2 MB",
|
||
type: "XLSX",
|
||
description: "Proje bütçe ve finansman dağılımı"
|
||
},
|
||
{
|
||
id: 8,
|
||
title: "2025 Eylül Ayı İlerleme Raporu",
|
||
category: 'raporlar',
|
||
date: "1 Ekim 2025",
|
||
size: "2.1 MB",
|
||
type: "PDF",
|
||
description: "Aylık proje ilerleme ve istatistikler"
|
||
},
|
||
{
|
||
id: 9,
|
||
title: "Gürültü ve Titreşim Analizi",
|
||
category: 'cevresel',
|
||
date: "18 Mart 2025",
|
||
size: "3.8 MB",
|
||
type: "PDF",
|
||
description: "Çevre gürültü ve titreşim ölçüm sonuçları"
|
||
},
|
||
{
|
||
id: 10,
|
||
title: "İş Güvenliği Risk Analizi",
|
||
category: 'guvenlik',
|
||
date: "5 Şubat 2025",
|
||
size: "2.7 MB",
|
||
type: "PDF",
|
||
description: "İnşaat sahası risk değerlendirme raporu"
|
||
},
|
||
{
|
||
id: 11,
|
||
title: "Elektrik ve Mekanik Sistem Şartnamesi",
|
||
category: 'teknik',
|
||
date: "15 Mart 2025",
|
||
size: "6.3 MB",
|
||
type: "PDF",
|
||
description: "Metro elektrik ve mekanik sistemler teknik şartnamesi"
|
||
},
|
||
{
|
||
id: 12,
|
||
title: "Su Yönetimi Planı",
|
||
category: 'cevresel',
|
||
date: "10 Nisan 2025",
|
||
size: "2.2 MB",
|
||
type: "PDF",
|
||
description: "İnşaat sahası su kullanımı ve yönetimi"
|
||
}
|
||
];
|
||
|
||
export const documentCategories = [
|
||
{ id: 'all', name: 'Tümü', icon: '📋' },
|
||
{ id: 'ihale', name: 'İhale Belgeleri', icon: '📄' },
|
||
{ id: 'teknik', name: 'Teknik Dökümanlar', icon: '📐' },
|
||
{ id: 'cevresel', name: 'Çevresel Etki', icon: '🌱' },
|
||
{ id: 'raporlar', name: 'İlerleme Raporları', icon: '📊' },
|
||
{ id: 'guvenlik', name: 'Güvenlik Belgeleri', icon: '🛡️' },
|
||
];
|
||
|
||
export const getFileIcon = (type: string) => {
|
||
switch (type) {
|
||
case 'PDF': return '📕';
|
||
case 'DWG': return '📐';
|
||
case 'XLSX': return '📊';
|
||
case 'DOCX': return '📄';
|
||
default: return '📄';
|
||
}
|
||
};
|