Skip to content

Commit

Permalink
페이지 타이틀 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
cometkim committed May 12, 2022
1 parent 11b14b8 commit fc04a47
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 6 additions & 1 deletion team.daangn.com/src/pages/ir.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ import * as React from 'react';
import { rem } from 'polished';
import type { PageProps } from 'gatsby';
import { graphql, Link } from 'gatsby';
import { vars } from '@seed-design/design-token';
import { GatsbySeo } from 'gatsby-plugin-next-seo';
import { styled } from 'gatsby-theme-stitches/src/config';
import { vars } from '@seed-design/design-token';
import PageTitle from '@karrotmarket/gatsby-theme-team-website/src/components/PageTitle';
import FadeInWhenVisible from '@karrotmarket/gatsby-theme-team-website/src/components/FadeInWhenVisible';

Expand Down Expand Up @@ -87,6 +88,10 @@ const IrListPage: React.FC<IrListPageProps> = ({
}) => {
return (
<Container>
<GatsbySeo
title="당근마켓 IR"
description="당근마켓에서 제공하는 다양한 투자자 정보입니다."
/>
<PageTitle
css={{
marginBottom: rem(56),
Expand Down
7 changes: 7 additions & 0 deletions team.daangn.com/src/templates/IrPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
Link,
} from 'gatsby';
import { styled } from 'gatsby-theme-stitches/src/config';
import { GatsbySeo } from 'gatsby-plugin-next-seo';
import { required } from '@cometjs/core';
import { mapAbstractTypeWithDefault } from '@cometjs/graphql-utils';
import { vars } from '@seed-design/design-token';
Expand Down Expand Up @@ -160,6 +161,12 @@ const IrPage: React.FC<IrPageProps> = ({

return (
<Container>
<GatsbySeo
title={[
data.prismicIr.data.title?.text,
'당근마켓 IR',
].join(' | ')}
/>
<PreviousLink
aria-label="목록으로 돌아가기"
to="/ir/"
Expand Down

0 comments on commit fc04a47

Please sign in to comment.