diff --git a/components/card/ArticleCard.vue b/components/card/ArticleCard.vue index 182b8a2..6ff1ff4 100644 --- a/components/card/ArticleCard.vue +++ b/components/card/ArticleCard.vue @@ -13,16 +13,12 @@ const thumbUrl = computed(() => { return props.post.fields.thumb.value }) -const handleOnCardClick = () => { - window.open(props.post.url, '_self') -} - \ No newline at end of file diff --git a/pages/blog.vue b/pages/blog.vue new file mode 100644 index 0000000..61c76f4 --- /dev/null +++ b/pages/blog.vue @@ -0,0 +1,14 @@ + + + + + \ No newline at end of file diff --git a/pages/blog/[cid].vue b/pages/blog/[cid].vue index 545c08a..71770da 100644 --- a/pages/blog/[cid].vue +++ b/pages/blog/[cid].vue @@ -1,12 +1,50 @@