diff --git a/public/assets/chart/person.svg b/public/assets/chart/person.svg new file mode 100644 index 0000000..593574a --- /dev/null +++ b/public/assets/chart/person.svg @@ -0,0 +1 @@ + diff --git a/public/assets/chart/person_add.svg b/public/assets/chart/person_add.svg new file mode 100644 index 0000000..a20a5ff --- /dev/null +++ b/public/assets/chart/person_add.svg @@ -0,0 +1 @@ + diff --git a/public/assets/chart/person_add_remove.svg b/public/assets/chart/person_add_remove.svg new file mode 100644 index 0000000..11aa919 --- /dev/null +++ b/public/assets/chart/person_add_remove.svg @@ -0,0 +1 @@ + diff --git a/public/assets/chart/person_remove.svg b/public/assets/chart/person_remove.svg new file mode 100644 index 0000000..4fa7027 --- /dev/null +++ b/public/assets/chart/person_remove.svg @@ -0,0 +1 @@ + diff --git a/public/assets/chart/release.svg b/public/assets/chart/release.svg new file mode 100644 index 0000000..02375a9 --- /dev/null +++ b/public/assets/chart/release.svg @@ -0,0 +1 @@ + diff --git a/public/assets/chart/tasks.svg b/public/assets/chart/tasks.svg new file mode 100644 index 0000000..8b926b9 --- /dev/null +++ b/public/assets/chart/tasks.svg @@ -0,0 +1 @@ + diff --git a/src/ts/components/DayInfo/components/CommitInfo.tsx b/src/ts/components/DayInfo/components/CommitInfo.tsx new file mode 100644 index 0000000..5c94565 --- /dev/null +++ b/src/ts/components/DayInfo/components/CommitInfo.tsx @@ -0,0 +1,33 @@ +import React from 'react'; + +import { getShortTime } from 'ts/helpers/formatter'; + +import style from '../index.module.scss'; + +interface ICommit { + date: string; + message: string; +} + +interface CommitInfoProps { + commits: ICommit[]; +} + +export default function CommitInfo({ commits }: CommitInfoProps): React.ReactElement { + const items = commits.map((commit: any) => { + return ( +