diff --git a/src/components/ShareSticky.vue b/src/components/ShareSticky.vue new file mode 100644 index 0000000..04c19a6 --- /dev/null +++ b/src/components/ShareSticky.vue @@ -0,0 +1,127 @@ + + + \ No newline at end of file diff --git a/src/layouts/MainLayout.astro b/src/layouts/MainLayout.astro index 47a67e6..43431ac 100644 --- a/src/layouts/MainLayout.astro +++ b/src/layouts/MainLayout.astro @@ -7,7 +7,7 @@ import "@fontsource/poppins/400.css"; import "@fontsource/poppins/500.css"; import "@fontsource/poppins/700.css"; import "@fontsource-variable/kameron"; - +import ShareSticky from "../components/ShareSticky.vue"; const { title } = Astro.props; --- + + + {post.data.title} + + + + + + + + + + {post.data.gallery && post.data.gallery.length > 0 && post.data.gallery[0].image && ( + <> + + + + + + )} +