Code Monkey home page Code Monkey logo

octopus-client-golang's Introduction

Oysters紹介ページ

メンテナ向け

初回インストール

npm install 

開発用サーバ起動 & 変更時自動ビルド

npm run dev

Open http://localhost:3000 with your browser to see the result.

メンバーの追加方法

以下にメンバーの追加手順を記します。

  1. content/members/imagesにご自身のプロフィール画像を追加する。
  2. コマンド npm run add-member を実行し、質問に沿ってコマンドラインに入力していく。
  3. content/members 以下に追加したいメンバーの名前のついたtsファイルが存在しているか内容も含めて確認する。
  4. 別ブランチを切ってコミットし、PRを作成してレビュー依頼する。(誰でもOK)

画像の最適化方法について

cyrilwanner/next-optimized-images@canaryを使った画像リサイズ/圧縮ができます。

<img
  src={require(`@/content/members/${member.image}?width=144&height=144`)}
  width={72}
  height={72}
/>

/**
 * 結果:
 * <img src="data:image/jpeg;base64,/9..." width="72" height="72">
 */

注意:

  • 画像パスは動的に設定できますが、クエリ部分に変数は使用できません。
  • 変換後の画像のサイズがある程度小さい場合は自動的にインライン画像になります(設定で変更可能)

詳しい使い方はcyrilwanner/next-optimized-imagesを確認してください。

Special Thanks

octopus-client-golang's People

Contributors

pinkumohikan avatar yopidax avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.