The CLIF Consortium website is a modern, performant web application showcasing the Common Longitudinal ICU data Format standard for critical care data research. Built with Astro for optimal performance and developer experience.
- π Interactive Data Dictionary - Comprehensive documentation of CLIF data standards (v1.0.0, v2.0.0, v2.1.0)
- π¨ Enhanced Visual Design - Color-coded field types for improved readability
- π Advanced Search - Searchable sidebar navigation and data tables
- π± Fully Responsive - Optimized for all device sizes
- β‘ Lightning Fast - Static site generation with Astro
- π₯ 18 Member Institutions - Collaborative healthcare data standardization
- 18 participating institutions with 62 hospitals
- 808,749+ unique ICU patients across the network
- 46+ consortium members contributing to the standard
- 3 CLIF versions documented with comprehensive field definitions
# Clone the repository
git clone https://github.com/sajor2000/clif_website.git
cd clif_website
# Install dependencies
npm install
# Start development server
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewCLAUDE.md- AI assistant guidance and project conventionsdocs/folder-structure.md- Detailed project structure
- Node.js >= 18.0.0
- npm >= 9.0.0
| Command | Description |
|---|---|
npm run dev |
Start development server on http://localhost:4321 |
npm run build |
Build for production to ./dist |
npm run preview |
Preview production build locally |
npm run lint |
Run ESLint |
npm run lint:fix |
Fix ESLint issues |
npm run format |
Format with Prettier |
npm run typecheck |
TypeScript type checking |
src/
βββ components/ # Reusable Astro components
β βββ layout/ # Header, Footer, Navigation
β βββ home/ # Homepage-specific components
β βββ team/ # Team member components
β βββ cohort/ # Dashboard components
β βββ shared/ # Buttons, cards, utilities
βββ content/ # Content Collections
β βββ institutions/ # Institution data (JSON)
β βββ team/ # Team profiles (empty - using hardcoded)
β βββ publications/ # Research data (empty)
β βββ tools/ # Tool descriptions (empty)
βββ layouts/ # Page layouts
βββ pages/ # File-based routing
βββ styles/ # Global CSS
βββ env.d.ts # TypeScript definitions
public/
βββ images/ # Static assets
β βββ headshots/ # Team member photos (JPG/WebP)
β βββ institutions/ # University logos
β βββ data-dictionary/ # ERD diagrams
β βββ misc/ # Site images
βββ favicon.svg
βββ manifest.json
βββ robots.txt
The site is configured for Vercel deployment:
- Framework: Astro (auto-detected)
- Build Command:
npm run build - Output Directory:
dist - Region:
iad1(US East)
No environment variables required for basic functionality.
- Accordion-style collapsible questions
- Sticky sidebar navigation
- Copy-to-clipboard email functionality
- Mobile-responsive design
- Multiple CLIF versions (1.0.0, 2.0.0, 2.1.0)
- Interactive table of contents
- Beta badges and maturity indicators
- mCIDE GitHub integration
- 46+ team member profiles
- Headshot optimization (JPGβWebP)
- Contact information with social links
- Institution affiliations
- Image lazy loading and optimization
- Component-level code splitting
- Tailwind CSS purging
- Sharp image processing
- Add headshot to
public/images/headshots/ - Create WebP version for optimization
- Update team data in respective page files
- Add logo to
public/images/institutions/ - Update institution data in
src/content/institutions/
- Homepage:
src/pages/index.astro - Team Page:
src/pages/team.astro - Data Dictionary:
src/pages/data-dictionary/ - FAQ:
src/pages/faq.astro
astro.config.mjs- Astro configurationtailwind.config.cjs- Tailwind CSS setuptsconfig.json- TypeScript configurationeslint.config.js- ESLint rulesvercel.json- Deployment configuration
- TypeScript strict mode enabled
- ESLint with Astro-specific rules
- Prettier for consistent formatting
- Component-level CSS containment
- Semantic HTML structure
- Accessibility (ARIA labels, focus states)
- Performance optimizations
- Mobile-first responsive design
- Build Errors: Run
npm run typecheckto identify TypeScript issues - Style Issues: Check Tailwind class conflicts
- Image Issues: Verify image paths are absolute (
/images/...)
- Use
npm run devfor hot reloading - Images in
public/are served from root (/images/...) - Components use TypeScript interfaces for props
- Web Vitals integration ready
- Sentry error tracking configured
- SEO optimization with meta tags
- Sitemap generation enabled
For new developers taking over this project:
- Familiarize with Astro framework concepts
- Review the component architecture in
src/components/ - Understand the content structure and routing
- Test changes locally before deployment
- Maintain code quality standards
ISC License - See LICENSE file for details
Project Status: Production Ready β
Last Updated: Mar 2026
Maintainer: CLIF Consortium Team
