Skip to content

Commit

Permalink
Merge pull request #1013 from 42organization/GGFE-251-폰트-정리
Browse files Browse the repository at this point in the history
[GGFE-251] 폰트 정리
  • Loading branch information
yoouyeon authored Sep 14, 2023
2 parents 45ac156 + e6438b1 commit 2b9de0b
Show file tree
Hide file tree
Showing 71 changed files with 136 additions and 175 deletions.
35 changes: 22 additions & 13 deletions components/admin/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Link from 'next/link';
import { ThemeProvider, createTheme } from '@mui/material';
import SideNav from 'components/admin/SideNav';
import useAxiosWithToast from 'hooks/useAxiosWithToast';
import styles from 'styles/admin/Layout.module.scss';
Expand All @@ -7,23 +8,31 @@ type AdminLayoutProps = {
children: React.ReactNode;
};

const theme = createTheme({
typography: {
fontFamily: "'Pretendard-Medium'', sans-serif", // $common-font
},
});

export default function AdminLayout({ children }: AdminLayoutProps) {
useAxiosWithToast();

return (
<div className={styles.adminContainer}>
<div className={styles.header}>
<Link href='/admin'>
<div className={styles.title}>관리자 페이지</div>
</Link>
<Link href='/'>
<button className={styles.homeButton}>Home</button>
</Link>
</div>
<div className={styles.container}>
<SideNav />
<div className={styles.pageContent}>{children}</div>
<ThemeProvider theme={theme}>
<div className={styles.adminContainer}>
<div className={styles.header}>
<Link href='/admin'>
<div className={styles.title}>관리자 페이지</div>
</Link>
<Link href='/'>
<button className={styles.homeButton}>Home</button>
</Link>
</div>
<div className={styles.container}>
<SideNav />
<div className={styles.pageContent}>{children}</div>
</div>
</div>
</div>
</ThemeProvider>
);
}
1 change: 0 additions & 1 deletion pages/admin/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default function Admin() {
width: '100%',
justifyContent: 'center',
alignItems: 'center',
fontFamily: 'Reality Hyper Regular',
fontSize: '2rem',
}}
>
Expand Down
Binary file removed public/font/Agnostic Italic.otf
Binary file not shown.
Binary file removed public/font/Gugi-Regular.ttf
Binary file not shown.
Binary file removed public/font/Inter-VariableFont_slnt,wght.ttf
Binary file not shown.
File renamed without changes.
Binary file added public/font/Jua/Jua-Regular.woff
Binary file not shown.
File renamed without changes.
Binary file added public/font/Lexend/Lexend-Medium.woff2
Binary file not shown.
File renamed without changes.
Binary file added public/font/Montserrat/Montserrat-Regular.woff
Binary file not shown.
Binary file removed public/font/NanumSquare_acEB.ttf
Binary file not shown.
Binary file removed public/font/NanumSquare_acR.ttf
Binary file not shown.
File renamed without changes.
Binary file added public/font/Overgrow/Overgrow-Demo.woff
Binary file not shown.
Binary file added public/font/Pretendard/Pretendard-Black.otf
Binary file not shown.
Binary file added public/font/Pretendard/Pretendard-Black.woff2
Binary file not shown.
Binary file added public/font/Pretendard/Pretendard-Medium.otf
Binary file not shown.
Binary file added public/font/Pretendard/Pretendard-Medium.woff2
Binary file not shown.
Binary file removed public/font/Reality Hyper Regular.ttf
Binary file not shown.
File renamed without changes.
Binary file added public/font/Roboto/Roboto-Medium.woff
Binary file not shown.
6 changes: 1 addition & 5 deletions styles/Error.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,11 @@
}

.title {
font-family: 'Overgrow';
font-size: 4rem;
color: white;
@include logoText(4rem, white);
letter-spacing: 0.2rem;
}

