add skip link to stats and analytics pages (#13487)
This commit is contained in:
parent
b075c3c94a
commit
2447bc3a40
2 changed files with 16 additions and 12 deletions
|
|
@ -1,9 +1,11 @@
|
|||
<% title "Stats for Your Article" %>
|
||||
|
||||
<div id="user-dashboard">
|
||||
<h1 class="fs-4xl fw-medium align-center my-5">Stats for "<%= link_to @article.title, @article.current_state_path, id: "article", data: { "article-id" => @article.id, "organization-id" => @organization_id } %>"</h1>
|
||||
<main id="main-content">
|
||||
<div id="user-dashboard">
|
||||
<h1 class="fs-4xl fw-medium align-center my-5">Stats for "<%= link_to @article.title, @article.current_state_path, id: "article", data: { "article-id" => @article.id, "organization-id" => @organization_id } %>"</h1>
|
||||
|
||||
<%= render "shared/stats" %>
|
||||
</div>
|
||||
<%= render "shared/stats" %>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<%= javascript_packs_with_chunks_tag "analyticsArticle", defer: true %>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,15 @@
|
|||
<% title "Analytics" %>
|
||||
|
||||
<div class="dashboard-container analytics-container crayons-layout" id="user-dashboard">
|
||||
<div class="crayons-card p-3 mt-5">
|
||||
<h1 class="fs-4xl fw-medium">Analytics Dashboard for <%= @user_or_org.name %></h1>
|
||||
<p>Welcome to the Analytics Dashboard, the home of in-depth user metrics so that authors can make data-driven decisions about the <%= SiteConfig.community_member_label %> ecosystem.</p>
|
||||
<p>This dashboard highlights deep insights especially relevant to <%= SiteConfig.community_member_label %> relations, authors, and serious bloggers.</p>
|
||||
</div>
|
||||
<main id="main-content">
|
||||
<div class="dashboard-container analytics-container crayons-layout" id="user-dashboard">
|
||||
<div class="crayons-card p-3 mt-5">
|
||||
<h1 class="fs-4xl fw-medium">Analytics Dashboard for <%= @user_or_org.name %></h1>
|
||||
<p>Welcome to the Analytics Dashboard, the home of in-depth user metrics so that authors can make data-driven decisions about the <%= SiteConfig.community_member_label %> ecosystem.</p>
|
||||
<p>This dashboard highlights deep insights especially relevant to <%= SiteConfig.community_member_label %> relations, authors, and serious bloggers.</p>
|
||||
</div>
|
||||
|
||||
<%= render "shared/stats" %>
|
||||
</div>
|
||||
<%= render "shared/stats" %>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<%= javascript_packs_with_chunks_tag "analyticsDashboard", defer: true %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue