diff --git a/src/components/Box.astro b/src/components/Box.astro new file mode 100644 index 0000000..fae0b11 --- /dev/null +++ b/src/components/Box.astro @@ -0,0 +1,61 @@ +--- +interface Props { + accent?: string; + isTitle?: boolean +} + +const { accent, isTitle } = Astro.props as Props; + +let opachity = 0.05; +if (isTitle) { + opachity = 0.2; +} +--- + +
{experience.role}
-{experience.role}
++ {experience.description} +
+- {experience.description} -
-- {experience.start.toLocaleDateString('en-US', { year: 'numeric', month: 'short' })} - - - {experience.end - ? experience.end.toLocaleDateString('en-US', { year: 'numeric', month: 'short' }) - : 'Nu'} -
-+ {experience.start.toLocaleDateString('en-US', { year: 'numeric', month: 'short' })} + - + {experience.end + ? experience.end.toLocaleDateString('en-US', { year: 'numeric', month: 'short' }) + : 'Nu'} +
{study.school} · {study.level}
+{study.school} · {study.level}
-- {study.start.toLocaleDateString('en-US', { year: 'numeric', month: 'short' })} - - - {study.end - ? study.end.toLocaleDateString('en-US', { year: 'numeric', month: 'short' }) - : 'Nu'} -
-+ {study.start.toLocaleDateString('en-US', { year: 'numeric', month: 'short' })} + - + {study.end + ? study.end.toLocaleDateString('en-US', { year: 'numeric', month: 'short' }) + : 'Nu'} +