Git Product home page Git Product logo

nuxtdentalclinicsite's Introduction

読み終わって誰かにあげたい本リスト

Webサイト

⚙ 構成技術

  • Next.js
    • (useSWR, Next Auth, React Hook Form)
  • TypeScript
  • Tailwind CSS
  • Prisma
  • Supabase
  • Vercel
  • Google Books API

nuxtdentalclinicsite's People

Contributors

kento-yoshidu avatar

Watchers

James Cloos avatar  avatar

nuxtdentalclinicsite's Issues

見出しコンポーネントの改良(UpdateHeading)

ファイルパス

components/BaseHeading.vue

なにこれ

デザインをこんな風に変えたい。
キャプチャ

どうする

見出しの文字列をslotで受け取っているが、propsで複数受け取れるようにする。

props

  • title(見出し、日本語)
  • sub(見出しを英語にしたやつ)

お知らせページの作成(CreateInformation)

ファイルパス

pages/information/index.vue
pages/information/old.vue

新しいものは/information/に、過去のものは/information/old/に表示させる

API設計

isRecentフィールドがtrueなら新しいもの、falseなら過去に振り分け。

LayoutInformationListの削除(DeleteInformationList)

なにこれ

index.vueでお知らせ一覧を表示するのにcomponents/LayoutInformationList.vueでコンポーネント化し、呼び出ししているが無意味なので削除

ファイルパス

components/LayoutInformationList.vue

ヘッダーコンポーネントの作成(CreateHeaderComponent)

ファイルパス

components/LayoutHeader.vue

マークアップ構造

2段構成にする。上段には医院のロゴと住所、連絡先。下段にはナビゲーション。
下段はposition: stickyで画面トップに固定。

Todo

  • マークアップ
  • レスポンシブ
  • 下段の画面上部固定

お知らせ一覧は1ページにまとめるべきでは

なにこれ

1つのお知らせごとに1ページを生成しているが、1ページにまとめて表示させたい。

やるかやらないか

多分やる

新規と過去に分ける

比較的新しい投稿(最新3件とか)のみ/information/に表示させ、それ以降は/information/backnumberとかに入れる。
新規と過去はmicroCMSでブール値で振り分けるのがシンプルでよさそう。

メインビジュアルでタイトル、説明文を受け取れるようにする(MainVisual_Props)

ファイルパス

components/LayoutMainVisualComponent

なにこれ❓

propsで以下のものを渡せるようにする

  • メインビジュアルの画像(visual)
  • ページのタイトル(title)
  • 説明文(message)
  • メインビジュアルのmin-height(height)

注意点

min-heightは固定してもいいのでは?
イシューを発行したので詳しくはこっちで

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.