Skip to content

Commit

Permalink
Merge pull request #62 from ghojeong/fe/47/new-calendar
Browse files Browse the repository at this point in the history
[FE] PR 전 merge
  • Loading branch information
ha3158987 authored May 28, 2021
2 parents 9595433 + b59d07b commit 0731e28
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
5 changes: 3 additions & 2 deletions frontend/src/components/SearchBar/Calendar/CalendarStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const CalendarSelector = styled.div`
const CalendarLayout = styled.div`
/* outline: red solid 1px; */
/*margin: 1.6rem;*/
padding: 1.5rem;
padding: 2.5rem;
font-size: 1.6rem;
font-weight: 600;
Expand Down Expand Up @@ -134,8 +134,9 @@ const CurrentMonth = styled.div`
grid-template-columns: repeat(7, 1fr);
& > span {
justify-content: center;
display: flex;
align-items: center;
align-items: center;
height: 2em;
padding: 0.5rem 1rem;
}
Expand Down
11 changes: 9 additions & 2 deletions frontend/src/components/pages/LoadingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const LoadingPage = () => {
.then(({ token }) => {
console.log("token입니다: ", token);
localStorage.setItem('token', token);
window.location.href="http://localhost:3000";
//mainpage로 돌아가는 로직 필요
});
}
Expand All @@ -28,14 +29,20 @@ const LoadingPage = () => {

return (
<Test>
<div>로딩중~~~</div>
<img src="https://thumbs.gfycat.com/GeneralUnpleasantApisdorsatalaboriosa-max-1mb.gif"/>
</Test>
);
};

const Test = styled.div`
background-color: red;
display: flex;
justify-content: center;
width: 100%;
height: 100%;
padding-top: 30rem;
& > img {
}
`;

export default LoadingPage;

0 comments on commit 0731e28

Please sign in to comment.