diff --git a/src/components/misc/BlogProjectCard.astro b/src/components/misc/BlogProjectCard.astro new file mode 100644 index 0000000..c02596d --- /dev/null +++ b/src/components/misc/BlogProjectCard.astro @@ -0,0 +1,23 @@ +--- +export interface Props { + title: string; + subtitle: string; + image: string; + link: string; +} + +const { title, subtitle, image, link } = Astro.props; +--- + + +
+ +
+ +
+

{title}

+

{subtitle}

+
+
+
+
\ No newline at end of file diff --git a/src/components/nav/Nav.astro b/src/components/nav/Nav.astro index 7b47435..a8f5dc4 100644 --- a/src/components/nav/Nav.astro +++ b/src/components/nav/Nav.astro @@ -8,7 +8,7 @@
- +
@@ -29,6 +29,11 @@ +
  • + + + +
  • diff --git a/src/components/resume/Timeline.astro b/src/components/resume/Timeline.astro index 4b2060f..cf842be 100644 --- a/src/components/resume/Timeline.astro +++ b/src/components/resume/Timeline.astro @@ -1,16 +1,20 @@ --- - export interface Props{ - title: string, - subtitle: string, - description?: string, - } +export interface Props { + title: string; + subtitle: string; +} - const {title, subtitle, description} = Astro.props; +const { title, subtitle } = Astro.props; --- -
    -
    - -
    +
    +
    + +
    - +
    +

    {title}

    + {subtitle} + +
    +
    diff --git a/src/layouts/BlogLayout.astro b/src/layouts/BlogLayout.astro new file mode 100644 index 0000000..d9accf1 --- /dev/null +++ b/src/layouts/BlogLayout.astro @@ -0,0 +1,16 @@ +--- +import Divider from "../components/misc/Divider.astro"; +import Layout from "./Layout.astro"; + +const { frontmatter } = Astro.props; +--- + + +
    + +

    {frontmatter.title}

    +

    {frontmatter.date}

    + + +
    +
    \ No newline at end of file diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 95fd7b9..9a59edb 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -37,7 +37,7 @@