diff --git a/public/favicon.svg b/public/favicon.svg index f157bd1..e4a4cc0 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1,9 +1,8 @@ - - - + + diff --git a/public/signature-animate.svg b/public/signature-animate.svg new file mode 100644 index 0000000..5324eb3 --- /dev/null +++ b/public/signature-animate.svg @@ -0,0 +1,64 @@ + + + + + diff --git a/src/components/Signature.astro b/src/components/Signature.astro new file mode 100644 index 0000000..f33af13 --- /dev/null +++ b/src/components/Signature.astro @@ -0,0 +1,130 @@ +--- +interface Props { + class?: string +} + +const { class: className = '' } = Astro.props +--- + +
+ +
+ + + + + diff --git a/src/components/Thought.astro b/src/components/Thought.astro index 7b3b332..321ef7b 100644 --- a/src/components/Thought.astro +++ b/src/components/Thought.astro @@ -13,6 +13,7 @@ interface Props { const { thought } = Astro.props const { Content } = await render(thought) +const TAG_LEADING_HASH = /^#/ const tags = thought.data.tags ?? [] --- @@ -29,7 +30,7 @@ const tags = thought.data.tags ?? [] ? ( tags.map((tag: string) => ( - #{tag.replace(/^#/, '')} + #{tag.replace(TAG_LEADING_HASH, '')} )) ) diff --git a/src/components/cards/Profile.astro b/src/components/cards/Profile.astro index ae0d614..c8868d5 100644 --- a/src/components/cards/Profile.astro +++ b/src/components/cards/Profile.astro @@ -1,13 +1,14 @@ --- import Avatar from '../Avatar.astro' import CornerMarkers from '../CornerMarkers.astro' +import Signature from '../Signature.astro' ---
-
+
@@ -15,4 +16,6 @@ import CornerMarkers from '../CornerMarkers.astro'
A programmer & father of two
+ +
diff --git a/src/pages/workouts/index.astro b/src/pages/workouts/index.astro index dd5aec4..a27a59e 100644 --- a/src/pages/workouts/index.astro +++ b/src/pages/workouts/index.astro @@ -128,8 +128,8 @@ const showEmptyRangeState = Boolean(serverFilterRange && visibleInServerRange ==