-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(project): convert click based navigation to use links for SEO
* chore(project): add <Link> to the Card component * chore(project): update aria-label * fix(project): search refactoring * chore(project): add redirect url for series cards * fix(project): remove onKeyDown from card * chore(project): add urls for inline-player cards * chore(project): live stream cards to links * chore(project): video layout refactor
- Loading branch information
Showing
44 changed files
with
463 additions
and
795 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 |
---|---|---|
@@ -0,0 +1,62 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`<Card> > should render anchor tag 1`] = ` | ||
<div> | ||
<a | ||
aria-label="This is a movie" | ||
class="_card_d75732" | ||
href="https://test.dummy.jwplayer.com" | ||
tabindex="0" | ||
> | ||
<div | ||
class="_poster_d75732 _aspect169_d75732" | ||
> | ||
<img | ||
alt="This is a movie" | ||
class="_posterImage_d75732 _image_4c41c3" | ||
src="http://movie.jpg?width=320" | ||
/> | ||
<div | ||
class="_meta_d75732" | ||
> | ||
<div | ||
class="_tags_d75732" | ||
> | ||
<div | ||
aria-label="card_lock" | ||
class="_tag_d75732 _lock_d75732" | ||
role="status" | ||
> | ||
<svg | ||
aria-hidden="true" | ||
class="_icon_1e9999" | ||
focusable="false" | ||
viewBox="0 0 24 24" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z" | ||
fill="currentColor" | ||
/> | ||
</svg> | ||
</div> | ||
<div | ||
class="_tag_d75732" | ||
> | ||
2 min | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
class="_titleContainer_d75732" | ||
> | ||
<div | ||
class="_title_d75732" | ||
> | ||
This is a movie | ||
</div> | ||
</div> | ||
</a> | ||
</div> | ||
`; |
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.