From 4c90d7a2c0ed85f1930a2a7faf6eb05fe7e3508c Mon Sep 17 00:00:00 2001 From: Hyunmin Choi Date: Mon, 30 Dec 2024 20:34:02 +0900 Subject: [PATCH] =?UTF-8?q?[FEATURE]=20=EC=84=9C=EB=B9=84=EC=8A=A4=20SEO?= =?UTF-8?q?=20=EC=9E=91=EC=97=85=20(#63)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: sitemap 추가 (#62) * feat: 이미지 alt 속성 추가 (#62) --- public/robots.txt | 2 + public/sitemap.xml | 69 +++++++++++++++++++++++ src/components/Header.tsx | 6 +- src/components/Navbar.tsx | 2 +- src/components/account/LoginForm.tsx | 2 +- src/components/mypage/HeaderComponent.tsx | 6 +- src/pages/MainPage.tsx | 2 +- 7 files changed, 84 insertions(+), 5 deletions(-) create mode 100644 public/sitemap.xml diff --git a/public/robots.txt b/public/robots.txt index e9e57dc..703dfb3 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,3 +1,5 @@ # https://www.robotstxt.org/robotstxt.html User-agent: * Disallow: + +Sitemap: https://smunity.co.kr/sitemap.xml diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..457431e --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,69 @@ + + + + https://smunity.co.kr + 2024-12-30 + daily + 1.0 + + + https://smunity.co.kr/accounts/login + 2024-12-30 + daily + 0.9 + + + https://smunity.co.kr/accounts/agree + 2024-12-30 + daily + 0.9 + + + https://smunity.co.kr/qna/terms + 2024-12-30 + daily + 0.8 + + + https://smunity.co.kr/qna/privacy + 2024-12-30 + daily + 0.8 + + + https://smunity.co.kr/qna/questions + 2024-12-30 + daily + 0.8 + + + https://smunity.co.kr/qna/questions/1 + 2024-12-30 + daily + 0.7 + + + https://smunity.co.kr/qna/questions/2 + 2024-12-30 + daily + 0.7 + + + https://smunity.co.kr/qna/questions/3 + 2024-12-30 + daily + 0.7 + + + https://smunity.co.kr/qna/questions/4 + 2024-12-30 + daily + 0.7 + + + https://smunity.co.kr/qna/questions/5 + 2024-12-30 + daily + 0.7 + + diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 8731938..48bd259 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -7,7 +7,11 @@ interface HeaderProps { const Header = (props: HeaderProps) => { return (
- + 네비게이션바 이미지
{props.title} {props.subtitle} diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 41d6599..1135794 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -17,7 +17,7 @@ const Navbar = () => { - + 스뮤니티 로고