diff --git a/design/src/cv.html b/design/src/cv.html index 72fd2e3..42242a6 100644 --- a/design/src/cv.html +++ b/design/src/cv.html @@ -1,141 +1,122 @@ - - - - - Aaron Czichon - - - - - - -
- - Aaron Czichon - - Canada - Blog - Images - Map - CV - About - - -
- - - - - -
-
-
-
-
-

My Journey

+ + + + + Aaron Czichon + + + + + + + + +
+
+

My Journey

+

+ I started my career after school in 2010. I collected over 11 years of experience in + software development, building a development team, speaking at conferences, writing + articles and training people to become familiar with several web development related + topics in workshops. +

+

+ It's splitted into a list of what am I doing currently and what I've done in the past. You + can also download the CV as a PDF as well. +

+
+
    +
  1. Current
  2. +
  3. Past
  4. +
+
+
+ Image 1 +
+
+

PlanB. GmbH

+

Senior Javascript Engineer, 08-2020 - Present

+

Hüttlingen, Germany / Remote

- I started my career after school in 2010. I collected over 11 years of experience in - software development, building a development team, speaking at conferences, writing - articles and training people to become familiar with several web development related - topics in workshops. + With focus on bringing web technologies into the PlanB. Company and provide know-how and + knowledge on the Javascript topic for colleagues and customers I help them to achieve + more in their daily life. Building software products with our customers which are use + the could platform Azure from Microsoft I building applications on top of it using + modern Javascript and web technologies.

+
+
+ Image 1 +
+
+

PlanB. GmbH

+

Senior Javascript Engineer, 08-2020 - Present

+

Hüttlingen, Germany / Remote

- It's splitted into a list of what am I doing currently and what I've done in the past. You - can also download the CV as a PDF as well. + With focus on bringing web technologies into the PlanB. Company and provide know-how and + knowledge on the Javascript topic for colleagues and customers I help them to achieve + more in their daily life. Building software products with our customers which are use + the could platform Azure from Microsoft I building applications on top of it using + modern Javascript and web technologies.

-
    -
  1. Current
  2. -
  3. Past
  4. -
-
-
- Image 1 -
-
-

PlanB. GmbH

-

Senior Javascript Engineer, 08-2020 - Present

-

Hüttlingen, Germany / Remote

-

- With focus on bringing web technologies into the PlanB. Company and provide know-how and - knowledge on the Javascript topic for colleagues and customers I help them to achieve - more in their daily life. Building software products with our customers which are use - the could platform Azure from Microsoft I building applications on top of it using - modern Javascript and web technologies. -

-
-
- Image 1 -
-
-

PlanB. GmbH

-

Senior Javascript Engineer, 08-2020 - Present

-

Hüttlingen, Germany / Remote

-

- With focus on bringing web technologies into the PlanB. Company and provide know-how and - knowledge on the Javascript topic for colleagues and customers I help them to achieve - more in their daily life. Building software products with our customers which are use - the could platform Azure from Microsoft I building applications on top of it using - modern Javascript and web technologies. -

-
-
-
Past
-
- - - + }); + + //reads the query string parameter + const urlParams = new URLSearchParams(window.location.search); + const section = urlParams.get('section'); + if (!section || section === 'current') { + cvSwitcher.querySelector('.active').classList.remove('active'); + cvSwitcher.querySelector('a').classList.add('active'); + document.getElementById('current-section').classList.add('active'); + document.getElementById('past-section').classList.remove('active'); + } else { + cvSwitcher.querySelector('.active').classList.remove('active'); + cvSwitcher.querySelector('li:last-child').firstChild.classList.add('active'); + document.getElementById('current-section').classList.remove('active'); + document.getElementById('past-section').classList.add('active'); + } + + + \ No newline at end of file diff --git a/personal/src/components/CVList.astro b/personal/src/components/CVList.astro new file mode 100644 index 0000000..f194da2 --- /dev/null +++ b/personal/src/components/CVList.astro @@ -0,0 +1,60 @@ +--- +import { getCollection } from "astro:content"; +const allCvEntries = await getCollection("cv"); + +const currentEntries = allCvEntries + .filter((entry) => entry.data.type === "current") + .sort((a, b) => { + return a.data.order > b.data.order ? 1 : -1; + }); +const pastEntries = allCvEntries + .filter((entry) => entry.data.type === "past") + .sort((a, b) => { + return a.data.order > b.data.order ? 1 : -1; + }); +--- + +
+ { + currentEntries.map((entry) => ( + <> +
+ Logo +
+
+

{entry.data.title}

+

+ {entry.data.position}, {entry.data.timeframe} +

+

{entry.data.location}

+ {entry.body} +
+ + )) + } +
+
+ { + pastEntries.map((entry) => ( + <> +
+ Logo +
+
+

{entry.data.title}

+

+ {entry.data.position}, {entry.data.timeframe} +

+

{entry.data.location}

+ {entry.body} +
+ + )) + } +
diff --git a/personal/src/components/Nav.astro b/personal/src/components/Nav.astro index 542a4c7..502eb87 100644 --- a/personal/src/components/Nav.astro +++ b/personal/src/components/Nav.astro @@ -25,11 +25,12 @@ import { Image } from "astro:assets"; - -1 ? "active" : ""}>CV + > --> + -1 ? "active" : ""}>CV