Shared web components for the dsalathe.dev ecosystem.
🔒 Secure: No localStorage token storage - data passed via attributes.
All components in one file - Banner, Badge Long, Badge Medium, Badge Short
URL: /banner/components.js
Usage:
<script src="https://static.dsalathe.dev/banner/components.js" defer></script>
<dsalathe-banner
user-id="user-123"
user-name="John Doe"
user-email="john@example.com"
user-picture="https://..."
user-tier="basic"
current-app="cvtailor"
></dsalathe-banner>
<dsalathe-badge-long user-id="..." user-name="..." user-tier="..."></dsalathe-badge-long>
<dsalathe-badge-medium user-id="..." user-name="..."></dsalathe-badge-medium>
<dsalathe-badge-short user-id="..." user-picture="..."></dsalathe-badge-short>
GitHub • dsalathe.dev