デザイン:figma
matumoto1234 / blog Goto Github PK
View Code? Open in Web Editor NEW自作ブログ
Home Page: https://matumoto1234.com
自作ブログ
Home Page: https://matumoto1234.com
デザイン:figma
なんかめっちゃいいコンポーネントがあったので自作Spacerじゃなくてそっちに更新したい
色々調査して、置き換えて良さそうなら置き換えていること(置き換えない場合は置き換えないままでいい)
モバイルでもまともに見れるように調整する
zli-blogを参考にしてPC用とモバイル用で分けても良いかも
モバイル表示に対応できた表示になっている
grep
についての記事を書く句読点とかのために若干スペースが空くのは嫌
line-break: anywhere
あたりを使って、改行の調整をしたい
https://developer.mozilla.org/ja/docs/Web/API/Notification
にある、Nortificationに未対応のブラウザで開くとエラーとなってしまって閲覧ができない
https://github.com/matumoto1234/blog/blob/main/src/utils/components/NavBar/index.tsx#L43C7-L43C37
とかが該当していそう
めっちゃいいのがあったのでそれに置き換えたい
TwitterでつぶやこうとしてもCardが作られない
og:description
あたりを追加してみる
現状、imgurにアップロード→markdownに挿入の手順を踏んでいるのでかなり手間
AWSだったり、cloudflareのストレージだったりを使って画像をおいておく場所を作りたい(バックエンドの仕事か?)
それか普通にImg
コンポーネントを修正してsrc
属性はpublic/以下から持ってくるようにするとか
imgurへアップロードせずmatumotoが管理する範囲内で画像をやり取りできていること
huskyを導入してコミットメッセージの形式を統一したい
#<issue番号>: <コミットメッセージ>
の形式にしたい
NavBarに通知ボタンのロジックが全て含まれているので通知ボタンとしてコンポーネントに切り分ける
画像を記事内に挿入したいときなどにURLが取得できなかったりして困るので、マークダウンエディタを作りたい
ログイン機能とかは別で実装する
linterとformatterのCIを導入したい
GitHub Actionsとかでいい感じに作る
トリガーはpush時とかでよさそう
この際にlinterとかの設定をいじってみてもいいかも
ちょっと内容がごちゃついているので行間をもっと空けたい
line-height
をいい感じに修正する
Paragraph
は 300%くらいにしていいかも
List
なども適宜変えてみる
現状、MarkdownViewerにminHeightとかのスタイルをつけているが、それは呼び出し側で管理すべき
getToken()
で vapidKey をデフォルトのものにしてしまっているので、鍵を生成して使用する
gcm_sender_id
はいるのかgetToken()
に vapidKeyを渡すgcm_sender_id
がいるのかいらないのか確かめるWebプッシュ通知を有効にする
Firebase Cloud Messagingを使用して、記事が追加されたときとかにWebプッシュ通知をバックグランドで受け取れるようにする
通知の権限を求める際には、https://web.dev/articles/push-notifications-permissions-ux?hl=ja を参考にすること
ヘッダーをピン止めをした状態でページ遷移すると、デフォルトの状態に戻ってしまうので保持したい
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.