chore: added reply via email
4c3c5b6c
2 file(s) · +18 −7
| 82 | 82 | ) : ( |
|
| 83 | 83 | <> |
|
| 84 | 84 | {title && <h1 class="text-2xl font-bold mb-2">{title}</h1>} |
|
| 85 | - | <time class="text-sm text-gray-400">{publishedAt}</time> |
|
| 85 | + | <time class="text-sm text-zinc-400">{publishedAt}</time> |
|
| 86 | 86 | <div class="prose prose-invert max-w-none my-4"> |
|
| 87 | 87 | <Fragment set:html={contentHTML} /> |
|
| 88 | 88 | </div> |
|
| 89 | 89 | <div class="mt-12 flex items-center justify-between"> |
|
| 90 | 90 | <a class="style-link" href="/now">← Now</a> |
|
| 91 | - | <button |
|
| 92 | - | id="share-btn" |
|
| 93 | - | class="text-sm text-gray-500 hover:text-gray-700 transition-colors" |
|
| 94 | - | > |
|
| 95 | - | Share |
|
| 96 | - | </button> |
|
| 91 | + | <div class="flex gap-6"> |
|
| 92 | + | <button |
|
| 93 | + | id="share-btn" |
|
| 94 | + | class="text-sm text-zinc-500 hover:text-zinc-700 transition-colors" |
|
| 95 | + | > |
|
| 96 | + | Share |
|
| 97 | + | </button> |
|
| 98 | + | <a |
|
| 99 | + | class="text-sm text-zinc-500 hover:text-zinc-700 transition-colors" |
|
| 100 | + | href={ `mailto:contact@stevedylan.dev?subject=${'Re: ' + title}` } |
|
| 101 | + | > |
|
| 102 | + | Reply via Email |
|
| 103 | + | </a> |
|
| 104 | + | </div> |
|
| 97 | 105 | </div> |
|
| 98 | 106 | </> |
|
| 99 | 107 | )} |
| 23 | 23 | ||
| 24 | 24 | <PostLayout post={post}> |
|
| 25 | 25 | <Content /> |
|
| 26 | + | <div class="mt-12"> |
|
| 27 | + | <a href={ `mailto:contact@stevedylan.dev?subject=${'Re: ' + post.data.title}` }>Reply via Email</a> |
|
| 28 | + | </div> |
|
| 26 | 29 | </PostLayout> |