Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jisupark123 committed Aug 22, 2023
2 parents 7ccc66a + 5656cf8 commit fbf7f78
Show file tree
Hide file tree
Showing 6 changed files with 92 additions and 4 deletions.
19 changes: 19 additions & 0 deletions next-sitemap.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/** @type {import('next-sitemap').IConfig} */

module.exports = {
siteUrl: 'https://ieum.vercel.app',
generateRobotsTxt: true,
sitemapSize: 7000,
changefreq: 'daily',
priority: 1,
exclude: '/letter/**',
robotsTxtOptions: {
policies: [
{
userAgent: '*',
allow: '/',
disallow: '/letter',
},
],
},
};
52 changes: 49 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"postbuild": "next-sitemap"
},
"dependencies": {
"@svgr/webpack": "^8.0.1",
"autoprefixer": "10.4.14",
"axios": "^1.4.0",
"next": "13.4.12",
"next-sitemap": "^4.2.2",
"postcss": "8.4.27",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
10 changes: 10 additions & 0 deletions public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# *
User-agent: *
Allow: /
Disallow: /letter

# Host
Host: https://ieum.vercel.app

# Sitemaps
Sitemap: https://ieum.vercel.app/sitemap.xml
7 changes: 7 additions & 0 deletions public/sitemap-0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://ieum.vercel.app</loc><lastmod>2023-08-21T13:23:42.899Z</lastmod><changefreq>daily</changefreq><priority>1</priority></url>
<url><loc>https://ieum.vercel.app/join</loc><lastmod>2023-08-21T13:23:42.899Z</lastmod><changefreq>daily</changefreq><priority>1</priority></url>
<url><loc>https://ieum.vercel.app/login</loc><lastmod>2023-08-21T13:23:42.899Z</lastmod><changefreq>daily</changefreq><priority>1</priority></url>
<url><loc>https://ieum.vercel.app/reset-password</loc><lastmod>2023-08-21T13:23:42.899Z</lastmod><changefreq>daily</changefreq><priority>1</priority></url>
</urlset>
4 changes: 4 additions & 0 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap><loc>https://ieum.vercel.app/sitemap-0.xml</loc></sitemap>
</sitemapindex>

0 comments on commit fbf7f78

Please sign in to comment.