summaryrefslogtreecommitdiffstats
path: root/layouts/partials/home
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2023-08-10 15:39:23 +0300
committerAhmed Abdelhalim <[email protected]>2023-08-10 15:56:39 +0300
commitf722d20725586ee4744d077770ef7a89ab05e360 (patch)
treeeb141eb2831164a2b1078f56cb52a356ad2171a5 /layouts/partials/home
parentaac6c22687ca78f5131545e46b637fd63a8dff89 (diff)
Migrate from brunch to hugo
Diffstat (limited to 'layouts/partials/home')
-rw-r--r--layouts/partials/home/education.html10
-rw-r--r--layouts/partials/home/header.html15
-rw-r--r--layouts/partials/home/projects.html11
-rw-r--r--layouts/partials/home/skills.html11
-rw-r--r--layouts/partials/home/summary.html6
-rw-r--r--layouts/partials/home/work.html20
6 files changed, 73 insertions, 0 deletions
diff --git a/layouts/partials/home/education.html b/layouts/partials/home/education.html
new file mode 100644
index 0000000..e6f82ba
--- /dev/null
+++ b/layouts/partials/home/education.html
@@ -0,0 +1,10 @@
+<article class="education">
+ <h2 class="education__header section-header">Education</h2>
+ <article class="education__details">
+ <h2 class="education__degree">{{ .Degree }}</h2>
+ <p class="education__university">{{ .University }}</p>
+ <p class="education__gpa">{{ .GPA }}</p>
+ <em class="education__location">{{ .Location }}</em>
+ <em class="education__duration">{{ .Duration }}</em>
+ </article>
+</article>
diff --git a/layouts/partials/home/header.html b/layouts/partials/home/header.html
new file mode 100644
index 0000000..7b4d50c
--- /dev/null
+++ b/layouts/partials/home/header.html
@@ -0,0 +1,15 @@
+<header class="header">
+ <h1 class="header__name">{{ .Name }}</h1>
+ <em class="header__job-title">{{ .Title }}</em>
+ <address class="header__contact-info">
+ <div class="header__location">{{ .Location }}</div>
+ <div class="header__tel"><a href="tel:{{ .Phone }}">{{ .Phone }}</a></div>
+ <div class="header__email"><a href="mailto:{{ .Email }}">{{ .Email }}</a></div>
+ <div class="header__website"><a href="{{ .Site.BaseURL }}">website</a></div>
+ <div class="header__srht"><a href="{{ .Srht }}">sr.ht</a></div>
+ <div class="header__github"><a href="{{ .Github }}">Github</a></div>
+ <div class="header__stackoverflow"><a href="{{ .StackOverflow }}">StackOverflow</a></div>
+ <div class="header__linkedin"><a href="{{ .LinkedIn }}">LinkedIn</a></div>
+ <div class="header__pgp"><a href="{{ absURL "/gpg.key" }}">PGP</a></div>
+ </address>
+</header>
diff --git a/layouts/partials/home/projects.html b/layouts/partials/home/projects.html
new file mode 100644
index 0000000..d9ac5e2
--- /dev/null
+++ b/layouts/partials/home/projects.html
@@ -0,0 +1,11 @@
+{{ range $header, $projects := . }}
+<article class="projects">
+ <h2 class="projects_header section-header">{{ $header }}</h2>
+ {{ range $projects }}
+ <article class="project">
+ <h2 class="project__title">{{ .title | safeHTML }}</h2>
+ <p class="project__content">{{ .content | safeHTML }}</p>
+ </article>
+ {{ end }}
+</article>
+{{ end }}
diff --git a/layouts/partials/home/skills.html b/layouts/partials/home/skills.html
new file mode 100644
index 0000000..35bda7c
--- /dev/null
+++ b/layouts/partials/home/skills.html
@@ -0,0 +1,11 @@
+<article class="skills">
+ <h2 class="skills__header section-header">Skills</h2>
+ <dl class="skills__content">
+ {{ range $skill := . }}
+ {{ range $title, $content := $skill }}
+ <dt class="skills__title">{{ $title }}</dt>
+ <dd class="skills__items">{{ $content }}</dd>
+ {{ end }}
+ {{ end }}
+ </dl>
+</article>
diff --git a/layouts/partials/home/summary.html b/layouts/partials/home/summary.html
new file mode 100644
index 0000000..4f256fd
--- /dev/null
+++ b/layouts/partials/home/summary.html
@@ -0,0 +1,6 @@
+<article class="summary">
+ <h2 class="summary__header section-header">Summary</h2>
+ <p class="summary__content">
+ {{ . }}
+ </p>
+</article>
diff --git a/layouts/partials/home/work.html b/layouts/partials/home/work.html
new file mode 100644
index 0000000..4af88dc
--- /dev/null
+++ b/layouts/partials/home/work.html
@@ -0,0 +1,20 @@
+<article class="work">
+ <h2 class="work__header section-header">Work Experience</h2>
+ {{ range . }}
+ <article class="work__experience">
+ <div class="job-position">
+ <h2 class="job-position__company">{{ .Company | safeHTML }}</h2>
+ <em class="job-position__title">{{ .Title }}</em>
+ <em class="job-position__duration">{{ .Duration }}</em>
+ <em class="job-position__location">{{ .Location }}</em>
+ </div>
+ <p class="note">{{ .Note | safeHTML }}</p>
+ <ul class="tasks">
+ {{ range .Tasks }}
+ <li>{{ . | safeHTML }}</li>
+ {{ end }}
+ </ul>
+ <p class="note">{{ .FootNote | safeHTML }}</p>
+ </article>
+ {{ end }}
+</article>