Skip to content

sajor2000/clif_website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

356 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CLIF Consortium Website

CLIF Logo

Common Longitudinal ICU data Format

Built with Astro License Node.js Version

Overview

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.

Key Features

  • πŸ“Š 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

Quick Statistics

  • 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

Quick Start

# 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 preview

Documentation

Core Documentation

Development Guides

Development Setup

Prerequisites

  • Node.js >= 18.0.0
  • npm >= 9.0.0

Available Scripts

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

πŸ“ Project Structure

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

🚒 Deployment

The site is configured for Vercel deployment:

  • Framework: Astro (auto-detected)
  • Build Command: npm run build
  • Output Directory: dist
  • Region: iad1 (US East)

Environment Variables

No environment variables required for basic functionality.

🎨 Key Features

Interactive FAQ System

  • Accordion-style collapsible questions
  • Sticky sidebar navigation
  • Copy-to-clipboard email functionality
  • Mobile-responsive design

Enhanced Data Dictionary

  • Multiple CLIF versions (1.0.0, 2.0.0, 2.1.0)
  • Interactive table of contents
  • Beta badges and maturity indicators
  • mCIDE GitHub integration

Team Management

  • 46+ team member profiles
  • Headshot optimization (JPGβ†’WebP)
  • Contact information with social links
  • Institution affiliations

Performance Optimizations

  • Image lazy loading and optimization
  • Component-level code splitting
  • Tailwind CSS purging
  • Sharp image processing

πŸ“‹ Content Management

Adding Team Members

  1. Add headshot to public/images/headshots/
  2. Create WebP version for optimization
  3. Update team data in respective page files

Adding Institutions

  1. Add logo to public/images/institutions/
  2. Update institution data in src/content/institutions/

Updating Content

  • Homepage: src/pages/index.astro
  • Team Page: src/pages/team.astro
  • Data Dictionary: src/pages/data-dictionary/
  • FAQ: src/pages/faq.astro

πŸ”§ Configuration Files

  • astro.config.mjs - Astro configuration
  • tailwind.config.cjs - Tailwind CSS setup
  • tsconfig.json - TypeScript configuration
  • eslint.config.js - ESLint rules
  • vercel.json - Deployment configuration

🎯 Code Quality

Standards

  • TypeScript strict mode enabled
  • ESLint with Astro-specific rules
  • Prettier for consistent formatting
  • Component-level CSS containment

Best Practices

  • Semantic HTML structure
  • Accessibility (ARIA labels, focus states)
  • Performance optimizations
  • Mobile-first responsive design

πŸ› Troubleshooting

Common Issues

  1. Build Errors: Run npm run typecheck to identify TypeScript issues
  2. Style Issues: Check Tailwind class conflicts
  3. Image Issues: Verify image paths are absolute (/images/...)

Development Tips

  • Use npm run dev for hot reloading
  • Images in public/ are served from root (/images/...)
  • Components use TypeScript interfaces for props

πŸ“ˆ Analytics & Monitoring

  • Web Vitals integration ready
  • Sentry error tracking configured
  • SEO optimization with meta tags
  • Sitemap generation enabled

🀝 Contributing

For new developers taking over this project:

  1. Familiarize with Astro framework concepts
  2. Review the component architecture in src/components/
  3. Understand the content structure and routing
  4. Test changes locally before deployment
  5. Maintain code quality standards

πŸ“ License

ISC License - See LICENSE file for details

πŸ”— Links


Project Status: Production Ready βœ…
Last Updated: Mar 2026
Maintainer: CLIF Consortium Team

About

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors