diff --git a/data/about.yaml b/data/about.yaml new file mode 100644 index 0000000..dc47dcd --- /dev/null +++ b/data/about.yaml @@ -0,0 +1,57 @@ +# your designation +designation: Software Engineer +# your company information +company: + name: Example Co. + url: "https://www.example.com" + +# your resume +resume: "assets/files/resume.pdf" + +# a summary about you +summary: 'I am a passionate software engineer with x years of working + experience. I built OSS tools for Kubernetes using GO. My tools helps people to + deploy their workloads in Kuberenetes. Sometimes, I work on some fun projects such as writing a theme etc.' + +# your social links +# give as many as you want. use font-awesome for the icons. +socialLinks: +- name: Email + icon: "fas fa-envelope" + url: "example@gmail.com" + +- name: Github + icon: "fab fa-github" + url: "https://www.github.com/example" + +- name: Stackoverflow + icon: "fab fa-stack-overflow" + url: "#" + +- name: LinkedIn + icon: "fab fa-linkedin" + url: "#" + +- name: Twitter + icon: "fab fa-twitter" + url: "#" + +- name: Facebook + icon: "fab fa-facebook" + +# your soft skills +# give the percentage between 50 to 100 with 5 interval. +# currently supported color: blue, yellow, pink, green +softSkills: +- name: Leadership + percentage: 85 + color: blue +- name: Team Work + percentage: 90 + color: yellow +- name: Communication + percentage: 85 + color: pink +- name: Hard Working + percentage: 85 + color: green diff --git a/data/achievements.yaml b/data/achievements.yaml new file mode 100644 index 0000000..6dfa2a6 --- /dev/null +++ b/data/achievements.yaml @@ -0,0 +1,26 @@ +# my achievements +achievements: + - title: UAP IUPC 2017 + image: assets/images/achievements/1.jpg + summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? + - title: UAP IUPC 2017 + image: assets/images/achievements/2.jpg + summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? + - title: UAP IUPC 2017 + image: assets/images/achievements/3.jpg + summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? + - title: UAP IUPC 2017 + image: assets/images/achievements/4.jpg + summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? + - title: UAP IUPC 2017 + image: assets/images/achievements/5.jpg + summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? + - title: UAP IUPC 2017 + image: assets/images/achievements/6.jpg + summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? + - title: UAP IUPC 2017 + image: assets/images/achievements/7.jpg + summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? + - title: UAP IUPC 2017 + image: assets/images/achievements/8.jpg + summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? diff --git a/data/experiences.yaml b/data/experiences.yaml new file mode 100644 index 0000000..e164df7 --- /dev/null +++ b/data/experiences.yaml @@ -0,0 +1,57 @@ +# Your experiences +experiences: + - designation: Software Engineer + company: + name: Example Co. + url: "https://www.example.com" + location: Dhaka Branch + # company overview + overview: Lorem ipsum dolor sit amet consectetur adipisicing elit. Sed ipsum deserunt dignissimos iure incidunt porro sapiente adipisci neque, eveniet quam. + start: Nov 2017 + # don't provide end date if you are currently working there. It will be replaced by "Present" + # end: Dec 2020 + # give some points about what was your responsibilities at the company. + responsibilities: + - Design, develop and manage disaster recovery tool Stash that backup Kubernetes volumes, databases and cluster's resource definition. + - My another respons + - Added support for Prometheus monitoring in various AppsCode's tools. + - Provide support to the users of our various tools. + + - designation: Intern + company: + name: AppCode Inc. + url: "https://www.appscode.com" + location: Dhaka Branch + overview: AppsCode Ltd. is a subsidiary company of AppsCode Inc. USA. An Integrated platform for collaborative coding, testing & deploying containerized apps. + start: March 2016 + end: May 2016 + responsibilities: + - Design, develop and test a sample library website. + - Learn git version control. + - Learn backbone.js framework. + + - designation: Demo 1 + company: + name: Demo Co. + url: "https://www.appscode.com" + location: Dhaka Branch + overview: this is a demo company. + start: March 2016 + end: May 2016 + responsibilities: + - Design, develop and test a sample library website. + - Learn git version control. + - Learn backbone.js framework. + + - designation: Demo 2 + company: + name: Demo Co. + url: "https://www.appscode.com" + location: Dhaka Branch + overview: this is a demo company. + start: March 2016 + end: May 2016 + responsibilities: + - Design, develop and test a sample library website. + - Learn git version control. + - Learn backbone.js framework. diff --git a/data/home.yaml b/data/home.yaml new file mode 100644 index 0000000..e4f601f --- /dev/null +++ b/data/home.yaml @@ -0,0 +1,12 @@ +# background image of the landing page +background: "assets/images/default-background.jpg" + +# some information about you +author: + name: "John Doe" + image: "assets/images/default-avatar.svg" + # a summary of what you do + summary: + - I am a Developer + - I work with Go + - I love to work with some fun projects diff --git a/data/projects.yaml b/data/projects.yaml new file mode 100644 index 0000000..b362b01 --- /dev/null +++ b/data/projects.yaml @@ -0,0 +1,58 @@ +# filter buttons +filters: + - name: All + tag: "all" + - name: Professional + tag: "professional" + - name: Academic + tag: "academic" + - name: Hobby + tag: "hobby" + +# my projects +projects: + - name: Stash + logo: assets/images/logos/stash.png + role: Team Lead + timeline: "March 2018 - Present" + repo: https://github.com/stashed/stash + #url: "" + summary: A tool to backup Kubernetes volumes, StatefulSet application, databases etc. + tags: ["professional", "kubernetes", "backup"] + + - name: KubeDB + logo: assets/images/logos/kubedb.png + role: Developer + timeline: "Jan 2019 - Present" + repo: https://github.com/kubedb/cli + #url: "" + summary: KubeDB by AppsCode simplifies and automates routine database tasks such as provisioning, patching, backup, recovery, failure detection, and repair for various popular databases on private and public clouds. + tags: ["professional", "kubernetes", "database"] + + - name: Kubed + logo: assets/images/logos/kubed.png + role: Developer + timeline: "Oct 2018 - Dec 2018" + repo: https://github.com/appscode/kubed + #url: "" + summary: A tool to sync Kubernetes ConfigMap, Secret across namespaces and clusters. + tags: ["professional", "kubernetes", "sync"] + + - name: Riverine Vehicle Tracking System with Overload Detection + role: Owner + timeline: "Jan 2017 - Nov 2017" + url: "https://drive.google.com/open?id=0BwCjE-AXb1mjT1ExczBuMjk1aTQ" + summary: + This project aims to develop a monitoring and overload detection system for riverine vehicles. + Here, we have built an Ardunio based GPS tracking system, an ultrasonic sensor based overload + detector. We have also built a mobile based user application as well as an emergency notification + system. + tags: ["academic","iot"] + + - name: Toha + logo: assets/images/logos/project-default.png + role: Owner + timeline: "Jun 2019 - Present" + repo: https://github.com/hossainemruz/toha + summary: A Hugo theme for personal portfolio. + tags: ["hobby","hugo","theme"] diff --git a/data/skills.yaml b/data/skills.yaml new file mode 100644 index 0000000..8a6f28f --- /dev/null +++ b/data/skills.yaml @@ -0,0 +1,42 @@ +# Your Skills. +# Give a summary of you each skill in summary section. +skills: +- name: Kubernetes + icon: "assets/images/skills/kubernetes.png" + summary: "Some quick example text to build on the card title and make up the bulk + of tlsdfjlsdjflsdfhe card's content." + +- name: Go Development + icon: "assets/images/skills/go.png" + summary: "Some quick example text to build on the card title and make up the bulk + of tlsdfjlsdjflsdfhe card's content." + +- name: Cloud Computing + icon: "assets/images/skills/cloud.png" + summary: "Some quick example text to build on the card title and make up the bulk + of tlsdfjlsdjflsdfhe card's content." + +- name: Docker + icon: "assets/images/skills/docker.svg" + summary: "Some quick example text to build on the card title and make up the bulk + of tlsdfjlsdjflsdfhe card's content." + +- name: Linux + icon: "assets/images/skills/linux.png" + summary: "Some quick example text to build on the card title and make up the bulk + of tlsdfjlsdjflsdfhe card's content." + +- name: Prometheus + icon: "assets/images/skills/prometheus.png" + summary: "Some quick example text to build on the card title and make up the bulk + of tlsdfjlsdjflsdfhe card's content." + +- name: Git + icon: "assets/images/skills/git.png" + summary: "Some quick example text to build on the card title and make up the bulk + of tlsdfjlsdjflsdfhe card's content." + +- name: C++ + icon: "assets/images/skills/c++.png" + summary: "Some quick example text to build on the card title and make up the bulk + of tlsdfjlsdjflsdfhe card's content." diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 79ea988..1aa2378 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -13,14 +13,14 @@ {{ define "content" }}
-
+
- -
{{ .Page.Params.author.name }}
+ +
{{ partial "helpers/get-author-name.html" .Params }}

