Add sign-in/out UI to header and like/repost buttons to post cards
- Add CSRF meta tag to layout head for API calls from Alpine.js
- Add conditional auth buttons in header: "Sign in" link when logged out,
"My profile" link and "Sign out" form when logged in
- Create postEngagement Alpine.data() component with optimistic like/repost
toggling via fetch to /api/like and /api/repost endpoints
- Update profile show.edge to render interactive engagement buttons when
viewer data is present, falling back to static counts for anonymous users
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>