-
프롬프트 생성
+
プロンプト生成
- 원하는 파일을 추가해주세요.
+ ご希望のファイルを追加してください。
-
파일 추가
+
ファイルの追加
{
@@ -96,9 +96,11 @@ const MaterialForm = ({setIsOpen, editData, cId}: FormProps) => {
className="m-auto "
/>
-
PDF 파일을 추가해주세요
+
+ PDFファイルを追加してください
+
- 지원하는 파일 형식: PDF
+ 対応ファイル形式: PDF
{
className="bg-gray-100 py-2 px-4 rounded"
onClick={() => setIsOpen(false)}
>
- {'< '}뒤로가기
+ {'< '}戻る
{editData ? (
) : (
)}
diff --git a/src/components/navbar/profile/EditName.tsx b/src/components/navbar/profile/EditName.tsx
index 38c2f53..f73169c 100644
--- a/src/components/navbar/profile/EditName.tsx
+++ b/src/components/navbar/profile/EditName.tsx
@@ -21,7 +21,7 @@ const EditName = ({setIsOpen, func}: editProps) => {
>
diff --git a/src/components/navbar/profile/Profile.tsx b/src/components/navbar/profile/Profile.tsx
index a470ece..541120b 100644
--- a/src/components/navbar/profile/Profile.tsx
+++ b/src/components/navbar/profile/Profile.tsx
@@ -98,7 +98,7 @@ const Profile = () => {
setDropdownOpen(false);
}}
>
- 이름 변경
+ 名前変更
,
user.role_id === 'ADMIN' ? (
{
setDropdownOpen(false);
}}
>
- 클래스 수정
+ クラス修正
) : null,
{
]
: null}
- 로그아웃
+ ログアウト
)}
From 0f64f61fb4014b82c8649b2cd5d9804160fbc91c Mon Sep 17 00:00:00 2001
From: dorimu0 <121004915+dorimu0@users.noreply.github.com>
Date: Mon, 1 Jul 2024 19:38:08 +0900
Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=92=84=20style=20:=20Apply=20Japanese?=
=?UTF-8?q?=20font?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Apply fonts to change text Japanese
Related issue: #171
---
src/app/globals.css | 17 +++++++++++++----
src/app/layout.tsx | 7 ++++---
src/components/navbar/profile/Profile.tsx | 2 +-
3 files changed, 18 insertions(+), 8 deletions(-)
diff --git a/src/app/globals.css b/src/app/globals.css
index 6a8d32d..f281c95 100644
--- a/src/app/globals.css
+++ b/src/app/globals.css
@@ -8,6 +8,14 @@
--background-end-rgb: 255, 255, 255;
}
+@font-face {
+ font-family: 'Pretendard-Regular';
+ src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff')
+ format('woff');
+ font-weight: 400;
+ font-style: normal;
+}
+
/* @media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
@@ -17,6 +25,7 @@
} */
body {
+ font-family: 'Pretendard-Regular';
color: rgb(var(--foreground-rgb));
background: linear-gradient(
to bottom,
@@ -31,13 +40,13 @@ body {
scrollbar-width: none;
}
-.scrollbar-visible::-webkit-scrollbar{
+.scrollbar-visible::-webkit-scrollbar {
width: 8px;
}
.scrollbar-visible::-webkit-scrollbar-thumb {
- background-color: rgba(0,0,255,.5);
+ background-color: rgba(0, 0, 255, 0.5);
}
.scrollbar-visible {
scrollbar-width: thin;
- scrollbar-color: rgba(0,0,255,.1) rgba(0,0,255,0);
-}
\ No newline at end of file
+ scrollbar-color: rgba(0, 0, 255, 0.1) rgba(0, 0, 255, 0);
+}
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index e0a1e19..541abd2 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -1,11 +1,11 @@
import type {Metadata} from 'next';
-import {Inter} from 'next/font/google';
+// import {Inter} from 'next/font/google';
// import {Footer} from '../components/footer';
import RecoilRootContainer from '../components/RecoilRootContainer';
import './globals.css';
import '@/src/styles/variable.css';
-const inter = Inter({subsets: ['latin']});
+// const inter = Inter({subsets: ['latin']});
export const metadata: Metadata = {
title: 'Minori',
@@ -15,7 +15,8 @@ export const metadata: Metadata = {
const RootLayout = ({children}: {children: React.ReactNode}) => {
return (
-
+ {/* */}
+
{/* */}
diff --git a/src/components/navbar/profile/Profile.tsx b/src/components/navbar/profile/Profile.tsx
index 541120b..89560fa 100644
--- a/src/components/navbar/profile/Profile.tsx
+++ b/src/components/navbar/profile/Profile.tsx
@@ -120,7 +120,7 @@ const Profile = () => {
setDropdownOpen(false);
}}
>
- {user.role_id === 'ADMIN' ? '클래스 삭제' : '클래스 탈퇴'}
+ {user.role_id === 'ADMIN' ? 'クラス削除' : 'クラス退会'}
,
]
: null}