From 13fc5154fd2786420268af4b177aa7177495c8ff Mon Sep 17 00:00:00 2001 From: KimCookieYa Date: Mon, 12 Aug 2024 02:24:55 +0900 Subject: [PATCH] wip --- package.json | 1 + src/app/(main)/layout.tsx | 8 ++--- src/app/(main)/notice/page.tsx | 2 +- src/app/(main)/register/page.tsx | 2 +- src/app/globals.css | 9 +++++ src/app/layout.tsx | 10 ++++-- src/app/page.tsx | 2 +- src/components/notice/NoriceSection1.tsx | 5 +++ src/components/sugang/SubjectSearchResult.tsx | 5 +++ .../sugang/SubjectSearchSection.tsx | 8 ++++- src/components/sugang/SugangSearchBar.tsx | 6 ++++ yarn.lock | 34 ++++++++++++++++--- 12 files changed, 77 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 1ef63aa..dd85f6e 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "lint": "next lint" }, "dependencies": { + "@next/third-parties": "^14.2.5", "axios": "^1.6.7", "next": "14.1.0", "react": "^18", diff --git a/src/app/(main)/layout.tsx b/src/app/(main)/layout.tsx index 612ace5..e63c870 100644 --- a/src/app/(main)/layout.tsx +++ b/src/app/(main)/layout.tsx @@ -7,12 +7,12 @@ export default function SugangLayout({ children: React.ReactNode; }>) { return ( - <> +
-
+
-
{children}
+
{children}
- +
); } diff --git a/src/app/(main)/notice/page.tsx b/src/app/(main)/notice/page.tsx index a4fa71f..4fcdea7 100644 --- a/src/app/(main)/notice/page.tsx +++ b/src/app/(main)/notice/page.tsx @@ -2,7 +2,7 @@ import NoticeSection1 from "@/components/notice/NoriceSection1"; export default function NoticePage() { return ( -
+
); diff --git a/src/app/(main)/register/page.tsx b/src/app/(main)/register/page.tsx index a77d8ec..d9f39d9 100644 --- a/src/app/(main)/register/page.tsx +++ b/src/app/(main)/register/page.tsx @@ -4,7 +4,7 @@ import SugangSearchBar from "@/components/sugang/SugangSearchBar"; export default function RegisterPage() { return ( -
+
diff --git a/src/app/globals.css b/src/app/globals.css index 472b27f..0d51b26 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -13,3 +13,12 @@ body { font-family: "Pretendard-Regular"; } + +.scroll-hidden { + -ms-overflow-style: none; /* IE and Edge */ + scrollbar-width: none; /* Firefox */ +} + +.scroll-hidden::-webkit-scrollbar { + display: none; /* Chrome, Safari, Opera*/ +} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b30c209..aa249f6 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -2,6 +2,7 @@ import type {Metadata} from 'next'; import './globals.css'; import LoadingModal from '@/components/LoadingModal'; import {URL_DATA} from '@/constants/url'; +import { GoogleTagManager, GoogleAnalytics } from '@next/third-parties/google' export const metadata: Metadata = { @@ -12,7 +13,7 @@ export const metadata: Metadata = { openGraph: { title: '부산대학교 수강신청시스템 아님', description: '부산대학교의 수강신청을 연습할 수 있는 모의 수강신청 서비스', - siteName: '센디 드라이버', + siteName: '부산대학교 수강신청시스템 아님', url: URL_DATA.APP_URL, type: 'website', images: [{ @@ -23,6 +24,7 @@ export const metadata: Metadata = { }, robots: { index: true, + follow: true, }, }; @@ -34,8 +36,10 @@ export default function RootLayout({ }>) { return ( - -
+ + + +
{children}