- Next.js
- (useSWR, Next Auth, React Hook Form)
- TypeScript
- Tailwind CSS
- Prisma
- Supabase
- Vercel
- Google Books API
nuxtdentalclinicsite's Introduction
nuxtdentalclinicsite's People
nuxtdentalclinicsite's Issues
メインビジュアルの高さは固定にするべきか❓
Titleコンポーネントの作成(TitleComponent)
Tailwind CSS周りの設定(TailwindCSS)
ToDo
-
tailwind.config.js
の作成
見出しコンポーネントの改良(UpdateHeading)
お知らせページの作成(CreateInformation)
ファイルパス
pages/information/index.vue
pages/information/old.vue
新しいものは/information/
に、過去のものは/information/old/
に表示させる
API設計
isRecent
フィールドがtrueなら新しいもの、falseなら過去に振り分け。
メインビジュアルの高さ固定(FixMainVisualHeight)
現状
propsでメインビジュアルコンポーネントのmin-heightを受け取り可変にしているが、固定にする。
ファイルパス
components/LayoutMainVisual.vue
ブログリストコンポーネントの作成(CreateBlogListComponent)
ファイルパス
components/LayoutBlogList.vue
default.vueでcssを書く(CSSinDefalt)
ファイルパス
layouts/default.vue
なにこれ
前ぺージ共通のスタイルはdefault.vueに書き出す
対象の要素
- html
- body
- main
LayoutInformationListの削除(DeleteInformationList)
なにこれ
index.vue
でお知らせ一覧を表示するのにcomponents/LayoutInformationList.vue
でコンポーネント化し、呼び出ししているが無意味なので削除
ファイルパス
components/LayoutInformationList.vue
LayoutWrapperコンポーネントの作成(LayoutWrapperComponent)
ToDo
- #87
- [ ]
ヘッダーコンポーネントの作成(CreateHeaderComponent)
ファイルパス
components/LayoutHeader.vue
マークアップ構造
2段構成にする。上段には医院のロゴと住所、連絡先。下段にはナビゲーション。
下段はposition: sticky
で画面トップに固定。
Todo
- マークアップ
- レスポンシブ
- 下段の画面上部固定
お知らせ一覧は1ページにまとめるべきでは
なにこれ
1つのお知らせごとに1ページを生成しているが、1ページにまとめて表示させたい。
やるかやらないか
多分やる
新規と過去に分ける
比較的新しい投稿(最新3件とか)のみ/information/
に表示させ、それ以降は/information/backnumber
とかに入れる。
新規と過去はmicroCMSでブール値で振り分けるのがシンプルでよさそう。
FixHeaderコンポーネントの作成(FixHeaderComponent)
メインビジュアルでタイトル、説明文を受け取れるようにする(MainVisual_Props)
ファイルパス
components/LayoutMainVisualComponent
なにこれ❓
propsで以下のものを渡せるようにする
- メインビジュアルの画像(visual)
- ページのタイトル(title)
- 説明文(message)
- メインビジュアルの
min-height
(height)
注意点
min-height
は固定してもいいのでは?
イシューを発行したので詳しくはこっちで
お知らせリストコンポーネントの作成(CretateLayoutInformationList.vue)
ファイルパス
components/LayoutInformationList.vue
なにこれ
microCMSからお知らせを取得、投稿日時とお知らせタイトルをリスト形式で表示
fontawesomeの導入(InstallFontAwesome)
index.vueの作成(Create_index.vue)
ファイルパス
pages/index.vue
なにこれ
トップページ
マークアップ
診察内容ページの作成(CreateExamine)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.