codestates / Lollin-client

리그오브레전드 초보를 위한 길잡이 서비스
https://628b8d795a97cd5a3d54ec90--lollin.netlify.app/
0 stars 0 forks source link

[Error Handling] Footer의 element를 누르면 href에 지정한 url주소가 넘어가지 않는 에러 #41

Open Yeonlisa opened 3 years ago

Yeonlisa commented 3 years ago

어떤 에러인가요? Footer의 element를 누르면 href에 지정한 url주소가 넘어가지 않는 에러

에러 핸들링 방법

                        <Column>
                            <Title>Team Spieler</Title>
                            <FooterLink href="https://github.com/whwnddnwhwnd" target="_blank">Cho JungWoo</FooterLink>
                            <FooterLink href="https://github.com/leehojun0314" target="_blank">Lee Hojun</FooterLink>
                            <FooterLink href="https://github.com/Yeonlisa" target="_blank">Yeon HoJin</FooterLink>
                            <FooterLink href="https://github.com/hunhunseunghun" target="_blank">Yoo SeungHun</FooterLink>
                        </Column>

이 상태에서 FooterLink의 태그를 a 로 바꿔줌 (styled(Link)에서 styled.a)

export const FooterLink = styled.a`
    color: #fff;
    margin-bottom: 14px;
    font-size: 15.5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;

    &:hover {
        color: #BBFF72;
        transition: 200ms ease-in;
    }
`;