Skip to content

Commit 04444ff

Browse files
authored
Merge pull request #70 from LIKELION-SOGANG/feature/SEO#45
Improve SEO
2 parents a319c47 + 6502ece commit 04444ff

File tree

6 files changed

+239
-0
lines changed

6 files changed

+239
-0
lines changed

package-lock.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
}
1616
},
1717
"dependencies": {
18+
"@next/third-parties": "^14.2.15",
1819
"@tanstack/react-query": "^5.51.23",
1920
"dotenv": "^16.4.5",
2021
"i": "^0.3.7",

public/sitemap.xml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<urlset
3+
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
6+
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
7+
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->
8+
9+
10+
<url>
11+
<loc>https://www.likelionsg.site/</loc>
12+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
13+
<priority>1.00</priority>
14+
</url>
15+
<url>
16+
<loc>https://www.likelionsg.site/about</loc>
17+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
18+
<priority>0.80</priority>
19+
</url>
20+
<url>
21+
<loc>https://www.likelionsg.site/project</loc>
22+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
23+
<priority>0.80</priority>
24+
</url>
25+
<url>
26+
<loc>https://www.likelionsg.site/people</loc>
27+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
28+
<priority>0.80</priority>
29+
</url>
30+
<url>
31+
<loc>https://www.likelionsg.site/recruit</loc>
32+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
33+
<priority>0.80</priority>
34+
</url>
35+
<url>
36+
<loc>https://www.likelionsg.site/contact</loc>
37+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
38+
<priority>0.80</priority>
39+
</url>
40+
<url>
41+
<loc>https://www.likelionsg.site/credit</loc>
42+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
43+
<priority>0.80</priority>
44+
</url>
45+
<url>
46+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd775</loc>
47+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
48+
<priority>0.64</priority>
49+
</url>
50+
<url>
51+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd778</loc>
52+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
53+
<priority>0.64</priority>
54+
</url>
55+
<url>
56+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77c</loc>
57+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
58+
<priority>0.64</priority>
59+
</url>
60+
<url>
61+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd776</loc>
62+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
63+
<priority>0.64</priority>
64+
</url>
65+
<url>
66+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77a</loc>
67+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
68+
<priority>0.64</priority>
69+
</url>
70+
<url>
71+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77e</loc>
72+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
73+
<priority>0.64</priority>
74+
</url>
75+
<url>
76+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd777</loc>
77+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
78+
<priority>0.64</priority>
79+
</url>
80+
<url>
81+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77b</loc>
82+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
83+
<priority>0.64</priority>
84+
</url>
85+
<url>
86+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd779</loc>
87+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
88+
<priority>0.64</priority>
89+
</url>
90+
<url>
91+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77d</loc>
92+
<lastmod>2024-10-17T16:26:47+00:00</lastmod>
93+
<priority>0.64</priority>
94+
</url>
95+
96+
97+
</urlset>

src/app/(main)/layout.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import '@/style/globals.css'
33
import { Figtree, Pp, Pretendard } from '@/utils/Font'
44
import Header from '../component/Header'
55
import Footer from '../component/Footer'
6+
import { GoogleAnalytics, GoogleTagManager } from '@next/third-parties/google'
7+
68
//
79
//
810
//
@@ -24,6 +26,8 @@ export default function RootLayout({
2426
<html
2527
lang="kr"
2628
className={`${Figtree.variable} ${Pp.variable} ${Pretendard.variable}`}>
29+
<GoogleTagManager gtmId={process.env.NEXT_PUBLIC_GTM_ID} />
30+
<GoogleAnalytics gaId={process.env.NEXT_PUBLIC_GA_ID} />
2731
<body
2832
className={`${Figtree.className} ${Pp.className} ${Pretendard.className}`}>
2933
<Header />

src/app/sitemap.xml

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
<?xml version="1.0" encoding="utf-8"?><!--Generated by Screaming Frog SEO Spider 20.3-->
2+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3+
<url>
4+
<loc>https://www.likelionsg.site/</loc>
5+
<lastmod>2024-10-17</lastmod>
6+
<changefreq>daily</changefreq>
7+
<priority>1.0</priority>
8+
</url>
9+
<url>
10+
<loc>https://www.likelionsg.site/about</loc>
11+
<lastmod>2024-10-17</lastmod>
12+
<changefreq>daily</changefreq>
13+
<priority>0.9</priority>
14+
</url>
15+
<url>
16+
<loc>https://www.likelionsg.site/people</loc>
17+
<lastmod>2024-10-17</lastmod>
18+
<changefreq>daily</changefreq>
19+
<priority>0.9</priority>
20+
</url>
21+
<url>
22+
<loc>https://www.likelionsg.site/contact</loc>
23+
<lastmod>2024-10-17</lastmod>
24+
<changefreq>daily</changefreq>
25+
<priority>0.9</priority>
26+
</url>
27+
<url>
28+
<loc>https://www.likelionsg.site/credit</loc>
29+
<lastmod>2024-10-17</lastmod>
30+
<changefreq>daily</changefreq>
31+
<priority>0.9</priority>
32+
</url>
33+
<url>
34+
<loc>https://www.likelionsg.site/project</loc>
35+
<lastmod>2024-10-17</lastmod>
36+
<changefreq>daily</changefreq>
37+
<priority>0.9</priority>
38+
</url>
39+
<url>
40+
<loc>https://www.likelionsg.site/recruit</loc>
41+
<lastmod>2024-10-17</lastmod>
42+
<changefreq>daily</changefreq>
43+
<priority>0.9</priority>
44+
</url>
45+
<url>
46+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77c</loc>
47+
<lastmod>2024-10-17</lastmod>
48+
<changefreq>daily</changefreq>
49+
<priority>0.8</priority>
50+
</url>
51+
<url>
52+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77b</loc>
53+
<lastmod>2024-10-17</lastmod>
54+
<changefreq>daily</changefreq>
55+
<priority>0.8</priority>
56+
</url>
57+
<url>
58+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77e</loc>
59+
<lastmod>2024-10-17</lastmod>
60+
<changefreq>daily</changefreq>
61+
<priority>0.8</priority>
62+
</url>
63+
<url>
64+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77d</loc>
65+
<lastmod>2024-10-17</lastmod>
66+
<changefreq>daily</changefreq>
67+
<priority>0.8</priority>
68+
</url>
69+
<url>
70+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd77a</loc>
71+
<lastmod>2024-10-17</lastmod>
72+
<changefreq>daily</changefreq>
73+
<priority>0.8</priority>
74+
</url>
75+
<url>
76+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd775</loc>
77+
<lastmod>2024-10-17</lastmod>
78+
<changefreq>daily</changefreq>
79+
<priority>0.8</priority>
80+
</url>
81+
<url>
82+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd777</loc>
83+
<lastmod>2024-10-17</lastmod>
84+
<changefreq>daily</changefreq>
85+
<priority>0.8</priority>
86+
</url>
87+
<url>
88+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd779</loc>
89+
<lastmod>2024-10-17</lastmod>
90+
<changefreq>daily</changefreq>
91+
<priority>0.8</priority>
92+
</url>
93+
<url>
94+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd776</loc>
95+
<lastmod>2024-10-17</lastmod>
96+
<changefreq>daily</changefreq>
97+
<priority>0.8</priority>
98+
</url>
99+
<url>
100+
<loc>https://www.likelionsg.site/project/66e83209cdd80d19acedd778</loc>
101+
<lastmod>2024-10-17</lastmod>
102+
<changefreq>daily</changefreq>
103+
<priority>0.8</priority>
104+
</url>
105+
</urlset>

src/type/declaration.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
declare namespace NodeJS {
2+
interface ProcessEnv {
3+
NEXT_PUBLIC_API_BASE_URL: string
4+
NEXT_PUBLIC_APP_URL: string
5+
NEXT_PUBLIC_GTM_ID: string
6+
NEXT_PUBLIC_GA_ID: string
7+
}
8+
}
9+
10+
interface Window {
11+
gtag: unknown
12+
}

0 commit comments

Comments
 (0)