5689898f33
- Updated CertificateForm to improve loading state UI with skeletons. - Enhanced CertificateResult with better loading indicators and structure. - Refactored ProjectForumTab to include a skeleton loader and improved error handling. - Introduced ProjectTaskTab for managing project tasks with modals for creating and editing tasks. - Improved ProjectsPage with a skeleton loader during project data fetching. - Refined AddInternsToProjects, ArchiveProjectDialog, CompleteProjectDialog, CreateProjectDialog, CreateTaskDialog, and EditTaskDialog components to handle modal states more effectively. - Updated EligibleInternTable to enhance loading states and formatting of dates. - Modified StatusSubmissionTable to simplify status display. - Improved certificate generation utility functions for better date formatting and layout management. - Removed deprecated certificate assets and added a new template for certificates. - Updated types for certificates and projects to include start and end dates.
25 lines
817 B
TypeScript
25 lines
817 B
TypeScript
import HomeHeader from "./components/HomeHeader";
|
|
import HomeProjectList from "./components/HomeProjectList";
|
|
import HomeCalendar from "../HomeCalendar";
|
|
import TaskTimeline from "./components/TaskTimeline";
|
|
|
|
export default function HomeInternPage() {
|
|
return (
|
|
<div className="flex-1">
|
|
<HomeHeader />
|
|
<div className="flex flex-col gap-5">
|
|
<div className="flex flex-col gap-5 md:grid md:grid-cols-2">
|
|
<div className="bg-box-primary border border-box-border rounded-xl p-6">
|
|
<HomeProjectList />
|
|
</div>
|
|
<div className="bg-box-primary border border-box-border rounded-xl p-6">
|
|
<TaskTimeline />
|
|
</div>
|
|
</div>
|
|
<div className="bg-box-primary">
|
|
<HomeCalendar />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}; |