From 23f04635cc26e1b0553088f28553f518488a9fc8 Mon Sep 17 00:00:00 2001 From: Joris Date: Wed, 1 May 2019 15:52:32 +0200 Subject: Setup personal page with Hakyll --- templates/icons/code.svg | 1 + templates/icons/external-link.svg | 1 + templates/icons/gitlab.svg | 1 + templates/icons/printer.svg | 1 + templates/icons/user.svg | 1 + templates/layout.html | 34 ++++++++++++++ templates/layout.tex | 93 +++++++++++++++++++++++++++++++++++++++ templates/project.html | 37 ++++++++++++++++ templates/resume.html | 28 ++++++++++++ templates/resume.tex | 18 ++++++++ 10 files changed, 215 insertions(+) create mode 100644 templates/icons/code.svg create mode 100644 templates/icons/external-link.svg create mode 100644 templates/icons/gitlab.svg create mode 100644 templates/icons/printer.svg create mode 100644 templates/icons/user.svg create mode 100644 templates/layout.html create mode 100644 templates/layout.tex create mode 100644 templates/project.html create mode 100644 templates/resume.html create mode 100644 templates/resume.tex (limited to 'templates') diff --git a/templates/icons/code.svg b/templates/icons/code.svg new file mode 100644 index 0000000..c4954b5 --- /dev/null +++ b/templates/icons/code.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/icons/external-link.svg b/templates/icons/external-link.svg new file mode 100644 index 0000000..6371124 --- /dev/null +++ b/templates/icons/external-link.svg @@ -0,0 +1 @@ + diff --git a/templates/icons/gitlab.svg b/templates/icons/gitlab.svg new file mode 100644 index 0000000..85d54a1 --- /dev/null +++ b/templates/icons/gitlab.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/icons/printer.svg b/templates/icons/printer.svg new file mode 100644 index 0000000..8a9a7ac --- /dev/null +++ b/templates/icons/printer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/icons/user.svg b/templates/icons/user.svg new file mode 100644 index 0000000..7bb5f29 --- /dev/null +++ b/templates/icons/user.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/layout.html b/templates/layout.html new file mode 100644 index 0000000..18a3817 --- /dev/null +++ b/templates/layout.html @@ -0,0 +1,34 @@ + + + + + + + + + Joris Guyonvarch + + + + + + +
+ +
$partial("templates/icons/user.svg")$
+ CV +
+ + +
$partial("templates/icons/code.svg")$
+ Projets +
+
+ +
+ $body$ +
+ + + + diff --git a/templates/layout.tex b/templates/layout.tex new file mode 100644 index 0000000..e49ea84 --- /dev/null +++ b/templates/layout.tex @@ -0,0 +1,93 @@ +\documentclass[a4paper, 11pt]{article} + +\usepackage[hmargin=2.5cm,tmargin=2cm,bmargin=3.5cm,footskip=2cm]{geometry} + +\usepackage{color} +\definecolor{darkblue}{RGB}{0,0,100} + +\usepackage[colorlinks=true, allcolors=darkblue, pdfborder={0 0 0}]{hyperref} + +\usepackage{titlesec} + +\usepackage{graphicx} + +\usepackage{parskip} +\setlength{\parindent}{0em} +\setlength{\parskip}{0.25cm} +\setcounter{secnumdepth}{-1} + +\usepackage[dvipsnames]{xcolor} +\usepackage[inline]{enumitem} +\setlist[itemize]{leftmargin=0.8cm,after=\vspace{0.1cm}} +\renewcommand{\labelitemi}{$$\color{brown}\bullet$$} + +% Other packages + +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{fp,etoolbox,marvosym,bookman,titlesec,hyperref,tabularx,graphicx,fancyhdr,changepage,lastpage,ulem} +\usepackage{xifthen} + +% Conf + +\setlength{\parindent}{0pt} +\color[HTML]{303030} % Default foreground color +\definecolor{link}{HTML}{505070} +\hypersetup{colorlinks,breaklinks,urlcolor=link,linkcolor=link} +\setlength{\tabcolsep}{0pt} + +\pagestyle{fancy} +\lhead{} +\chead{} +\rhead{} +\renewcommand{\headrulewidth}{0pt} +\cfoot{\thepage\ / \pageref{LastPage}} + +\titleformat + {\section} + {\LARGE\scshape\raggedright\color{brown}} % format + {} % label + {0cm} % sep + {\vspace{0.3cm}} % before + [\titlerule\vspace{0.2cm}] % after + +\titleformat + {\subsection} + {\large\raggedright\bf} % format + {} % label + {0cm} % sep + {\vspace{0.3cm}} % before + [\vspace{0.1cm}] % after + +% Commands + +\providecommand{\tightlist}{% + \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} + +\newcommand{\iconLink}[3] { + \includegraphics[width=8px]{#1} & \href{#2}{\sf\small#3} \\ +} + +% Doc + +\begin{document} + +\begin{minipage}[t]{0.6\textwidth} + \centering + {\Huge Joris Guyonvarch} \\ + \vspace{0.2cm} + {\Large Développeur} \\ +\end{minipage} +\begin{minipage}[t]{0.4\textwidth} + \begin{flushright} + \vspace{-1.3em} + \begin{tabular}{p{15pt}l} + \iconLink{external-link.png}{https://guyonvarch.me}{guyonvarch.me} + \iconLink{gitlab.png}{https://gitlab.com/guyonvarch}{guyonvarch} + \end{tabular} + \end{flushright} +\end{minipage} + +$body$ + +\end{document} diff --git a/templates/project.html b/templates/project.html new file mode 100644 index 0000000..4bcc386 --- /dev/null +++ b/templates/project.html @@ -0,0 +1,37 @@ +
  • + +

    $name$

    + +
    + + + $partial("templates/icons/gitlab.svg")$ + + $gitlab$ + +
    + +
    + $if(live)$ + + + $partial("templates/icons/external-link.svg")$ + + $live$ + + $endif$ +
    + +
    + $body$ +
    + + $if(skills)$ + + $endif$ + +
  • diff --git a/templates/resume.html b/templates/resume.html new file mode 100644 index 0000000..e848025 --- /dev/null +++ b/templates/resume.html @@ -0,0 +1,28 @@ +
  • + + $if(name)$ +
    + $name$ +
    + $endif$ + + $if(location)$ +
    + $location$ + $if(time)$– $time$$endif$ +
    + $endif$ + +
    + $body$ +
    + + $if(skills)$ + + $endif$ + +
  • diff --git a/templates/resume.tex b/templates/resume.tex new file mode 100644 index 0000000..678e20b --- /dev/null +++ b/templates/resume.tex @@ -0,0 +1,18 @@ +$if(name)$ + \subsection{$name$} +$endif$ + +{\color{OliveGreen} $if(location)$ $location$ $endif$ $if(time)$ – $time$ $endif$} + +$body$ + +$if(skills)$ + \begin{enumerate*}[label={}] + $for(skills)$ + \item{} + \hspace{-0.3cm} + {\color{gray}\uline{\textcolor{black}{$item$}}} + \hspace{0.2cm} + $endfor$ + \end{enumerate*} +$endif$ -- cgit v1.2.3