diff --git a/data/achievements.yaml b/data/achievements.yaml index 6dfa2a6..7730b55 100644 --- a/data/achievements.yaml +++ b/data/achievements.yaml @@ -1,26 +1,14 @@ -# my achievements +# Your achievements achievements achievements: - - title: UAP IUPC 2017 - image: assets/images/achievements/1.jpg + - title: Best Presenter + image: assets/images/achievements/presenter.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 + - title: Champion + image: assets/images/achievements/sport.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 + - title: Graduation + image: assets/images/achievements/graduation-cap.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 + - title: Award Winner + image: assets/images/achievements/woman-winner.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 index e164df7..c9c23ac 100644 --- a/data/experiences.yaml +++ b/data/experiences.yaml @@ -13,45 +13,31 @@ experiences: # 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. + - My another responsibilities. + - My more responsibilities. + + - designation: Software Engineer + company: + name: PreExample Co. + url: "https://www.preexample.com" + location: Nowhere + overview: PreExample Co. is gateway company to enter into Example co. So, nothing special here. + start: March 2016 + end: May 2017 + responsibilities: + - Write lots of example codes. + - Read lots of examples. + - See lots of example videos. - 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 + name: Intern Counting Company (ICC). + url: "https://www.intern.com" + location: Intern Land + overview: Intern counting Company (ICC) is responsible for counting worldwide intern Engineer. + start: Jun 2015 + end: Jan 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. + - Count lost of interns. + - Count more interns. + - Count myself as intern. diff --git a/data/home.yaml b/data/home.yaml deleted file mode 100644 index e4f601f..0000000 --- a/data/home.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# 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 index b362b01..5ec87aa 100644 --- a/data/projects.yaml +++ b/data/projects.yaml @@ -1,58 +1,54 @@ # filter buttons -filters: +buttons: - name: All - tag: "all" + filter: "all" - name: Professional - tag: "professional" + filter: "professional" - name: Academic - tag: "academic" + filter: "academic" - name: Hobby - tag: "hobby" + filter: "hobby" -# my projects +# your projects projects: - - name: Stash - logo: assets/images/logos/stash.png - role: Team Lead + - name: Kubernetes + logo: assets/images/projects/kubernetes.png + role: Contributor 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"] + repo: https://github.com/kubernetes/kubernetes # if your project is public repo on github, then provide this link. it will show star count. + #url: "" # if your project is not a public repo but it has a website, or any external details url then provide it here. don't provide "repo" and "url" simultaneously. + summary: Production-Grade Container Scheduling and Management . + tags: ["professional", "kubernetes", "cloud"] - - name: KubeDB - logo: assets/images/logos/kubedb.png + - name: Tensorflow + logo: assets/images/projects/tensorflow.png role: Developer - timeline: "Jan 2019 - Present" - repo: https://github.com/kubedb/cli + timeline: "Jun 2018 - Present" + repo: https://github.com/tensorflow/tensorflow #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"] + summary: An Open Source Machine Learning Framework for Everyone. + tags: ["professional", "machine-learning","academic"] - - 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 + - name: A sample academic paper + role: Team Lead 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. + url: "https://www.example.com" + summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Sapiente eius reprehenderit animi suscipit autem eligendi esse amet aliquid error eum. Accusantium distinctio soluta aliquid quas placeat modi suscipit eligendi nisi. tags: ["academic","iot"] + - name: Nocode + logo: assets/images/projects/no-code.png + role: Nothing + timeline: "Oct 2019 - Dec 2019" + repo: https://github.com/kelseyhightower/nocode + #url: "" + summary: The best way to write secure and reliable applications. Write nothing; deploy nowhere. + tags: ["hobby", "fun"] + - name: Toha - logo: assets/images/logos/project-default.png + logo: assets/images/logo.png role: Owner timeline: "Jun 2019 - Present" repo: https://github.com/hossainemruz/toha summary: A Hugo theme for personal portfolio. - tags: ["hobby","hugo","theme"] + tags: ["hobby","hugo","theme","professional"] diff --git a/data/site.yaml b/data/site.yaml new file mode 100644 index 0000000..140a116 --- /dev/null +++ b/data/site.yaml @@ -0,0 +1,40 @@ +# 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" + # give your some contact information. they will be used in the footer + contactInfo: + email: "johndoe@example.com" + phone: "+0123456789" + # a summary of what you do + summary: + - I am a Developer + - I work with Go + - I love to work with some fun projects + +# Menus of the home page +menus: +- name: Home + url: "#home" + weight: 1 +- name: About + url: "#about" + weight: 2 +- name: Skills + url: "#skills" + weight: 3 +- name: Experiences + url: "#experiences" + weight: 4 +- name: Projects + url: "#projects" + weight: 5 +- name: Recent Posts + url: "#recent-posts" + weight: 6 +- name: Achievements + url: "#achievements" + weight: 7 diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 1aa2378..062516a 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -13,14 +13,14 @@ {{ define "content" }}
-
+
- -
{{ partial "helpers/get-author-name.html" .Params }}
+ +
{{ partial "helpers/get-author-name.html" . }}

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

diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index eb55359..44c31c9 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -4,9 +4,9 @@
Navigation
@@ -14,7 +14,7 @@
Contact Me
    - {{ range $key,$value:=.Site.Params.contactInfo }} + {{ range $key,$value:=.Site.Data.site.author.contactInfo }}
  • {{ title $key }}: {{ $value }}
  • {{ end }}
@@ -45,7 +45,7 @@
@@ -53,7 +53,7 @@
Powered by Hugo Hugo Logo diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7ef1fc0..e94b9ea 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -12,5 +12,5 @@ - + diff --git a/layouts/partials/helpers/get-author-image.html b/layouts/partials/helpers/get-author-image.html index 4af1922..1493214 100644 --- a/layouts/partials/helpers/get-author-image.html +++ b/layouts/partials/helpers/get-author-image.html @@ -1,5 +1,9 @@ {{ $authorImage:= "/assets/images/default-avatar.svg"}} -{{ if isset .author "image" }} - {{ $authorImage = .author.image }} +{{ if eq (printf "%T" .Params.author ) "maps.Params" }} + {{ with .Params.author }} + {{ if .image }} + {{ $authorImage = .image }} + {{ end }} + {{ end }} {{ end }} {{ return $authorImage }} diff --git a/layouts/partials/helpers/get-author-name.html b/layouts/partials/helpers/get-author-name.html index 9f36b3e..e15075c 100644 --- a/layouts/partials/helpers/get-author-name.html +++ b/layouts/partials/helpers/get-author-name.html @@ -1,5 +1,9 @@ {{ $authorName:= "John Doe"}} -{{ if isset .author "name" }} - {{ $authorName = .author.name }} +{{ if eq (printf "%T" .Params.author ) "maps.Params" }} + {{ with .Params.author }} + {{ if .name }} + {{ $authorName = .name }} + {{ end }} + {{ end }} {{ end }} {{ return $authorName }} diff --git a/layouts/partials/helpers/get-categories.html b/layouts/partials/helpers/get-categories.html index 9deefe7..f9d39b6 100644 --- a/layouts/partials/helpers/get-categories.html +++ b/layouts/partials/helpers/get-categories.html @@ -1,5 +1,5 @@ {{ $categories:= ""}} -{{ if .categories }} - {{ $categories = delimit .categories "," }} +{{ if .Params.categories }} + {{ $categories = delimit .Params.categories "," }} {{ end }} {{ return $categories }} diff --git a/layouts/partials/helpers/get-hero.html b/layouts/partials/helpers/get-hero.html index 43379b7..72ef4ec 100644 --- a/layouts/partials/helpers/get-hero.html +++ b/layouts/partials/helpers/get-hero.html @@ -1,5 +1,5 @@ {{ $heroImage:= "/assets/images/default-hero.jpg"}} -{{ if .hero }} - {{ $heroImage = .hero }} +{{ if .Params.hero }} + {{ $heroImage = .Params.hero }} {{ end }} {{ return $heroImage }} diff --git a/layouts/partials/helpers/get-profile-image.html b/layouts/partials/helpers/get-profile-image.html deleted file mode 100644 index 62bb03c..0000000 --- a/layouts/partials/helpers/get-profile-image.html +++ /dev/null @@ -1,5 +0,0 @@ -{{ $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 b2cf236..8e3c9dc 100644 --- a/layouts/partials/home.html +++ b/layouts/partials/home.html @@ -1,20 +1,20 @@
-

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

+

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

diff --git a/layouts/partials/navbar-2.html b/layouts/partials/navbar-2.html index be26994..c0ff089 100644 --- a/layouts/partials/navbar-2.html +++ b/layouts/partials/navbar-2.html @@ -1,7 +1,7 @@