feat: update project section

This commit is contained in:
2025-09-04 14:46:45 -04:00
parent ea43580a4c
commit d21a436e45
2 changed files with 35 additions and 18 deletions

View File

@@ -102,7 +102,7 @@
};
mkProjects = projects:
mkSection {
mkProjectSection {
label = "Projects";
children = map (item: {
heading = item.name;
@@ -118,6 +118,29 @@
) projects;
};
mkProjectSection = section:
''
\section{${section.label}}
\begin{itemize}[leftmargin=*]
${builtins.concatStringsSep "\n" (map mkProjectSectionChild section.children)}
\end{itemize}
'';
mkProjectSectionChild = child:
''
\vspace{-2pt}\item
\begin{tabular*}{0.97\textwidth}[t]{l@{\extracolsep{\fill}}r}
\textbf{${child.heading}} & \textit{${(builtins.head child.children).dates}} \\
\end{tabular*}\vspace{${vspace}}
\begin{itemize}
${builtins.concatStringsSep "\n" (map mkItem (builtins.head child.children).items)}
\end{itemize}\vspace{${vspace}}
'';
mkLeadership = leadership:
mkSection {
label = "Leadership Experience";