diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-11-03 07:38:51 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-11-06 09:12:14 -0500 |
| commit | 19a1dca7014bdfa04b69c48abd5c358444eb8797 (patch) | |
| tree | dbcf56d0fc8e7307159acfaa7ae60e729e3611be /lume/src/_components | |
| parent | 3267b07d26fbdbf8f0ad607edff8a5fd2f134ed5 (diff) | |
| download | xesite-19a1dca7014bdfa04b69c48abd5c358444eb8797.tar.xz xesite-19a1dca7014bdfa04b69c48abd5c358444eb8797.zip | |
lume: add PullQuote
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'lume/src/_components')
| -rw-r--r-- | lume/src/_components/PullQuote.jsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lume/src/_components/PullQuote.jsx b/lume/src/_components/PullQuote.jsx new file mode 100644 index 0000000..0f2aef9 --- /dev/null +++ b/lume/src/_components/PullQuote.jsx @@ -0,0 +1,7 @@ +export default function PullQuote({ children }) { + return ( + <blockquote className="border-l-4 border-blue-500 dark:border-blue-300 p-4 my-6 italic bg-gray-100 dark:bg-gray-800 text-gray-800 dark:text-gray-100 text-lg"> + <p className="m-0">{children}</p> + </blockquote> + ); +} |
