### Run Maternix Frontend Locally Source: https://github.com/dreiiiiim/maternix-frontend-backend/blob/main/README.md Commands to navigate to the frontend directory, install dependencies, and start the development server. ```bash cd frontend npm install npm run dev ``` -------------------------------- ### Configure Project Environment Source: https://context7.com/dreiiiiim/maternix-frontend-backend/llms.txt Commands for installing dependencies and managing the development and production lifecycle of the Next.js application. ```bash # Navigate to frontend directory cd frontend # Install dependencies npm install # Start development server npm run dev # Build for production npm run build # Start production server npm start ``` -------------------------------- ### Implement Root Layout Source: https://context7.com/dreiiiiim/maternix-frontend-backend/llms.txt The main layout wrapper providing global styling and the navigation header for the application. ```tsx // frontend/src/app/layout.tsx import type { Metadata } from "next"; import "./globals.css"; import { Header } from "@/components/Header"; export const metadata: Metadata = { title: "Maternix Track", description: "Advanced clinical tracking for nursing students and instructors in maternal health education.", }; export default function RootLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { return (
Current Score: {calculateScore().toFixed(1)} / 24
{leopoldsManeuverCriteria.map((criterion) => ({criterion.id}. {criterion.text} ({criterion.points} points)
{procedure.description}
{/* Section Toggle Buttons */}