diff --git a/public/blog-placeholder-1.jpg b/public/blog-placeholder-1.jpg deleted file mode 100644 index 74d4009..0000000 Binary files a/public/blog-placeholder-1.jpg and /dev/null differ diff --git a/public/blog-placeholder-2.jpg b/public/blog-placeholder-2.jpg deleted file mode 100644 index c4214b0..0000000 Binary files a/public/blog-placeholder-2.jpg and /dev/null differ diff --git a/public/blog-placeholder-3.jpg b/public/blog-placeholder-3.jpg deleted file mode 100644 index fbe2ac0..0000000 Binary files a/public/blog-placeholder-3.jpg and /dev/null differ diff --git a/public/blog-placeholder-4.jpg b/public/blog-placeholder-4.jpg deleted file mode 100644 index f4fc88e..0000000 Binary files a/public/blog-placeholder-4.jpg and /dev/null differ diff --git a/public/blog-placeholder-5.jpg b/public/blog-placeholder-5.jpg deleted file mode 100644 index c564674..0000000 Binary files a/public/blog-placeholder-5.jpg and /dev/null differ diff --git a/public/blog-placeholder-about.jpg b/public/blog-placeholder-about.jpg deleted file mode 100644 index cf5f685..0000000 Binary files a/public/blog-placeholder-about.jpg and /dev/null differ diff --git a/src/components/FormattedDate.astro b/src/components/FormattedDate.astro index 60b112c..5709778 100644 --- a/src/components/FormattedDate.astro +++ b/src/components/FormattedDate.astro @@ -7,11 +7,5 @@ const { date } = Astro.props; --- diff --git a/src/components/Header.astro b/src/components/Header.astro index 0c74c1d..7e74480 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,8 +1,17 @@ --- // import HeaderLink from './HeaderLink.astro'; // import { SITE_TITLE } from '@consts'; +// import { CakeSlice } from 'lucide-astro'; --- -
- +
+
diff --git a/src/content/blog/first-post.md b/src/content/blog/first-post.md index 3066715..ee51f15 100644 --- a/src/content/blog/first-post.md +++ b/src/content/blog/first-post.md @@ -2,7 +2,6 @@ title: 'First post' description: 'Lorem ipsum dolor sit amet' pubDate: 'Jul 08 2022' -heroImage: '/blog-placeholder-3.jpg' --- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet. diff --git a/src/content/blog/markdown-style-guide.md b/src/content/blog/markdown-style-guide.md index cf02c41..ff690f8 100644 --- a/src/content/blog/markdown-style-guide.md +++ b/src/content/blog/markdown-style-guide.md @@ -2,7 +2,6 @@ title: 'Markdown Style Guide' description: 'Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.' pubDate: 'Jul 01 2022' -heroImage: '/blog-placeholder-1.jpg' --- Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro. diff --git a/src/content/blog/second-post.md b/src/content/blog/second-post.md index f47e093..d25206d 100644 --- a/src/content/blog/second-post.md +++ b/src/content/blog/second-post.md @@ -2,7 +2,6 @@ title: 'Second post' description: 'Lorem ipsum dolor sit amet' pubDate: 'Jul 15 2022' -heroImage: '/blog-placeholder-4.jpg' --- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet. diff --git a/src/content/blog/third-post.md b/src/content/blog/third-post.md index af82f0e..ef37bab 100644 --- a/src/content/blog/third-post.md +++ b/src/content/blog/third-post.md @@ -2,7 +2,6 @@ title: 'Third post' description: 'Lorem ipsum dolor sit amet' pubDate: 'Jul 22 2022' -heroImage: '/blog-placeholder-2.jpg' --- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet. diff --git a/src/content/blog/using-mdx.mdx b/src/content/blog/using-mdx.mdx index 825b513..cc0b8a0 100644 --- a/src/content/blog/using-mdx.mdx +++ b/src/content/blog/using-mdx.mdx @@ -2,7 +2,6 @@ title: 'Using MDX' description: 'Lorem ipsum dolor sit amet' pubDate: 'Jul 02 2022' -heroImage: '/blog-placeholder-5.jpg' --- This theme comes with the [@astrojs/mdx](https://docs.astro.build/en/guides/integrations-guide/mdx/) integration installed and configured in your `astro.config.mjs` config file. If you prefer not to use MDX, you can disable support by removing the integration from your config file. diff --git a/src/content/config.ts b/src/content/config.ts index e8993e5..f8618c6 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -1,7 +1,7 @@ -import { defineCollection, z } from 'astro:content'; +import { defineCollection, z } from "astro:content"; const blog = defineCollection({ - type: 'content', + type: "content", // Type-check frontmatter using a schema schema: z.object({ title: z.string(), @@ -9,7 +9,6 @@ const blog = defineCollection({ // Transform string to Date object pubDate: z.coerce.date(), updatedDate: z.coerce.date().optional(), - heroImage: z.string().optional(), }), }); diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index b8607e1..37cd7b3 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -44,10 +44,10 @@ const { title, description, image = '/blog-placeholder-1.jpg' } = Astro.props; - -
+ +
-
+