fix(links): unmangle, distinct jumps

This commit is contained in:
Kalista Payne
2026-03-26 17:36:55 -05:00
parent e8e4ff8687
commit 5ff2da17de
2 changed files with 9 additions and 3 deletions
@@ -103,11 +103,12 @@
</div>
<b-popover
:target="'spi-alert'"
triggers="hover click"
triggers="hover"
placement="bottom"
offset="-128"
>
<div v-markdown="$t('avoidSPIDetails', { link: '(/static/privacy#section_1)' })">
<div
v-html="$t('avoidSPIDetails', spiLinkData)">
</div>
</b-popover>
<div
@@ -1298,6 +1299,11 @@ export default {
{ key: 'per', label: 'perception', description: 'perTaskText' },
],
calendarHighlights: { dates: [new Date()] },
spiLinkData: {
firstLink: '<a href="/static/privacy#section_1" target="_blank">',
secondLink: '<a href="/static/privacy" target="_blank">',
linkClose: '</a>',
}
};
},
computed: {
+1 -1
View File
@@ -245,5 +245,5 @@
"rememberToBeKind": "Please remember to be kind, respectful, and follow the <a href='/static/community-guidelines' target='_blank'>Community Guidelines</a>.",
"confirmPurchase": "Confirm Purchase",
"avoidSPI": "Avoid SPI",
"avoidSPIDetails": "For your privacy, avoid including [sensitive personal information](<%= link %>) (SPI) when using Habitica. Your account data, including tasks, is stored on our servers so you can access it from any device.\n\nTo learn more, review our [Privacy Policy](<%= link %>)."
"avoidSPIDetails": "For your privacy, avoid including <%= firstLink %>sensitive personal information<%= linkClose %> (SPI) when using Habitica. Your account data, including tasks, is stored on our servers so you can access it from any device.<br><br>To learn more, review our <%= secondLink %>Privacy Policy<%= linkClose %>."
}