diff --git a/src/components/Pullquote.astro b/src/components/Pullquote.astro index 89876b1..5e1a107 100644 --- a/src/components/Pullquote.astro +++ b/src/components/Pullquote.astro @@ -3,6 +3,7 @@ import TextLink from './TextLink.astro'; interface Props { + alignment: 'center' | 'left'; author?: string; class?: string; lang?: string; @@ -11,10 +12,27 @@ interface Props { text: string; } -const { author, class: className, lang = 'en', source, sourceUrl, text, ...props } = Astro.props; +const { + alignment = 'center', + author, + class: className, + lang = 'en', + source, + sourceUrl, + text, + ...props +} = Astro.props; --- -
+
{
(author || source) && (
diff --git a/src/layouts/PageLayout.astro b/src/layouts/PageLayout.astro
index aa9550e..24b8192 100644
--- a/src/layouts/PageLayout.astro
+++ b/src/layouts/PageLayout.astro
@@ -1,7 +1,8 @@
---
// Cspell:words astro frontmatter
-import PageTitle from '../components/PageTitle.astro';
+import Pullquote from '../components/Pullquote.astro';
import Image from '../components/Image.astro';
+import PageTitle from '../components/PageTitle.astro';
import GridLayout from './GridLayout.astro';
@@ -30,6 +31,13 @@ const gridVariant = frontmatter.grid || grid;
)
}
+ {
+ frontmatter.intro && (
+
+
+
+ )
+ }
diff --git a/src/pages/now.mdx b/src/pages/now.mdx
index e7b6113..68018fd 100644
--- a/src/pages/now.mdx
+++ b/src/pages/now.mdx
@@ -2,6 +2,7 @@
layout: ../layouts/PageLayout.astro
title: Now
description: This is my Now page, listing the things I currently do.
+intro: This is my Now page, a website with the content of what I am focused on at this point in my life.
backLink: /
---