re-arrange code
This commit is contained in:
@@ -40,4 +40,4 @@ html.scroll-smooth(lang=lang)
|
||||
yearsOfDeveloping = (new Date().getTime() - new Date("2005-07-07").getTime()) / 1000 / 60 / 60 / 24 / 365.25;
|
||||
document.getElementById("yearsOfAge").innerText = yearsOfAge.toFixed(6);
|
||||
document.getElementById("yearsOfDeveloping").innerText = yearsOfDeveloping.toFixed(6);
|
||||
}, 100);
|
||||
}, 500);
|
||||
|
||||
@@ -1,11 +1,3 @@
|
||||
//-
|
||||
Collapsable Component
|
||||
@param {Object} data - The data object containing the collapsable content
|
||||
@param {Boolean} isOpen - The initial state of the collapsable content
|
||||
@param {String} data.color - The color of the collapsable content
|
||||
@param {String} data.category - The category of the collapsable content
|
||||
@param {String} data.summary - The summary of the collapsable content
|
||||
@param {Array} data.items - The items of the collapsable content
|
||||
mixin Collapsable(data, open)
|
||||
- const isExpanded = open || false;
|
||||
- const color = data.color || "orange";
|
||||
|
||||
@@ -54,7 +54,5 @@ footer#footer.bg-nls-black.text-white
|
||||
+Link("./src/assets/CV_2019_Michael-Werner-Czechowski_en.pdf", "CV", "_blank", "noopener noreferrer")
|
||||
| CV
|
||||
|
||||
+Link("https://git.dailysh.it/nextlevelshit/dailysh.it", "gitea", "_blank", "noopener noreferrer")
|
||||
| #{footer.gitea}
|
||||
|
||||
+Link("https://git.dailysh.it/nextlevelshit/dailysh.it", "gitea", "_blank", "noopener noreferrer")= footer.gitea
|
||||
// endregion
|
||||
|
||||
@@ -8,20 +8,6 @@ section#professional.bg-nls-black.text-white
|
||||
+Title("h2")= professional.title
|
||||
p.mb-4.max-w-prose.prose.indent-3(class="lg:prose-xl")
|
||||
| #{professional.description}
|
||||
//ul.list-disc.list-inside.mb-8
|
||||
// each item, i in professional.keyConcepts
|
||||
// li
|
||||
// if item.link
|
||||
// a.rounded-sm.transition.underline-offset-2.mb-2.cursor-pointer.text-md.font-semibold.mb-2.cursor-pointer.text-white.underline(
|
||||
// href=item.link.href,
|
||||
// class="focus:outline-none focus:z-10 focus:ring-4 focus:ring-white focus:bg-white focus:text-black focus:no-underline",
|
||||
// title=item.link.title,
|
||||
// target="_blank",
|
||||
// rel="noopener noreferrer",
|
||||
// onclick=`umami.track('external link clicked', { position: 'professional', label: '${item.link.label}', visitDuration: getVisitDuration() })`,
|
||||
// aria-label=item.link.ariaLabel
|
||||
// ) #{item.link.text}
|
||||
// | #{item.text}
|
||||
p.mb-8.max-w-prose.prose(class="lg:prose-xl")
|
||||
| #{professional.principlesIntro}
|
||||
.list-disc.list-inside.mb-8
|
||||
|
||||
Reference in New Issue
Block a user