{{ .Page.Date.Format "January 2, 2006" }}

@@ -64,7 +64,7 @@ {{ define "scripts" }} - + diff --git a/layouts/partials/about.html b/layouts/partials/about.html index caafc90..2c1e12e 100644 --- a/layouts/partials/about.html +++ b/layouts/partials/about.html @@ -3,7 +3,7 @@
-

{{ .Site.Data.about.name }}

+

{{ .Site.Data.home.author.name }}

{{ .Site.Data.about.designation }} at +
- Card image cap +
{{ .Title }}
diff --git a/layouts/partials/cards/recent-post.html b/layouts/partials/cards/recent-post.html index d61af71..ed4a578 100644 --- a/layouts/partials/cards/recent-post.html +++ b/layouts/partials/cards/recent-post.html @@ -1,7 +1,7 @@
- Card image cap
diff --git a/layouts/partials/experiences.html b/layouts/partials/experiences.html index e7c17a4..c8b430d 100644 --- a/layouts/partials/experiences.html +++ b/layouts/partials/experiences.html @@ -1,23 +1,25 @@

Experiences

- {{ $total:= len .Site.Data.experiences.experiences }} - {{ range $idx,$val:= .Site.Data.experiences.experiences }} - {{ if eq (mod $idx 2) 0 }} -
- {{ partial "experiences/left-v-line.html" $idx }} - {{ partial "experiences/experience-info.html" $val }} -
- {{ if lt $idx (sub $total 1) }} - {{ partial "experiences/left-to-right-h-line.html" $idx }} - {{ end }} - {{else}} -
- {{ partial "experiences/experience-info.html" $val }} - {{ partial "experiences/right-v-line.html" $idx }} -
- {{ if lt $idx (sub $total 1) }} - {{ partial "experiences/right-to-left-h-line.html" $idx }} + {{ if .Site.Data }} + {{ $total:= len .Site.Data.experiences.experiences }} + {{ range $idx,$val:= .Site.Data.experiences.experiences }} + {{ if eq (mod $idx 2) 0 }} +
+ {{ partial "experiences/left-v-line.html" $idx }} + {{ partial "experiences/experience-info.html" $val }} +
+ {{ if lt $idx (sub $total 1) }} + {{ partial "experiences/left-to-right-h-line.html" $idx }} + {{ end }} + {{else}} +
+ {{ partial "experiences/experience-info.html" $val }} + {{ partial "experiences/right-v-line.html" $idx }} +
+ {{ if lt $idx (sub $total 1) }} + {{ partial "experiences/right-to-left-h-line.html" $idx }} + {{ end }} {{ end }} {{ end }} {{ end }} diff --git a/layouts/partials/helpers/get-author-image.html b/layouts/partials/helpers/get-author-image.html new file mode 100644 index 0000000..4af1922 --- /dev/null +++ b/layouts/partials/helpers/get-author-image.html @@ -0,0 +1,5 @@ +{{ $authorImage:= "/assets/images/default-avatar.svg"}} +{{ if isset .author "image" }} + {{ $authorImage = .author.image }} +{{ end }} +{{ return $authorImage }} diff --git a/layouts/partials/helpers/get-author-name.html b/layouts/partials/helpers/get-author-name.html new file mode 100644 index 0000000..9f36b3e --- /dev/null +++ b/layouts/partials/helpers/get-author-name.html @@ -0,0 +1,5 @@ +{{ $authorName:= "John Doe"}} +{{ if isset .author "name" }} + {{ $authorName = .author.name }} +{{ end }} +{{ return $authorName }} diff --git a/layouts/partials/helpers/get-categories.html b/layouts/partials/helpers/get-categories.html new file mode 100644 index 0000000..9deefe7 --- /dev/null +++ b/layouts/partials/helpers/get-categories.html @@ -0,0 +1,5 @@ +{{ $categories:= ""}} +{{ if .categories }} + {{ $categories = delimit .categories "," }} +{{ end }} +{{ return $categories }} diff --git a/layouts/partials/helpers/get-hero.html b/layouts/partials/helpers/get-hero.html new file mode 100644 index 0000000..43379b7 --- /dev/null +++ b/layouts/partials/helpers/get-hero.html @@ -0,0 +1,5 @@ +{{ $heroImage:= "/assets/images/default-hero.jpg"}} +{{ if .hero }} + {{ $heroImage = .hero }} +{{ end }} +{{ return $heroImage }} diff --git a/layouts/partials/helpers/get-profile-image.html b/layouts/partials/helpers/get-profile-image.html new file mode 100644 index 0000000..62bb03c --- /dev/null +++ b/layouts/partials/helpers/get-profile-image.html @@ -0,0 +1,5 @@ +{{ $profileImage:= "/assets/images/default-avatar.svg"}} +{{ if .Site.Data.home.image }} + {{ $profileImage = .Site.Data.home.image }} +{{ end }} +{{ return $profileImage }} diff --git a/layouts/partials/home.html b/layouts/partials/home.html index 9a18ac7..b2cf236 100644 --- a/layouts/partials/home.html +++ b/layouts/partials/home.html @@ -1,21 +1,20 @@
-

