Skip to content

Commit

Permalink
[ADD] #1 :: 메인에 음악 svg
Browse files Browse the repository at this point in the history
  • Loading branch information
jongeuni committed Apr 13, 2022
1 parent 6cc380b commit 055327f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
6 changes: 6 additions & 0 deletions rancuft/public/img/bi_music-note-list.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion rancuft/src/components/Login/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ function Login() {
query: "(min-width:768px)",
});


return (
<>
{isMobile && (
{isMobile && (
<S.FullBackground>
<S.CatImage>
<img alt="귀여운 고양이 그림입니다" src="img/cat.png"/>
Expand Down Expand Up @@ -81,6 +82,11 @@ function Login() {
</S.GoImage>

</S.Background>
<S.Music>
<a href="/home">
<img alt="음표 사진 svg입니다" src="img/bi_music-note-list.svg"></img>
</a>
</S.Music>
</S.FullBackground>
)}
{isPc && <h2>TEST</h2>}
Expand Down
12 changes: 11 additions & 1 deletion rancuft/src/components/Login/style.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import styled from "@emotion/styled";
import { type } from "@testing-library/user-event/dist/type";

export const Box = styled.div`
input {
Expand Down Expand Up @@ -180,9 +181,18 @@ export const TRandomGift = styled.div`
`

export const Music = styled.div`
img{
bottom: 40px;
right: -10px;
width: 20px;
position: absolute;
}`

export const TCute = styled.div`
text{
padding-left: 70px;
}
`
`

0 comments on commit 055327f

Please sign in to comment.