-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 이벤트 페이지 suspenseQueries를 이용하는 방식으로 변경하여 로딩 중에 빈 화면 대신 화면의 일부를 볼…
… 수 있도록 수정
- Loading branch information
1 parent
8532ea6
commit d06d256
Showing
3 changed files
with
32 additions
and
8 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
23 changes: 23 additions & 0 deletions
23
client/src/pages/EventPage/EventPageFallback/EventPageLoading.tsx
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import {Flex, Icon, IconButton, MainLayout, TopNav} from '@components/Design'; | ||
import {Footer} from '@components/Footer'; | ||
|
||
const EventPageLoading = () => { | ||
return ( | ||
<MainLayout backgroundColor="gray"> | ||
<Flex justifyContent="spaceBetween" alignItems="center"> | ||
<TopNav> | ||
<TopNav.Item routePath="/"> | ||
<IconButton variants="none"> | ||
<Icon iconType="heundeut" /> | ||
</IconButton> | ||
</TopNav.Item> | ||
<TopNav.Item displayName="홈" routePath="/home" /> | ||
<TopNav.Item displayName="관리" routePath="/admin" /> | ||
</TopNav> | ||
</Flex> | ||
<Footer /> | ||
</MainLayout> | ||
); | ||
}; | ||
|
||
export default EventPageLoading; |
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