{{- .Site.Data.home.greeting -}}

+

Hi, I am {{ .Site.Data.home.author.name -}}

diff --git a/layouts/partials/posts.html b/layouts/partials/posts.html index 544812a..f678bd5 100644 --- a/layouts/partials/posts.html +++ b/layouts/partials/posts.html @@ -4,4 +4,4 @@ {{ else }} {{ partial "cards/post.html" . }} {{ end }} -{{ end }} \ No newline at end of file +{{ end }} diff --git a/static/assets/css/home.css b/static/assets/css/home.css index 958ddf3..e201348 100644 --- a/static/assets/css/home.css +++ b/static/assets/css/home.css @@ -26,9 +26,10 @@ } .home img { - width: 160px; - max-width: 50%; - height: auto; + width: 172px; + height: 172px; + background-color: #f9fafc; + padding: 5px; } .home .greeting { diff --git a/static/assets/css/single.css b/static/assets/css/single.css index 984fcc1..e37ec63 100644 --- a/static/assets/css/single.css +++ b/static/assets/css/single.css @@ -34,6 +34,8 @@ body { .author-profile img { height: 120px; width: 120px; + background-color: #f9fafc; + padding: 5px; } .author-profile p { color: #8392a5; diff --git a/static/assets/images/default-avatar.svg b/static/assets/images/default-avatar.svg new file mode 100644 index 0000000..adce80f --- /dev/null +++ b/static/assets/images/default-avatar.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/assets/images/default-background.jpg b/static/assets/images/default-background.jpg new file mode 100644 index 0000000..b30526b Binary files /dev/null and b/static/assets/images/default-background.jpg differ diff --git a/static/assets/images/default-hero.jpg b/static/assets/images/default-hero.jpg new file mode 100644 index 0000000..f13ca48 Binary files /dev/null and b/static/assets/images/default-hero.jpg differ diff --git a/static/assets/images/profile-image.jpg b/static/assets/images/profile-image.jpg deleted file mode 100644 index 9b52f97..0000000 Binary files a/static/assets/images/profile-image.jpg and /dev/null differ