* refactor: move trackEvents to a utilities folder so that it can be re-used * feat: add a function called trackCommentClicks and use it on the articlePage * feat: update the auth widget to take the correct properties * feat: add create account tracking method for hamburger * feat: add create account tracking method for sidebar left * feat: whoops, sidebar tracking info added * feat: add the feed card create account tracking * feat: whoops add the id to the dom * feat: add top nav create account tracking * feat: create account tracking for the registration modal * fix: callback instead of invoking + rename class * fix: js-prepend * feat: some showLogin event tracking * use the tracking propert * x - feed.jsx * fix: oops I removed hidden * track from the search login * feat: add tracking for follow button * fix: main_stories is only being called in view/articles and both are including the FollowButtons pack * comments track * feat: remove punc (.) * chore: cahnge working * chore: remove tracking-id from modal * feat: remove ecmascript features * refactor: rename some events * feat: referrer page * feat: add a secondary source for the follow buttons * feat: remove file that is not used * chore: rename key * feat: use @utilities * feat: add spec for create account clicks * feat: add key referrer * fix: tests * fix: oops * chore: add commented test * test for tracking * feat: update the change by 1 * feat: aggregate_failures * feat: add data-no-instant back * feat: try a different way of testing * refactor: change secondary_source to referring_souce * feat: change ahoy event test * feat: add a version number to ahoy tracking * feat: change the href to pathname * feat: reply comment tracking * fix: to be present syntax * feat: use href instead of pathname * chore: do not track tags and podcasts follow and remove referrer * feat: add readinglist * fix: remove referrer from test * feat: fail gracefully in instances where there is no tracking data
17 lines
862 B
Text
17 lines
862 B
Text
<div class="hamburger">
|
|
<div class="hamburger__content">
|
|
<header class="hamburger__content__header">
|
|
<h2 class="fs-l fw-bold flex-1 break-word lh-tight"><%= community_name.to_s %></h2>
|
|
|
|
<button class="c-btn c-btn--icon-alone js-hamburger-trigger shrink-0" aria-label="<%= t("views.hamburger.icon_close") %>">
|
|
<%= crayons_icon_tag(:x, class: "c-btn__icon", aria_hidden: true, title: t("views.hamburger.icon_close")) %>
|
|
</button>
|
|
</header>
|
|
|
|
<div class="p-2" id="authentication-hamburger-actions">
|
|
<%= render partial: "shared/auth_widget", locals: { tracking_id: "ca_hamburger_home_page", source: "mobile_hamburger_nav" } unless user_signed_in? %>
|
|
<%= render partial: "layouts/main_nav", locals: { context: "hamburger" } %>
|
|
</div>
|
|
</div>
|
|
<div class="hamburger__overlay js-hamburger-trigger"></div>
|
|
</div>
|