.error {
font-family: 'NanumSquare_acR';
font-size: $big-font;
color: white;
letter-spacing: 0.05rem;
Expand Down Expand Up @@ -73,7 +70,6 @@
@include select-buttons(10rem, 3.5rem);
.positive {
input {
font-family: 'NanumSquare_acR';
font-size: $big-font;
font-weight: 500;
box-shadow: 1px 1px 0px 0px rgba(0, 0, 0, 0.2);
Expand Down
5 changes: 2 additions & 3 deletions styles/Layout/Header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@
}

.logoWrap {
@include logoText(2rem, white);
display: flex;
justify-content: center;
align-items: center;
height: 100%;
font-family: 'Overgrow', sans-serif;
font-size: 2rem;
cursor: pointer;
}

Expand Down Expand Up @@ -82,7 +81,7 @@
}

.notiCount {
font-family: 'Roboto', sans-serif;
font-family: $common-en-font;
font-size: 0.7rem;
font-weight: 400;
}
Expand Down
2 changes: 1 addition & 1 deletion styles/Layout/MainPageProfile.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
height: max-content;
flex-direction: column;
margin-top: 0.8rem;
font-family: 'Roboto', 'sans-serif';
font-family: $common-en-font;
justify-content: center;
align-items: center;
}
Expand Down
9 changes: 4 additions & 5 deletions styles/Layout/MenuBar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
align-items: center;
padding-right: 1.8rem;
.menuLogo {
font-family: 'Overgrow', sans-serif;
font-size: 1.8rem;
@include logoText(1.8rem, black);
}
button {
all: unset;
Expand All @@ -36,7 +35,7 @@
width: 100%;
padding-top: 2rem;
padding-bottom: 2rem;
font-family: 'Roboto', sans-serif;
font-family: $common-en-font;
.userInfoWrapper {
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -105,7 +104,7 @@
align-items: center;
}
.menuText {
font-family: 'Fira Sans', sans-serif;
// font-family: 'Fira Sans', sans-serif;
font-size: 1rem;
font-weight: 500;
color: rgba(26, 30, 37, 1);
Expand All @@ -130,7 +129,7 @@
}
div {
padding-right: 0.375rem;
font-family: 'Fira Sans', sans-serif;
// font-family: 'Fira Sans', sans-serif;
font-size: 1rem;
font-weight: 600;
color: rgba(26, 30, 37, 1);
Expand Down
8 changes: 4 additions & 4 deletions styles/Layout/NotiBar.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
.deleteButton {
display: flex;
padding: 0.5rem 1rem;
font-family: 'Heebo', sans-serif;
// font-family: 'Heebo', sans-serif;
font-size: 0.8rem;
font-weight: 500;
color: rgba(101, 97, 102, 1);
Expand All @@ -71,10 +71,10 @@
justify-content: center;
align-items: center;
padding-top: 2.8rem;
font-family: 'Fenix', sans-serif;
// font-family: 'Fenix', sans-serif;
.notiEmptyText {
padding-bottom: 1.25rem;
font-family: 'Heebo', sans-serif;
// font-family: 'Heebo', sans-serif;
font-size: 1.125rem;
font-weight: 500;
color: rgba(141, 119, 144, 1);
Expand All @@ -99,7 +99,7 @@
flex-direction: column;
justify-content: flex-start;
align-items: center;
font-family: 'Fenix', sans-serif;
// font-family: 'Fenix', sans-serif;
}

.notiDecorate {
Expand Down
2 changes: 1 addition & 1 deletion styles/Layout/NotiItem.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

.date {
display: flex;
font-family: 'Heebo', sans-serif;
// font-family: 'Heebo', sans-serif;
font-size: 0.8rem;
color: rgba(125, 127, 136, 1);
justify-content: flex-end;
Expand Down
3 changes: 1 addition & 2 deletions styles/admin/AdminReject.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
}

.title {
font-family: 'Overgrow', sans-serif;
font-size: 3rem;
@include logoText(3rem, black);
text-align: center;
letter-spacing: 0.2rem;
}
Expand Down
1 change: 0 additions & 1 deletion styles/admin/Layout.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
}

.title {
font-family: $admin-font;
font-size: $big-font;
color: black;
cursor: pointer;
Expand Down
1 change: 0 additions & 1 deletion styles/admin/SideNavContent.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

.contentText {
margin-left: 0.75rem;
font-family: $admin-font;
font-size: $small-font;
}

Expand Down
3 changes: 2 additions & 1 deletion styles/admin/modal/AdminCheckSendNoti.module.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'styles/common.scss';

.whole {
display: flex;
width: 510px;
Expand All @@ -19,7 +21,6 @@
.titleText {
margin-top: 15px;
margin-left: 1rem;
font-family: 'Inter';
font-size: 28px;
font-style: normal;
font-weight: 500;
Expand Down
4 changes: 2 additions & 2 deletions styles/admin/modal/AdminDeleteItem.module.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'styles/common.scss';

.whole {
display: flex;
width: 510px;
Expand All @@ -19,7 +21,6 @@
.titleText {
margin-top: 15px;
margin-left: 1rem;
font-family: 'Inter';
font-size: 28px;
font-style: normal;
font-weight: 500;
Expand Down Expand Up @@ -54,7 +55,6 @@
display: flex;
width: 5rem;
height: 3rem;
font-family: 'Inter';
font-size: 0.8rem;
font-style: normal;
font-weight: 500;
Expand Down
4 changes: 2 additions & 2 deletions styles/admin/modal/AdminDeleteMegaphone.module.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'styles/common.scss';

.whole {
display: flex;
width: 510px;
Expand All @@ -19,7 +21,6 @@
.titleText {
margin-top: 15px;
margin-left: 1rem;
font-family: 'Inter';
font-size: 28px;
font-style: normal;
font-weight: 500;
Expand Down Expand Up @@ -55,7 +56,6 @@
display: flex;
width: 5rem;
height: 3rem;
font-family: 'Inter';
font-size: 0.8rem;
font-style: normal;
font-weight: 500;
Expand Down
4 changes: 2 additions & 2 deletions styles/admin/modal/AdminDeleteProfile.module.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'styles/common.scss';

.whole {
display: flex;
width: 510px;
Expand All @@ -19,7 +21,6 @@
.titleText {
margin-top: 15px;
margin-left: 1rem;
font-family: 'Inter';
font-size: 28px;
font-style: normal;
font-weight: 500;
Expand Down Expand Up @@ -55,7 +56,6 @@
display: flex;
width: 5rem;
height: 3rem;
font-family: 'Inter';
font-size: 0.8rem;
font-style: normal;
font-weight: 500;
Expand Down
4 changes: 2 additions & 2 deletions styles/admin/modal/AdminEditCoinPolicy.module.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'styles/common.scss';

.whole {
display: flex;
width: 510px;
Expand All @@ -19,7 +21,6 @@
.titleText {
margin-top: 15px;
margin-left: 1rem;
font-family: 'Inter';
font-size: 28px;
font-style: normal;
font-weight: 500;
Expand Down Expand Up @@ -54,7 +55,6 @@
.bodyText {
display: flex;
width: 200px;
font-family: 'Inter';
font-size: 0.8rem;
font-style: normal;
font-weight: 500;
Expand Down
4 changes: 2 additions & 2 deletions styles/admin/modal/AdminEditItem.module.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'styles/common.scss';

.whole {
display: flex;
width: 510px;
Expand All @@ -19,7 +21,6 @@
.titleText {
margin-top: 15px;
margin-left: 1rem;
font-family: 'Inter';
font-size: 28px;
font-style: normal;
font-weight: 500;
Expand Down Expand Up @@ -53,7 +54,6 @@
display: flex;
width: 4rem;
height: 3rem;
font-family: 'Inter';
font-size: 0.8rem;
font-style: normal;
font-weight: 500;
Expand Down
3 changes: 2 additions & 1 deletion styles/admin/modal/AdminFeedbackCheck.module.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'styles/common.scss';

.whole {
width: 20rem;
height: 15rem;
Expand All @@ -14,7 +16,6 @@
text-align: center;
.content {
padding: 1rem 2rem;
font-family: 'Inter';
font-size: 1rem;
font-style: normal;
font-weight: 500;
Expand Down
2 changes: 0 additions & 2 deletions styles/admin/modal/AdminNoti.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
.titleText {
margin-top: 15px;
margin-left: 1rem;
font-family: 'Inter';
font-size: 28px;
font-style: normal;
font-weight: 500;
Expand All @@ -46,7 +45,6 @@
}

.bodyText {
font-family: 'Inter';
font-size: 15px;
font-style: normal;
font-weight: 500;
Expand Down
4 changes: 2 additions & 2 deletions styles/admin/modal/AdminPenalty.module.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'styles/common.scss';

.whole {
display: flex;
width: 510px;
Expand All @@ -19,7 +21,6 @@
.titleText {
margin-top: 15px;
margin-left: 1rem;
font-family: 'Inter';
font-size: 28px;
font-style: normal;
font-weight: 500;
Expand All @@ -46,7 +47,6 @@
.bodyText {
width: 67px;
height: 27px;
font-family: 'Inter';
font-size: 15px;
font-style: normal;
font-weight: 500;
Expand Down
Loading

0 comments on commit 2b9de0b

Please sign in to comment.