Skip to content

Commit

Permalink
Revert "팔로워,팔로잉-유저-확인기능-추가 (#83)" (#84)
Browse files Browse the repository at this point in the history
This reverts commit f485180.
  • Loading branch information
jobkaeHenry authored Dec 13, 2023
1 parent f485180 commit 248dce5
Show file tree
Hide file tree
Showing 22 changed files with 14 additions and 498 deletions.
22 changes: 0 additions & 22 deletions client/src/app/(protectedRoute)/user/follow-list/layout.tsx

This file was deleted.

39 changes: 0 additions & 39 deletions client/src/app/(protectedRoute)/user/follow-list/page.tsx

This file was deleted.

6 changes: 1 addition & 5 deletions client/src/app/(protectedRoute)/user/setting/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"use client";

import CustomAppbar from "@/components/layout/CustomAppbar";
import { appbarHeight } from "@/const/uiSizes";
import { Container, Stack } from "@mui/material";
import { ReactNode } from "react";

Expand All @@ -13,10 +12,7 @@ const UserInfoPageLayout = ({ children }: Props) => {
return (
<>
<CustomAppbar title="설정" />
<Container
sx={{ px: { xs: 0, sm: 4 }, mt: appbarHeight }}
maxWidth={"lg"}
>
<Container sx={{ px: { xs: 0, sm: 4 } }} maxWidth={"lg"}>
<Stack gap={2}>{children}</Stack>
</Container>
</>
Expand Down
18 changes: 0 additions & 18 deletions client/src/components/ComponentRepeater.tsx

This file was deleted.

72 changes: 0 additions & 72 deletions client/src/components/CustomToggleButtonGroup.tsx

This file was deleted.

3 changes: 1 addition & 2 deletions client/src/components/layout/CustomAppbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
import GoBackIcon from "@/assets/icons/GoBackIcon.svg";
import { MouseEventHandler, ReactNode, memo } from "react";
import { useRouter } from "next/navigation";
import { appbarHeight } from "@/const/uiSizes";

interface CustomAppbarInterface extends AppBarProps {
title?: string;
Expand All @@ -35,7 +34,7 @@ const CustomAppbar = ({
const router = useRouter();

return (
<AppBar sx={{ height: appbarHeight }} position={position ? position : "fixed"}>
<AppBar position={position ? position : "fixed"}>
<Toolbar sx={{ display: "flex", justifyContent: "space-between" }}>
{/* 프리팬드 버튼 */}
{prependButton ? (
Expand Down
6 changes: 4 additions & 2 deletions client/src/components/layout/CustomContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { appbarHeight, navbarHeight } from "@/const/uiSizes";
import { Container, ContainerProps, Paper } from "@mui/material";

interface CustomContainerInterface extends ContainerProps {
Expand All @@ -10,6 +9,9 @@ const CustomContainer = ({
disableMt,
children,
}: CustomContainerInterface) => {
const appbarHeight = '64px'
const navbarHeight = '56px'

return (
<Container
sx={{ ...sx, px: { xs: 0, sm: 4 }, mt: disableMt ? 0 : 8 }}
Expand All @@ -22,7 +24,7 @@ const CustomContainer = ({
flexDirection: "column",
gap: 2,
p: 2,
minHeight: `calc(100vh - ${appbarHeight} - ${navbarHeight})`,
minHeight:`calc(100vh - ${appbarHeight} - ${navbarHeight})`
}}
>
{children}
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/post/PostCardList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function PostCardList(props: UseGetPostListQueryInterface) {
<PostCardSkeleton />
) : (
// 인터섹션옵저버
hasNextPage&&<div style={{ height: 60 }} ref={ref}></div>
<div style={{ height: 60 }} ref={ref}></div>
)}
</div>
</postcardContext.Provider>
Expand Down
61 changes: 0 additions & 61 deletions client/src/components/user/followList/FollowUserCard.tsx

This file was deleted.

43 changes: 0 additions & 43 deletions client/src/components/user/followList/FollowerList.tsx

This file was deleted.

45 changes: 0 additions & 45 deletions client/src/components/user/followList/FollowingList.tsx

This file was deleted.

This file was deleted.

Loading

0 comments on commit 248dce5

Please sign in to comment.