- Timestamp:
- 06/26/2026 11:30:21 PM (2 months ago)
- Branches:
- main
- Children:
- 3d37c67
- Parents:
- c745659
- Location:
- src/views
- Files:
-
- 2 edited
-
pages/post.ejs (modified) (1 diff)
-
partials/fedi-node.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/pages/post.ejs
rc745659 r3289a64 337 337 .fedi-cact-like svg { color: #e8b04b; } 338 338 .fedi-cact-like:hover { background: color-mix(in srgb, #e8b04b 15%, transparent); border-color: color-mix(in srgb, #e8b04b 50%, transparent); } 339 .fedi-cact-like.is-on { background: color-mix(in srgb, #e8b04b 18%, transparent); border-color: color-mix(in srgb, #e8b04b 60%, transparent); } 339 340 .fedi-cact-boost svg { color: #2fa85a; } 340 341 .fedi-cact-boost:hover { background: color-mix(in srgb, #2fa85a 15%, transparent); border-color: color-mix(in srgb, #2fa85a 50%, transparent); } -
src/views/partials/fedi-node.ejs
rc745659 r3289a64 22 22 <input type="hidden" name="interaction_id" value="<%= n.id %>"> 23 23 <input type="hidden" name="kind" value="like"> 24 <button type="submit" class="fedi-cact fedi-cact-like " title="<%= t('fedi.like_short') %>" aria-label="<%=t('fedi.like_short') %>"><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 2.6l2.9 5.88 6.49.95-4.7 4.58 1.11 6.46L12 17.96l-5.8 3.06 1.1-6.46-4.69-4.58 6.49-.95z"/></svg></button>24 <button type="submit" class="fedi-cact fedi-cact-like<%= n.acted_like ? ' is-on' : '' %>" title="<%= n.acted_like ? t('fedi.unlike_short') : t('fedi.like_short') %>" aria-label="<%= n.acted_like ? t('fedi.unlike_short') : t('fedi.like_short') %>"><svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 2.6l2.9 5.88 6.49.95-4.7 4.58 1.11 6.46L12 17.96l-5.8 3.06 1.1-6.46-4.69-4.58 6.49-.95z"/></svg></button> 25 25 </form> 26 26 <form method="post" action="<%= _base %>/posts/<%= postSlug %>/fedi-react" class="fedi-owner-react">
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)