diff --git a/public/og.png b/public/og.png new file mode 100644 index 0000000..862cc1e Binary files /dev/null and b/public/og.png differ diff --git a/src/layouts/layout.astro b/src/layouts/layout.astro index 742f8f7..1a97f47 100644 --- a/src/layouts/layout.astro +++ b/src/layouts/layout.astro @@ -2,10 +2,14 @@ import '@/styles/global.css'; interface Props { - title: string; + description?: string; + title?: string; } -const { title } = Astro.props; +const title = Astro.props.title || 'Moodist: Ambient Sounds for Focus and Calm'; +const description = + Astro.props.description || + "Moodist is a free online ambient sound generator for focus and calm, offering 35 handpicked sounds in various categories, from nature's tranquil melodies to the soothing ambiance of urban life."; --- @@ -14,10 +18,22 @@ const { title } = Astro.props; - -