소스 검색

feat: add SEO optimization

hover-contact
ntasicc 3 년 전
부모
커밋
c4e4d8295f
2개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 2
    0
      pages/_app.js
  2. 5
    0
      pages/index.js

+ 2
- 0
pages/_app.js 파일 보기

@@ -20,6 +20,8 @@ function MyApp({ Component, pageProps: { session, ...pageProps } }) {
<SessionProvider session={session}>
<Layout>
<Head>
<title>NextJS template</title>
<meta name="description" content="NextJS template" />
<meta
name="viewport"
content="width=device-width, initial-scale=1"

+ 5
- 0
pages/index.js 파일 보기

@@ -1,11 +1,16 @@
import { dehydrate, QueryClient } from '@tanstack/react-query';
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
import Head from 'next/head';
import PaginationComponentRQ from '../components/pagination/react-query/PaginationComponentRQ';
import { getData } from '../requests/dataRequest';

const Home = () => {
return (
<>
<Head>
<title>NextJS template</title>
<meta name="description" content="Random data with pagination..." />
</Head>
<PaginationComponentRQ></PaginationComponentRQ>
</>
);

Loading…
취소
저장