Skip to content

Commit cb8ced2

Browse files
committed
Add tooltip to tags on markdown pages
1 parent dd24a54 commit cb8ced2

2 files changed

Lines changed: 2 additions & 16 deletions

File tree

_TODO.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,6 @@
11
<!-- markdownlint-disable-file -->
22
# TODO
33

4-
## ToolTips
5-
6-
Need a tooltip component for consistency.
7-
8-
List to add tooltips to:
9-
10-
- Themepicker button
11-
- Search button
12-
13-
These have tooltips, how are they being generated?
14-
15-
- "Report a Bug" in footer
16-
- RSS feed icon in footer
17-
18-
- Improve `<abbr>` styling: https://codepen.io/ire/pen/NoqWpm
19-
204
## HubSpot Signup Issues / Gated Content (Downloads)
215

226
- Add people who sign up for newsletter, download, or fill out contact form to Hubspot tracking. Need to configure it to remove them if they do the GDPR remove me. Also remove them from the newsletter.

src/components/Layout/Markdown/Tags/index.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ const resolveTagMeta = (rawTag: string) => {
5858
href={href}
5959
rel="tag"
6060
itemprop="keywords"
61+
data-tooltip
62+
title={`See All ${label} Articles`}
6163
class:list={[
6264
"inline-block rounded-full transition-colors px-3 py-1 ml-2",
6365
"uppercase text-content-inverse text-xs no-underline",

0 commit comments

Comments
 (0)