diff --git a/src/components/tailwind-indicator.astro b/src/components/tailwind-indicator.astro index 8010716..59ddcef 100644 --- a/src/components/tailwind-indicator.astro +++ b/src/components/tailwind-indicator.astro @@ -1,23 +1,25 @@ -
-
xs
- - - - - - | 0px +
+
xs
+ + + + + + | 0px
\ No newline at end of file + // Initial call to set the media size on page load + updateMediaSize(); + }); + diff --git a/src/pages/index.astro b/src/pages/index.astro index 88410c5..4084d5e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -10,9 +10,7 @@ const totalYearsXP = new Date().getFullYear() - 2021; const totalYearsDev = new Date().getFullYear() - 2017; const workExperiences = (await getCollection("work")).sort( - (a, b) => - (b.data.endDate?.getTime() ?? new Date().getTime()) - - (a.data.endDate?.getTime() ?? new Date().getTime()) + (a, b) => b.data.startDate.getTime() - a.data.startDate.getTime() ); const projects = (await getCollection("projects")).sort( @@ -81,15 +79,13 @@ const projects = (await getCollection("projects")).sort(
  • - +
  • ); @@ -191,4 +191,19 @@ const projects = (await getCollection("projects")).sort( } +