Repository navigation
Learn: remove the Udemy call to action; header shows the signed-in member - #562
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The global header always showed Log in / Sign up, also for a signed-in member. The auth block is now a data-ttn-auth="dx" hook for www's /site-session.js (thethingsnetwork-v2 platform), which renders the same account menu as www in the docs' dx- classes; signed out it stays as is. docs.css: right-aligned account menu, summary marker hidden, Log out button styled as a menu item. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two changes requested after the www cutover (2026-10-09):
content/lorawan/_index.md): remove the info box "The LoRaWAN Fundamentals course can also be followed on Udemy. Sign up for the online course today!"data-ttn-auth="dx"hook for www's/site-session.js(served by the thethingsnetwork-v2 platform, like/consent.js). That script asks www's/api/sessionand renders the same account menu as the rest of www (avatar, username, My profile, Settings, Console, Log out) in the docs' owndx-classes. Signed out, or outside the www front door, nothing changes.docs.cssgets the small rules for the right-aligned menu and the Log out button.🤖 Generated with Claude Code