feat: add projects page and rework home page
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { t } from '../utils/i18n';
|
||||
|
||||
export interface TimePeriod {
|
||||
start: string;
|
||||
end?: string;
|
||||
}
|
||||
|
||||
export const timeToString = (time: TimePeriod): string =>
|
||||
time.end ? `${time.start} — ${time.end}` : `${t('misc.since')} ${time.start}`;
|
||||
Reference in New Issue
Block a user