diff --git a/assets/img/sdf.jpg b/assets/img/sdf.jpg new file mode 100644 index 0000000..f3680ed Binary files /dev/null and b/assets/img/sdf.jpg differ diff --git a/pages/about.vue b/pages/about.vue index c392579..b041f2a 100644 --- a/pages/about.vue +++ b/pages/about.vue @@ -2,41 +2,40 @@ definePageMeta({ layout: "list", }); - -const { data } = await useAsyncData("about", () => queryContent("/").find()); - -const getAllPost = computed(() => { - const allpost = data.value || []; - const alltypes = allpost.map((post) => { - return { - title: post.title, - path: post._path, - date: post.date as string, - type: post.type, - }; - }); - alltypes.sort(function (a, b) { - const c = new Date(a.date); - const d = new Date(b.date); - return c < d ? 1 : -1; - }); - return alltypes; -});