Files
Alberto-Audrix 32a36cceff
CI / lint-and-test (push) Canceled after 0s
first commit
2026-07-28 08:55:05 +07:00

43 lines
1.7 KiB
TypeScript

import React from 'react';
import { Screen } from '../../types.ts';
import { FilePdfIcon, FileCsvIcon } from '../icons/Icons.tsx';
import { MobileBottomNav } from './MobileLayout.tsx';
interface ReportsScreenProps {
onNavigate: (screen: Screen) => void;
}
const ReportsScreen: React.FC<ReportsScreenProps> = ({ onNavigate }) => (
<div className="bg-gray-50 h-full">
<div className="p-3 pt-8 h-full overflow-y-auto pb-16">
<h1 className="text-xl font-bold text-gray-800">Laporan</h1>
<div className="space-y-3 mt-4">
<div className="bg-white p-3 rounded-lg shadow-sm flex items-center justify-between">
<div>
<p className="font-semibold">Laporan Harian - 03/08</p>
<p className="text-xs text-gray-500">Populasi, FCR, Mortalitas</p>
</div>
<FilePdfIcon className="text-red-500 text-2xl" />
</div>
<div className="bg-white p-3 rounded-lg shadow-sm flex items-center justify-between">
<div>
<p className="font-semibold">Laporan Mingguan - W31</p>
<p className="text-xs text-gray-500">Tren Pertumbuhan & Kesehatan</p>
</div>
<FilePdfIcon className="text-red-500 text-2xl" />
</div>
<div className="bg-white p-3 rounded-lg shadow-sm flex items-center justify-between">
<div>
<p className="font-semibold">Ekspor Data Mentah</p>
<p className="text-xs text-gray-500">Data Sensor & AI (CSV)</p>
</div>
<FileCsvIcon className="text-green-600 text-2xl" />
</div>
</div>
</div>
<MobileBottomNav active="reports" onNavigate={onNavigate} />
</div>
);
export default ReportsScreen;