Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/styles/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@

h2 {
font-size: 1.05rem;

a:not(:hover) {
color: var(--main-color);
}
}
}

Expand Down
12 changes: 6 additions & 6 deletions app/templates/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
{{else}}
<div local-class='lists' data-test-lists>
<section data-test-new-crates >
<h2>New Crates <LinkTo @route="crates" @query={{hash sort="new"}}>(see all)</LinkTo></h2>
<h2><LinkTo @route="crates" @query={{hash sort="new"}}>New Crates</LinkTo></h2>
<ol local-class="list" aria-busy="{{this.dataTask.isRunning}}">
{{#if this.dataTask.isRunning}}
{{#each (placeholders 10)}}
Expand All @@ -81,7 +81,7 @@
</section>

<section data-test-most-downloaded>
<h2>Most Downloaded <LinkTo @route="crates" @query={{hash sort="downloads"}}>(see all)</LinkTo></h2>
<h2><LinkTo @route="crates" @query={{hash sort="downloads"}}>Most Downloaded</LinkTo></h2>
<ol local-class="list" aria-busy="{{this.dataTask.isRunning}}">
{{#if this.dataTask.isRunning}}
{{#each (placeholders 10)}}
Expand All @@ -104,7 +104,7 @@
</section>

<section data-test-just-updated>
<h2>Just Updated <LinkTo @route="crates" @query={{hash sort="recent-updates"}}>(see all)</LinkTo></h2>
<h2><LinkTo @route="crates" @query={{hash sort="recent-updates"}}>Just Updated</LinkTo></h2>
<ol local-class="list" aria-busy="{{this.dataTask.isRunning}}">
{{#if this.dataTask.isRunning}}
{{#each (placeholders 10)}}
Expand All @@ -128,7 +128,7 @@
</section>

<section data-test-most-recently-downloaded>
<h2>Most Recent Downloads <LinkTo @route="crates" @query={{hash sort="recent-downloads"}}>(see all)</LinkTo></h2>
<h2><LinkTo @route="crates" @query={{hash sort="recent-downloads"}}>Most Recent Downloads</LinkTo></h2>
<ol local-class="list" aria-busy="{{this.dataTask.isRunning}}">
{{#if this.dataTask.isRunning}}
{{#each (placeholders 10)}}
Expand All @@ -151,7 +151,7 @@
</section>

<section data-test-keywords>
<h2>Popular Keywords <LinkTo @route="keywords">(see all)</LinkTo></h2>
<h2><LinkTo @route="keywords">Popular Keywords</LinkTo></h2>
<ul local-class="list" aria-busy="{{this.dataTask.isRunning}}">
{{#if this.dataTask.isRunning}}
{{#each (placeholders 10)}}
Expand All @@ -174,7 +174,7 @@
</section>

<section data-test-categories>
<h2>Popular Categories <LinkTo @route="categories">(see all)</LinkTo></h2>
<h2><LinkTo @route="categories">Popular Categories</LinkTo></h2>
<ul local-class="list" aria-busy="{{this.dataTask.isRunning}}">
{{#if this.dataTask.isRunning}}
{{#each (placeholders 10)}}
Expand Down