diff --git a/assets/scripts/core/theme-scheme.js b/assets/scripts/core/theme-scheme.js index a02d469..6a0fc96 100644 --- a/assets/scripts/core/theme-scheme.js +++ b/assets/scripts/core/theme-scheme.js @@ -1,9 +1,9 @@ -let theme = localStorage.getItem('theme-scheme') || localStorage.getItem('darkmode:color-scheme') || 'light' +let theme = localStorage.getItem('theme-scheme') || localStorage.getItem('darkmode:color-scheme') || 'dark' if (theme === 'system') { if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) { theme = 'dark' } else { - theme = 'light' + theme = 'dark' } } document.documentElement.setAttribute('data-theme', theme) diff --git a/assets/scripts/features/darkmode/index.js b/assets/scripts/features/darkmode/index.js index 74ac8e0..fc7ca30 100644 --- a/assets/scripts/features/darkmode/index.js +++ b/assets/scripts/features/darkmode/index.js @@ -23,7 +23,7 @@ window.addEventListener('load', async () => { function getPreferredColorScheme() { const isDarkMode = window.matchMedia("(prefers-color-scheme: dark)").matches; - return isDarkMode ? "dark" : "light"; + return isDarkMode ? "dark" : "dark"; } function setScheme(newScheme) { diff --git a/content/posts/sample_paper/index.md b/content/posts/sample_paper/index.md new file mode 100644 index 0000000..5af650d --- /dev/null +++ b/content/posts/sample_paper/index.md @@ -0,0 +1,18 @@ +--- +title: "Sample Paper" +date: 2020-06-08T08:06:25+06:00 +description: Introduction to Sample Post +menu: + sidebar: + name: Introduction + identifier: introduction + weight: 10 +tags: ["Basic", "Multi-lingual"] +categories: ["Basic"] +--- + +Greeting! This is an introduction post. This post tests the followings: + +- Hero image is in the same directory as the post. +- This post should be at top of the sidebar. +- Post author should be the same as specified in `author.yaml` file. diff --git a/data/en/sections/education.yaml b/data/en/sections/education.yaml new file mode 100644 index 0000000..8aeeb56 --- /dev/null +++ b/data/en/sections/education.yaml @@ -0,0 +1,104 @@ +# section information +section: + name: Education + id: education + template: sections/education.html # Use "sections/education-alt.html for alternate template. + enable: true + weight: 2 + showOnNavbar: true + # Can optionally hide the title in sections + # hideTitle: true + +degrees: +- name: Ph.D in Quantum Cryptography + icon: fa-microscope + timeframe: 2016-2020 + institution: + name: ABC University of Technology + url: "#" + logo: /images/sections/education/tech_college.png + # Can optionally show a different logo for dark theme + # darkLogo: /images/sections/education/tech_college.png + grade: #(optional) + scale: CGPA + achieved: 3.6 + outOf: 4 + publications: #(optional) + - title: Lorem ipsum dolor sit amet, consectetur adipiscing elit. + url: "#" + - title: Fusce eu augue ut odio porttitor pulvinar. + url: "#" + - title: Nullam vitae orci tincidunt purus viverra pulvinar. + url: "#" +- name: B.Sc. in Computer Science & Engineering + icon: fa-graduation-cap + timeframe: 2012-2016 + institution: + name: University of XYZ + url: "#" + logo: /images/sections/education/university.jpg + # Can optionally show a different logo for dark theme + # darkLogo: /images/sections/education/university.jpg + grade: #(optional) + scale: CGPA + achieved: 3.5 + outOf: 4 + takenCourses: #(optional) + # if true, the courses will be rendered as a table otherwise it will render as a list and the grades will be hidden. + showGrades: true + collapseAfter: 3 + courses: + - name: Data Structures and Algorithm + achieved: 3.75 + outOf: 4 + - name: Network Security + achieved: 3.80 + outOf: 4 + - name: Operating System + achieved: 3.5 + outOf: 4 + - name: Artificial Intelligent + achieved: 3.75 + outOf: 4 + publications: #(optional) + - title: Lorem ipsum dolor sit amet, consectetur adipiscing elit. + url: "#" + - title: Fusce eu augue ut odio porttitor pulvinar. + url: "#" + extracurricularActivities: #(optional) + - In vitae facilisis est, eget porta sem. + - Vestibulum consectetur lorem justo, at laoreet lorem feugiat et. + - Duis sed massa feugiat, ornare justo et, aliquam est. + - Pellentesque ut fringilla magna. + custonSections: #(optional) + - name: Thesis + content: Lorem ipsum dolor sit amet, consectetur adipiscing elit. + - name: Supervisor + content: Fusce eu augue ut odio porttitor pulvinar. +- name: Higher Secondary School Certificate + icon: fa-university + timeframe: 2010-2012 + institution: + name: MST College of Science + url: "#" + logo: /images/sections/education/science_college.png + # Can optionally show a different logo for dark theme + # darkLogo: /images/sections/education/science_college.png + grade: #(optional) + scale: GPA + achieved: 5 + outOf: 5 + extracurricularActivities: #(optional) + - In vitae facilisis est, eget porta sem. + - Vestibulum consectetur lorem justo, at laoreet lorem feugiat et. + - Duis sed massa feugiat, ornare justo et, aliquam est. + - Pellentesque ut fringilla magna. +- name: Secondary School Certificate + icon: fa-school + timeframe: 2005-2010 + institution: + name: JK School of Science + grade: #(optional) + scale: GPA + achieved: 4.5 + outOf: 5 diff --git a/data/en/sections/experiences.yaml b/data/en/sections/experiences.yaml new file mode 100644 index 0000000..806af52 --- /dev/null +++ b/data/en/sections/experiences.yaml @@ -0,0 +1,73 @@ +# section information +section: + name: Work Experience + id: experiences + enable: true + weight: 1 + showOnNavbar: true + # Can optionally hide the title in sections + # hideTitle: true + +# Your experiences +experiences: +- company: + name: Example Co. + url: "https://www.example.com" + location: Dhaka Branch + logo: /images/sections/experiences/company1.jpg + # Can optionally show a different logo for dark theme + # darkLogo: /images/sections/experiences/company1.jpg + # company overview + overview: Example Co. is a widely recognized company for cloud-native development. It builds tools for Kubernetes. + positions: + - designation: Senior Software Engineer + start: Nov 2019 + # 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 and develop XYZ tool for ABC task + - Design, develop and manage disaster recovery tool [Xtool](https://www.example.com) that backup Kubernetes volumes, databases, and cluster's resource definition. + - Lead backend team. + + - designation: Junior Software Engineer + start: Nov 2017 + end: Oct 2019 + responsibilities: + - Implement and test xyz feature for abc tool. + - Support client for abc tool. + - Learn k,d,w technology for xyz. + +- company: + name: PreExample Co. + url: "https://www.example.com" + location: Nowhere + logo: /images/sections/experiences/company2.jpg + # Can optionally show a different logo for dark theme + # darkLogo: /images/sections/experiences/company2.jpg + overview: PreExample Co. is a gateway company to enter into Example co. So, nothing special here. + positions: + - designation: Software Engineer + start: March 2016 + end: May 2017 + responsibilities: + - Write lots of example codes. + - Read lots of examples. + - See lots of example videos. + +- company: + name: Intern Counting Company (ICC). + url: "https://www.example.com" + location: Intern Land + logo: /images/sections/experiences/company3.jpg + # Can optionally show a different logo for dark theme + # darkLogo: /images/sections/experiences/company3.jpg + overview: Intern counting Company (ICC) is responsible for counting worldwide intern Engineers. + positions: + - designation: Intern + start: Jun 2015 + end: Jan 2016 + responsibilities: + - Count lost of interns. + - Count more interns. + - Count me as an intern. diff --git a/data/en/sections/projects.yaml b/data/en/sections/projects.yaml new file mode 100644 index 0000000..72fcafa --- /dev/null +++ b/data/en/sections/projects.yaml @@ -0,0 +1,38 @@ +# section information +section: + name: Projects + id: projects + enable: true + weight: 0 + showOnNavbar: true + # Can optionally hide the title in sections + hideTitle: false + +# filter buttons +buttons: +- name: All + filter: "all" +- name: Professional + filter: "professional" +- name: Academic + filter: "academic" +- name: Hobby + filter: "hobby" + +# your projects +projects: +- name: Kubernetes + logo: /images/sections/projects/kubernetes.png + role: Contributor + timeline: "March 2018 - Present" + repo: https://github.com/kubernetes/kubernetes # If your project is a 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: A sample academic paper + role: Team Lead + timeline: "Jan 2017 - Nov 2017" + 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"] \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index cd8afbc..70767e7 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,72 +1,75 @@ -
-