Layout updates

This commit is contained in:
Hazem Krimi
2024-05-05 16:14:33 +01:00
parent 23e1d62948
commit 43541f851e
21 changed files with 55 additions and 101 deletions
-3
View File
@@ -4,7 +4,4 @@
<section>
{{ .Content }}
</section>
<h2>Contact</h2>
{{ partial "contact-form.html" . }}
{{ end }}
-7
View File
@@ -1,7 +0,0 @@
{{ define "main" }}
{{ partial "breadcrumb.html" . }}
{{ .Content }}
{{ partial "contact-form.html" . }}
{{ end }}
-12
View File
@@ -30,12 +30,10 @@
{{- end }}
{{- end }}
{{- $projectsPages := where .Site.RegularPages "Section" "projects" }}
{{- $blogPages := where .Site.RegularPages "Section" "blog" }}
{{- $limit := .Site.Config.Services.RSS.Limit }}
{{- if ge $limit 1 }}
{{- $projectsPages = $projectsPages | first $limit }}
{{- $blogPages = $blogPages | first $limit }}
{{- end }}
@@ -54,16 +52,6 @@
{{- with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{- end }}
{{- range $projectsPages }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }}
<guid>{{ .Permalink }}</guid>
<description>{{ .Params.description | html }}</description>
</item>
{{- end }}
{{- range $blogPages }}
<item>
<title>{{ .Title }}</title>
-3
View File
@@ -30,9 +30,6 @@
<div>
{{ .Content }}
</div>
<h2>Contact</h2>
{{ partial "contact-form.html" . }}
</section>
</div>
-8
View File
@@ -10,7 +10,6 @@
<p>I have over two years of experience mainly working on web and cross platform mobile applications in E-Commerce, Fintech, Auditing and Compliance.</p>
<div id="action-buttons">
<a href="{{ urls.JoinPath .Site.BaseURL "blog" }}">Blog</a>
<a href="{{ urls.JoinPath .Site.BaseURL "contact" }}">Contact</a>
</div>
</div>
</section>
@@ -54,11 +53,4 @@
{{ end }}
</section>
{{ end }}
<section id="contact">
<h2>Contact</h2>
<p>Here you can contact me personally for any questions or opportunities.</p>
{{ partial "contact-form.html" . }}
</section>
{{ end }}
+1 -6
View File
@@ -5,12 +5,7 @@
<img src="{{ $faceImage.Permalink }}" alt="Hazem Krimi's face" />
<div>
<p>
My programming experience is mostly non-professional but it was essential
for my development. Even though I am working professionally for over two
years now, I got into programming much longer than that. I got into web
development in the summer of 2018 as I started learning the basics: HTML,
CSS, JS and most importantly how the web works by building very small
projects.
I am a software engineer with a extensive experience building user-friendly web and cross-platform mobile applications using React and React Native with TypeScript. Similarly, I have experience building APIs using Node.js and recently using Scala. Recently, I got into DLT using Corda with Kotlin.
</p>
<div id="links">
<a href="{{ $cv.Permalink }}" target="_blank">
+7 -3
View File
@@ -6,11 +6,15 @@
{{ end }}
<p>{{ .Params.description }}</p>
<div id="links">
<a class="read-more" href="{{ .Permalink }}">
<a
class="read-more"
href="{{ if (.InSection ($.Site.GetPage "projects")) }} {{ .Params.source }} {{ else }} {{ .Permalink }} {{ end }}"
target="{{ if (.InSection ($.Site.GetPage "projects")) }} _blank {{ else }} _self {{ end }}"
>
{{ if (.InSection ($.Site.GetPage "projects")) }}
Read this project {{ readFile "assets/icons/arrow.svg" | safeHTML }}
Source code {{ readFile "assets/icons/arrow.svg" | safeHTML }}
{{ else }}
Read this blog post {{ readFile "assets/icons/arrow.svg" | safeHTML }}
Read this blog post {{ readFile "assets/icons/arrow.svg" | safeHTML }}
{{ end }}
</a>
{{ with (and (.InSection ($.Site.GetPage "projects")) .Params.demo) }}
-18
View File
@@ -1,18 +0,0 @@
<form
action="{{ .Site.Params.formSpreeURL }}"
method="POST"
>
<input name="name" placeholder="Your name" required type="text" />
<input name="email" placeholder="Your email" required type="email" />
<textarea
cols="30"
name="message"
placeholder="Your message"
required
rows="10"
></textarea>
<div>
<button type="submit">Submit</button>
<div id="submission-status"></div>
</div>
</form>