-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make us more SEO friendly After running lighthouse on most of our pages, added the required attributes and tags to improve our score. * CR comments * fix botched merge conflict resolution * lowercase speedrun.com
- Loading branch information
1 parent
bf88d61
commit 67a8bdd
Showing
20 changed files
with
68 additions
and
55 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,24 +2,24 @@ | |
.row.no-gutters | ||
- if @game.srdc&.cover_url | ||
.col-md-4 style='max-width: 200px' | ||
img.card-img src[email protected]_url | ||
img.card-img src[email protected]_url alt="#{@game.srdc.name}'s cover" | ||
.col-md-8 | ||
.card-body | ||
h1.card-title = @category.game | ||
h6 | ||
.btn-group.mr-2 | ||
- if @on_game_page && @category.game.srdc.try(:url).present? | ||
a.btn.btn-dark.tip href[email protected] title='See on Speedrun.com' | ||
= image_tag(asset_path('srdc.png'), style: 'height: 0.8em') | ||
a.btn.btn-dark.tip href[email protected] title='View on speedrun.com' aria-label='View on speedrun.com' | ||
= image_tag(asset_path('srdc.png'), style: 'height: 0.8em', alt: 'Speedrun.com first place trophy') | ||
- elsif !@on_game_page && @category.srdc.try(:url).present? | ||
a.btn.btn-dark.tip href[email protected] title='See on Speedrun.com' | ||
a.btn.btn-dark.tip href[email protected] title='View on speedrun.com' aria-label='View on speedrun.com' | ||
= image_tag(asset_path('srdc.png'), style: 'height: 0.8em') | ||
- if @category.game.srdc&.twitch_name | ||
a.btn.btn-dark.tip title='See on Twitch' href="https://www.twitch.tv/directory/game/#{@category.game.srdc.twitch_name}" | ||
a.btn.btn-dark.tip title='See on Twitch' href="https://www.twitch.tv/directory/game/#{@category.game.srdc.twitch_name}" aria-label='View on Twitch' | ||
.text-light = icon('fab', 'twitch') | ||
- if @category.game.srl.present? | ||
a.btn.btn-dark.tip href[email protected] title='See on SpeedRunsLive' | ||
= image_tag(asset_path('srl.png')) | ||
a.btn.btn-dark.tip href[email protected] title='View on SpeedRunsLive' aria-label='View on SpeedRunsLive' | ||
= image_tag(asset_path('srl.png'), alt: 'SpeedRunsLive logo') | ||
- if @category.route | ||
span.mr-2 | ||
= render partial: 'runs/export_button', locals: { \ | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,7 @@ race inline-template=true [email protected] v-cloak=true | |
placeholder='Chat...' | ||
type='text' | ||
v-model='body' | ||
aria-label='Input message' | ||
) | ||
.input-group-append | ||
button.btn.btn-dark#chat-submit( | ||
|
@@ -44,6 +45,7 @@ race inline-template=true [email protected] v-cloak=true | |
:disabled='body === ""' | ||
:title='error' | ||
v-tippy=true | ||
aria-label='Submit message' | ||
) | ||
template v-if='loading' = render partial: 'shared/spinner' | ||
span.text-danger v-else-if='error' => icon('fas', 'exclamation-triangle') | ||
|
@@ -52,7 +54,7 @@ race inline-template=true [email protected] v-cloak=true | |
= render partial: 'chat_messages/show', locals: {chat_message: msg} | ||
.list-group-item.p-0 | ||
.media | ||
img.mr-3 src=asset_path('logo-darkbg-breathingroom.png') width=25 height=25 | ||
img.mr-3 src=asset_path('logo-darkbg-breathingroom.png') width=25 height=25 alt='Splits.io image only logo' | ||
.media-body | ||
span.mr-2: .badge.badge-success Splits.io | ||
i Race created | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.