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

OGImageをローカルに保存して参照する #13

Merged
merged 4 commits into from
Mar 10, 2022

Conversation

otoyo
Copy link
Collaborator

@otoyo otoyo commented Mar 10, 2022

Vercel の Source Images 対策で記事一覧画面の next/imageimg タグに置き換えました。

next/image では要素の大きさに合わせて画像が縮小されていましたが img タグになったことで親要素からはみ出してしまうケースがあります。
CSSはご自身で調整していただければと思います。

スクリーンショット 2022-03-10 13 12 06

@otoyo otoyo self-assigned this Mar 10, 2022
@vercel
Copy link

vercel bot commented Mar 10, 2022

Deployment failed with the following error:

Your Personal Account exceeded our fair use limits and has been blocked.

Learn More: http://vercel.link/fair-use

@@ -72,7 +72,7 @@ const RenderPage = ({ rankedPosts = [], tags = [] }) => (
}
})}
<div className={styles.moreSearch}>
<Link href="/blog">
<Link href="/blog" passHref>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ついでに修正しています。

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

気づかなかったです(;・∀・)
ありがとうございます~~~~~m(_ )mm( _)m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants