diff --git a/package-lock.json b/package-lock.json index 06c0aea..9075589 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,6 +20,7 @@ "@radix-ui/react-avatar": "^1.1.0", "@radix-ui/react-dropdown-menu": "^2.1.1", "@radix-ui/react-icons": "^1.3.0", + "@radix-ui/react-separator": "^1.1.0", "@radix-ui/react-slot": "^1.1.0", "@types/react": "^18.3.5", "@types/react-dom": "^18.3.0", @@ -2201,6 +2202,28 @@ } } }, + "node_modules/@radix-ui/react-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@radix-ui/react-separator/-/react-separator-1.1.0.tgz", + "integrity": "sha512-3uBAs+egzvJBDZAzvb/n4NxxOYpnspmWxO2u5NbZ8Y6FM/NdrGSF9bop3Cf6F6C71z1rTSn8KV0Fo2ZVd79lGA==", + "dependencies": { + "@radix-ui/react-primitive": "2.0.0" + }, + "peerDependencies": { + "@types/react": "*", + "@types/react-dom": "*", + "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "@types/react-dom": { + "optional": true + } + } + }, "node_modules/@radix-ui/react-slot": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz", diff --git a/package.json b/package.json index 33336f7..f538308 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "@radix-ui/react-avatar": "^1.1.0", "@radix-ui/react-dropdown-menu": "^2.1.1", "@radix-ui/react-icons": "^1.3.0", + "@radix-ui/react-separator": "^1.1.0", "@radix-ui/react-slot": "^1.1.0", "@types/react": "^18.3.5", "@types/react-dom": "^18.3.0", diff --git a/public/512x512.png b/public/512x512.png new file mode 100644 index 0000000..8e507ea Binary files /dev/null and b/public/512x512.png differ diff --git a/src/components/AuthorCard.astro b/src/components/AuthorCard.astro index ef5caed..8a12b3c 100644 --- a/src/components/AuthorCard.astro +++ b/src/components/AuthorCard.astro @@ -1,6 +1,7 @@ --- import type { CollectionEntry } from 'astro:content' import { Image } from 'astro:assets' +import Link from '@components/Link.astro' type Props = { author: CollectionEntry<'authors'> @@ -13,7 +14,7 @@ const { name, avatar, bio } = author.data
- + {`Avatar{name}

{bio}

- + diff --git a/src/components/BlogCard.astro b/src/components/BlogCard.astro index e2959ca..6c71699 100644 --- a/src/components/BlogCard.astro +++ b/src/components/BlogCard.astro @@ -3,6 +3,8 @@ import type { CollectionEntry } from 'astro:content' import { formatDate, readingTime } from '@lib/utils' import { Image } from 'astro:assets' import { Badge } from '@/components/ui/badge' +import { Separator } from '@/components/ui/separator' +import Link from './Link.astro' type Props = { entry: CollectionEntry<'blog'> @@ -19,7 +21,10 @@ const readTime = readingTime(entry.body)
- + { entry.data.image && (
@@ -44,7 +49,7 @@ const readTime = readingTime(entry.body) class="mb-2 flex items-center space-x-2 text-xs text-muted-foreground" > {formattedDate} - + {readTime}
{ @@ -57,5 +62,5 @@ const readTime = readingTime(entry.body) ) }
- + diff --git a/src/components/Footer.astro b/src/components/Footer.astro index dbccef4..8db871f 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -1,7 +1,6 @@ --- import Container from '@components/Container.astro' import SocialIcons from './SocialIcons.astro' -import { ModeToggle } from '@components/ui/mode-toggle' ---