Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ogpを追加 #227

Merged
merged 1 commit into from
Oct 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions client/src/pages/horse.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ const HorsePage: FC<Props> = ({ json }) => {
content="https://kra.azukibar.dev/ogp.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta
name="twitter:title"
content="競争馬一覧 | 調布競馬ポータル"
/>
<meta name="twitter:description" content="競争馬一覧ページ" />
</Head>
<h2>競争馬一覧</h2>
<ul>
Expand Down
2 changes: 2 additions & 0 deletions client/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const TopPage: FC<{}> = () => {
content="https://kra.azukibar.dev/ogp.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="調布競馬ポータル" />
<meta name="twitter:description" content="調布競馬公式サイト" />
</Head>
<h2>開催情報</h2>
<p>
Expand Down
5 changes: 5 additions & 0 deletions client/src/pages/race.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ const RacePage: FC<Props> = ({ json }) => {
content="https://kra.azukibar.dev/ogp.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta
name="twitter:title"
content="レース一覧 | 調布競馬ポータル"
/>
<meta name="twitter:description" content="レース一覧ページ" />
</Head>
<h2>レース一覧</h2>
<table>
Expand Down
8 changes: 8 additions & 0 deletions client/src/pages/race/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ const RaceDetailPage: FC<Props> = ({ json }) => {
content="https://kra.azukibar.dev/ogp.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta
name="twitter:title"
content={`${race.data!.name} | 調布競馬ポータル`}
/>
<meta
name="twitter:description"
content={`${race.data!.name}のデータ`}
/>
</Head>
<h2>{`第${race.data!.order}競争 ${race.data!.name}`}</h2>
<p>{race.description}</p>
Expand Down
5 changes: 5 additions & 0 deletions client/src/pages/special/shinbao.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@ const SpecialPage: FC<{}> = () => {
content="https://kra.azukibar.dev/ogp.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta
name="twitter:title"
content="新馬王戦 | 調布競馬ポータル"
/>
<meta name="twitter:description" content="第1回開催" />
</Head>
<h2>新馬王戦</h2>
<h3>日程</h3>
Expand Down