diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index abfb0e0fb..93d5ed31a 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -171,66 +171,65 @@ params: experience: enable: true # title: "Custom Name" - items: - - job: "Senior Software Developer" - company: "Facebook" - companyUrl: "https://example.com" - date: "Jan 2022 - present" - featuredLink: - enable: true - name: "View the project" - url: "https://example.com" - content: "I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city." - - - job: "Software Developer" - company: "Amazon" - companyUrl: "https://example.com" - date: "Sep 2020 - Dec 2021" - featuredLink: - enable: true - url: "https://example.com" - info: - enable: true - content: I worked as a software developer for more than one year in Amazon. - content: | - I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city. - - - Lead backend developer for a product. - - Created a frontend design for a product. - - - job: "Junior Software Developer" - company: "Apple" + companies: + - company: "Facebook" companyUrl: "https://example.com" - date: "Jan 2020 - Aug 2020" - info: - enable: false - featuredLink: - enable: true - url: "https://example.com" - content: | - I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city. - - - Lead backend developer for a product. - - Created a frontend design for a product. - - - job: "UI/UX Designer" - company: "Netflix" + jobs: + - job: "Senior Software Developer" + date: "Jan 2022 - present" + featuredLink: + enable: true + name: "View the project" + url: "https://example.com" + content: "I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city." + + - job: "Software Developer" + date: "Sep 2020 - Dec 2021" + featuredLink: + enable: true + url: "https://example.com" + info: + enable: true + content: I worked as a software developer for more than one year in Facebook. + content: | + I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city. + + - Lead backend developer for a product. + - Created a frontend design for a product. + - company: "Apple" companyUrl: "https://example.com" - date: "June 2017 - Nov 2019" - featuredLink: - enable: true - url: "https://example.com" - content: | - I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city. - - - Lead backend developer for a product. - - Created a frontend design for a product. - - - job: "Product Designer" - company: "Google" + jobs: + - job: "Junior Software Developer" + company: "Apple" + companyUrl: "https://example.com" + date: "Jan 2020 - Aug 2020" + info: + enable: false + featuredLink: + enable: true + url: "https://example.com" + content: | + I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city. + + - Lead backend developer for a product. + - Created a frontend design for a product. + - company: "Netflix" companyUrl: "https://example.com" - date: "Feb 2016 - Mar 2017" - content: "I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city." + jobs: + - job: "UI/UX Designer" + date: "June 2017 - Nov 2019" + featuredLink: + enable: true + url: "https://example.com" + content: | + I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city. + + - Lead backend developer for a product. + - Created a frontend design for a product. + + - job: "Product Designer" + date: "Feb 2016 - Mar 2017" + content: "I am currently working as a software developer at [example org.](https://example.com) in San Francisco, CA. I am currently working on a project that will be used to help people find the best way to get around the city." # Education education: diff --git a/layouts/partials/sections/experience.html b/layouts/partials/sections/experience.html index f9c2d13dd..b777c8634 100644 --- a/layouts/partials/sections/experience.html +++ b/layouts/partials/sections/experience.html @@ -1,130 +1,76 @@ -{{ if .Site.Params.experience.enable | default false }} -
-
-

{{ .Site.Params.experience.title | default "Experience" }}

-
-
-
- -
- {{ range $index, $element := .Site.Params.experience.items }} - {{ if (eq $index 0) }} -
-
- {{ .job }} - - - {{ .company }} -
- {{ .date }} - {{ if .info.enable | default true }} - - - - - - {{ end }} -
- - {{ if .featuredLink.enable | default false }} - - {{ end }} -
- - {{ .content | markdownify}} -
- {{ else }} -
-
- {{ .job }} - - - {{ .company }} - -
- {{ .date }} - {{ if .info.enable | default true }} - - - - - - {{ end }} -
- - {{ if .featuredLink.enable | default false }} - - {{ end }} -
- -
- {{ .content | markdownify}} -
-
- {{ end }} - {{ end }} -
-
-
-
-
-
-{{ end }} +{{ if .Site.Params.experience.enable | default false }} +
+
+

{{ .Site.Params.experience.title | default "Experience" }}

+
+
+
+ +
+ {{ range $indexCompany, $company := .Site.Params.experience.companies }} +
+ {{ range $indexJob, $job := .jobs }} +
+
+ {{ .job }} + - + {{ $company.company }} +
+ {{ .date }} + {{ if .info.enable | default true }} + + + + + + {{ end }} +
+ + {{ if .featuredLink.enable | default false }} + + {{ end }} +
+ + {{ .content | markdownify}} +
+ {{ end }} +
+ + {{ end }} +
+
+
+
+
+
+{{ end }} diff --git a/static/css/index.css b/static/css/index.css index a13aa4e1f..2a99412a6 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -384,6 +384,10 @@ header .navbar.animate { opacity: 0.7; } +#experience .job-container { + margin-top: 20px; +} + /* Education */ #education .container > h3 { @@ -576,4 +580,4 @@ header .navbar.animate { border-radius: 0.5rem; box-shadow: 0px 8px 56px rgb(15 80 100 / 5%); padding: .5rem 1rem; -} \ No newline at end of file +}