cosmetic changes
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Dmitriy Pleshevskiy 2023-06-20 16:56:46 +03:00
parent 406429cbb5
commit 8dd6acfab7
Signed by: pleshevskiy
GPG Key ID: 79C4487B44403985
1 changed files with 10 additions and 9 deletions

View File

@ -3,10 +3,7 @@ import { WorkLink } from "../mod.ts";
import { renderDate } from "../../../render.ts";
import { CHRONOLOGICAL_WORKS } from "../data.ts";
import { RoleList } from "./RoleList.ts";
const tr = E.bind(null, "tr", []);
const td = E.bind(null, "td", []);
const th = E.bind(null, "th", []);
import { TechnologyList } from "./TechnologyList.ts";
export type ChronologicalWorksTableTranslations = Readonly<
Record<
@ -20,6 +17,10 @@ export type ChronologicalWorksTableTranslations = Readonly<
>
>;
const tr = E.bind(null, "tr", []);
const td = E.bind(null, "td", []);
const th = E.bind(null, "th", []);
export const ChronologicalWorksTable = (
i18n: ChronologicalWorksTableTranslations,
): AnyNode =>
@ -37,17 +38,17 @@ export const ChronologicalWorksTable = (
E(
"tbody",
[],
CHRONOLOGICAL_WORKS.map((work) => {
return tr([
CHRONOLOGICAL_WORKS.map((work) =>
tr([
td([WorkLink(work)]),
td(work.description),
td([RoleList(work.roles)]),
td(work.technologies.join(", ")),
td([TechnologyList(work.technologies)]),
td(renderDate(work.startDate)),
td(
work.endDate ? renderDate(work.endDate) : work.status,
),
]);
}),
])
),
),
]);