Skip to content

Commit

Permalink
Merge pull request #69 from DEPthes/jisu
Browse files Browse the repository at this point in the history
메타 태그 수정
  • Loading branch information
jisupark123 authored Aug 20, 2023
2 parents b0510ec + 5463498 commit 1949a71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 7 additions & 8 deletions components/layouts/headMeta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@ import Head from 'next/head';
import React from 'react';

export type HeadMetaProps = {
metaTitle?: string;
metaDescription?: string;
};

export default function HeadMeta({ metaTitle, metaDescription }: HeadMetaProps) {
export default function HeadMeta({ metaDescription }: HeadMetaProps) {
return (
<Head>
{/* <title>{metaTitle ? `${metaTitle} - 모두의 사활` : '모두의 사활'}</title>
<title>이:음 | 랜덤 익명 편지 서비스</title>
<link rel='icon' href='/icons/favicon.ico' />
<meta name='description' content={metaDescription ?? '매일 새로운 문제 100개! 모두가 즐기는 사활 문제.'} />
<meta name='description' content={metaDescription ?? '정성이 담긴 편지의 온기를 다시 느껴보세요.'} />
<meta name='viewport' content='initial-scale=1.0, width=device-width' />
<meta property='og:title' content='모두의 사활' />
<meta property='og:description' content='매일 새로운 문제 100개! 모두가 즐기는 사활 문제' />
<meta property='og:title' content='이:음 | 랜덤 익명 편지 서비스' />
<meta property='og:description' content='정성이 담긴 편지의 온기를 다시 느껴보세요.' />
<meta property='og:type' content='website' />
<meta property='og:image' content={'/imgs/logo_1.png'} />
<meta property='og:article:author' content='모두의 사활' /> */}
<meta property='og:image' content={'/imgs/logo2.png'} />
<meta property='og:article:author' content='이:음 | 랜덤 익명 편지 서비스' />
</Head>
);
}
2 changes: 0 additions & 2 deletions pages/letter/all.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ export default function All() {
hasNextPage,
} = useLettersQuery({ type: letterType, page: 0, size: 20 });

console.log(isLettersLoading);

const [scrollRef, inView] = useInView();

const mailBoxs = letters?.map((letter) => {
Expand Down

0 comments on commit 1949a71

Please sign in to comment.