-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: mock 데이터 albumCoverUrl 추가 * chore: 사용하지 않는 dummy album 이미지 삭제 * feat: song detail 타입 변경 * feat: albumCoverUrl API 에 맞게 수정 * fix: youtube player auto player 끄기(접근성 고려) * feat: 웹 접근성 처리 * refactor: li 태그 아래 a태그 오도록 수정
- Loading branch information
1 parent
143c839
commit 542ff83
Showing
9 changed files
with
51 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,12 @@ | ||
import styled from 'styled-components'; | ||
|
||
interface SRHeadingProps { | ||
children: string; | ||
} | ||
|
||
const SRHeading = ({ children: pageName }: SRHeadingProps) => { | ||
return ( | ||
<Heading tabIndex={1} aria-label={pageName}> | ||
{pageName} | ||
</Heading> | ||
); | ||
}; | ||
|
||
export default SRHeading; | ||
|
||
const Heading = styled.h1` | ||
const SRHeading = styled.h1` | ||
position: absolute; | ||
left: -9999px; | ||
top: -9999px; | ||
width: 1px; | ||
height: 1px; | ||
overflow: hidden; | ||
`; | ||
|
||
export default SRHeading; |
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
4 changes: 2 additions & 2 deletions
4
frontend/src/components/PopularSongItem/PopularSongItem.style.ts
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