-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ccf477
commit 19074f4
Showing
4 changed files
with
88 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
<url> | ||
<loc>https://not-pnu.github.io/sugang</loc> | ||
<lastmod>2024-06-30T08:40:40.525Z</lastmod> | ||
<changefreq>yearly</changefreq> | ||
<priority>1</priority> | ||
</url> | ||
<url> | ||
<loc>https://not-pnu.github.io/sugang/notice</loc> | ||
<lastmod>2024-06-30T08:40:40.525Z</lastmod> | ||
<changefreq>yearly</changefreq> | ||
<priority>1</priority> | ||
</url> | ||
<url> | ||
<loc>https://not-pnu.github.io/sugang/register</loc> | ||
<lastmod>2024-06-30T08:40:40.525Z</lastmod> | ||
<changefreq>yearly</changefreq> | ||
<priority>1</priority> | ||
</url> | ||
<url> | ||
<loc>https://not-pnu.github.io/sugang/desired</loc> | ||
<lastmod>2024-06-30T08:40:40.525Z</lastmod> | ||
<changefreq>yearly</changefreq> | ||
<priority>1</priority> | ||
</url> | ||
</urlset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,40 @@ | ||
import type { Metadata } from "next"; | ||
import "./globals.css"; | ||
import LoadingModal from "@/components/LoadingModal"; | ||
import type {Metadata} from 'next'; | ||
import './globals.css'; | ||
import LoadingModal from '@/components/LoadingModal'; | ||
import {URL_DATA} from '@/constants/url'; | ||
|
||
|
||
export const metadata: Metadata = { | ||
title: "부산대학교 수강신청시스템 아님", | ||
description: "부산대학교의 수강신청을 연습할 수 있는 모의 수강신청 서비스", | ||
metadataBase: new URL(URL_DATA.APP_URL), | ||
title: '부산대학교 수강신청시스템 아님', | ||
description: '부산대학교의 수강신청을 연습할 수 있는 모의 수강신청 서비스', | ||
keywords: '부산대학교, 수강신청, 모의 수강신청, 수강신청 시뮬레이터, 수강신청 연습', | ||
openGraph: { | ||
title: '부산대학교 수강신청시스템 아님', | ||
description: '부산대학교의 수강신청을 연습할 수 있는 모의 수강신청 서비스', | ||
siteName: '센디 드라이버', | ||
url: URL_DATA.APP_URL, | ||
type: 'website', | ||
}, | ||
robots: { | ||
index: true, | ||
}, | ||
}; | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: Readonly<{ | ||
children: React.ReactNode; | ||
children, | ||
}: Readonly<{ | ||
children: React.ReactNode; | ||
}>) { | ||
return ( | ||
<html lang="ko"> | ||
<body> | ||
return ( | ||
<html lang="ko"> | ||
<body> | ||
<div id="root" className="relative"> | ||
{children} | ||
{children} | ||
</div> | ||
<div id="modal-root" /> | ||
<LoadingModal /> | ||
</body> | ||
</html> | ||
); | ||
<div id="modal-root"/> | ||
<LoadingModal/> | ||
</body> | ||
</html> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import type {MetadataRoute} from 'next'; | ||
import {URL_DATA} from '@/constants/url'; | ||
|
||
|
||
export default function robots(): MetadataRoute.Robots { | ||
return { | ||
rules: [ | ||
{ | ||
userAgent: '*', | ||
allow: [ | ||
'/sugang', | ||
'/sugang/notice', | ||
'/sugang/register', | ||
'/sugang/desired', | ||
], | ||
}, | ||
], | ||
sitemap: URL_DATA.APP_URL + '/sitemap.xml', | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export const URL_DATA = { | ||
DEFAULT_URL: 'sugang', | ||
APP_URL: 'https://not-pnu.github.io/sugang', | ||
MAILBADARA_URL: 'https://not-pnu.github.io/homepage/', | ||
} as const; | ||
|
||
export const MY_DATA = { | ||
MY_EMAIL:'[email protected]', | ||
GITHUB_REPO: 'https://github.com/not-pnu/sugang' | ||
} as const; |