diff --git a/components/blogpost.tsx b/components/blogpost.tsx index 1bc9722..13939db 100644 --- a/components/blogpost.tsx +++ b/components/blogpost.tsx @@ -1,5 +1,8 @@ 'use client'; +import tagsPic from '../public/tags.svg'; +import calendarPic from '../public/calendar.svg' + import AnimatedLink from '../components/animatedLink'; import Image from 'next/image'; @@ -16,10 +19,10 @@ interface BlogAreaProps { export default function BlogArea({ blogposts }: BlogAreaProps) { return ( -
+
{blogposts.map((blogpost, index) => ( -
+
-
    -
  • Games
  • -
  • Science
  • +
      +
    • lang
    • +
    • Games
    • +
    • Science
    {blogpost.body.slice(0, 512)}...
    -
    -

    Posted: {blogpost.publish}

    -
    -
    +
      +
    • lang
    • +
    • {blogpost.publish}

    • +
    + +
    Read the article diff --git a/public/calendar.svg b/public/calendar.svg new file mode 100644 index 0000000..c002b85 --- /dev/null +++ b/public/calendar.svg @@ -0,0 +1,16 @@ + + + + + + diff --git a/public/tags.svg b/public/tags.svg new file mode 100644 index 0000000..49c8817 --- /dev/null +++ b/public/tags.svg @@ -0,0 +1,5 @@ + + + + +