sdy

rename variables

......@@ -18,7 +18,7 @@ const Wrapper = styled.div`
padding: 0.5rem 0.7rem 0 1rem;
`;
const ChannelContainer = styled.div`
const RoomContainer = styled.div`
display: flex;
flex-direction: column;
width: 100%;
......@@ -42,7 +42,7 @@ const ChannelContainer = styled.div`
}
`;
const ChannelList = styled.ul`
const RoomList = styled.ul`
width: 100%;
display: flex;
flex-direction: row;
......@@ -53,7 +53,7 @@ const ChannelList = styled.ul`
}
`;
const ChannelItem = styled.li`
const RoomItem = styled.li`
font-family: "Ubuntu", sans-serif;
`;
......@@ -95,17 +95,17 @@ export default () => {
return (
<Router>
<Wrapper>
<ChannelContainer>
<ChannelList>
<RoomContainer>
<RoomList>
<StyledLink to="/">
<ChannelItem>First Channel</ChannelItem>
<RoomItem>First Room</RoomItem>
<FontAwesomeIcon icon={faArrowRight} />
</StyledLink>
</ChannelList>
</ChannelContainer>
</RoomList>
</RoomContainer>
<CreateContainer>
<StyledLink to="/">
<span>Create New Channel</span>
<span>Create New Room</span>
</StyledLink>
</CreateContainer>
</Wrapper>
......