diff --git a/submissions/examples/commit-history-timeline/README.md b/submissions/examples/commit-history-timeline/README.md new file mode 100644 index 00000000..07ffb1d1 --- /dev/null +++ b/submissions/examples/commit-history-timeline/README.md @@ -0,0 +1,44 @@ +# Git Commit History Timeline Component + +A developer-focused commit history timeline inspired by GitHub, GitLab, and Linear. Displays commit messages with a vertical connector line, color-coded dots by commit type, hash badges, author names, and relative timestamps. Includes staggered slide-in animation and hover effects. + +## Classes + +| Class | Description | +|---|---| +| `ease-commit-timeline` | Container with vertical connector line | +| `ease-commit` | Individual commit entry | +| `ease-commit-dot` | Colored dot on the timeline | +| `ease-commit-dot--feat` | Feature commit (purple) | +| `ease-commit-dot--fix` | Bugfix commit (red) | +| `ease-commit-dot--docs` | Documentation commit (blue) | +| `ease-commit-dot--refactor` | Refactor commit (green) | +| `ease-commit-dot--chore` | Chore commit (amber) | +| `ease-commit-content` | Card with title and meta | +| `ease-commit-title` | Commit message heading | +| `ease-commit-meta` | Hash, author, and time row | +| `ease-commit-hash` | Short hash monospace badge | +| `ease-commit-author` | Author name | +| `ease-commit-time` | Relative timestamp | + +## Usage + +```html +