+
+
+
+ {Array.from({ length: navItemLength }, () => (
+
+ ))}
+
+
+ );
+}
+
+export default MainPageNavBarSkeleton;
+
+const StyledNavBar = styled.nav`
+ display: flex;
+ align-items: center;
+
+ position: sticky;
+ top: 80px;
+ z-index: 11;
+
+ width: 100%;
+ height: 80px;
+
+ background-color: var(--white);
+
+ padding-left: 1.2rem;
+ border-bottom: 1px solid var(--gray-1);
+
+ & > div:last-child {
+ display: flex;
+ align-items: center;
+
+ & > * {
+ margin: 0 0.6rem;
+ }
+ }
+`;
+
+const StyledLine = styled.div`
+ margin-left: 1.2rem;
+
+ width: 1px;
+ height: 46px;
+
+ background-color: var(--gray-3);
+`;
diff --git a/frontend/src/components/MainPageNavBar/index.tsx b/frontend/src/components/MainPageNavBar/index.tsx
index 4f3ce590e..e1dfb47a1 100644
--- a/frontend/src/components/MainPageNavBar/index.tsx
+++ b/frontend/src/components/MainPageNavBar/index.tsx
@@ -1,3 +1,5 @@
import MainPageNavBar from './MainPageNavBar';
+import MainPageNavBarSkeleton from './MainPageNavBarSkeleton';
+export { MainPageNavBarSkeleton };
export default MainPageNavBar;
diff --git a/frontend/src/pages/MainPage.tsx b/frontend/src/pages/MainPage.tsx
index a38d28a39..39f810281 100644
--- a/frontend/src/pages/MainPage.tsx
+++ b/frontend/src/pages/MainPage.tsx
@@ -3,11 +3,12 @@ import { styled, css } from 'styled-components';
import Map from '~/components/@common/Map';
import RestaurantCardList from '~/components/RestaurantCardList';
-import MainPageNavBar from '~/components/MainPageNavBar';
+import MainPageNavBar, { MainPageNavBarSkeleton } from '~/components/MainPageNavBar';
import useBooleanState from '~/hooks/useBooleanState';
import useMediaQuery from '~/hooks/useMediaQuery';
import MobileMainPage from './MobileMainPage';
import LoadingIndicator from '~/components/@common/LoadingIndicator';
+import RESTAURANT_CATEGORY from '~/constants/restaurantCategory';
function MainPage() {
const { isMobile } = useMediaQuery();
@@ -28,7 +29,7 @@ function MainPage() {
return (
<>
-