├── .eslintrc.js
├── .gitignore
├── .node-version
├── .prettierrc
├── .vscode
├── extensions.json
└── settings.json
├── LICENSE
├── README.md
├── assets
├── README.md
└── styles
│ ├── colors.css
│ └── reset.css
├── components
├── Alert.vue
├── Banner.vue
├── Breadcrumb.vue
├── Card.vue
├── Categories.vue
├── ConversionPoint.vue
├── Footer.vue
├── Header.vue
├── Latest.vue
├── Logo.vue
├── Meta.vue
├── NextBlogNavigation.vue
├── Pagination.vue
├── Partner.vue
├── PopularArticles.vue
├── Post.vue
├── README.md
├── RelatedBlogs.vue
├── Search.vue
├── Share.vue
├── ShareButtons.vue
├── Tags.vue
├── Toc.vue
└── Writer.vue
├── functions
├── draft.js
└── search.js
├── layouts
├── README.md
└── default.vue
├── netlify.toml
├── nuxt.config.js
├── package-lock.json
├── package.json
├── pages
├── 404.vue
├── README.md
├── _slug
│ └── index.vue
├── author
│ └── _authorId.vue
├── draft
│ └── index.vue
├── index.vue
└── search
│ └── index.vue
├── plugins
├── README.md
└── vue-scrollto.js
├── static
├── README.md
├── favicon.png
├── icon.png
└── images
│ ├── banner_logo.svg
│ ├── bg_microcms_screen_black.jpg
│ ├── bg_microcms_screen_black.png
│ ├── icon_alert.svg
│ ├── icon_arrow_bottom.svg
│ ├── icon_arrow_left.svg
│ ├── icon_arrow_right.svg
│ ├── icon_author.svg
│ ├── icon_clock.svg
│ ├── icon_discord.svg
│ ├── icon_facebook.svg
│ ├── icon_feed.svg
│ ├── icon_github.svg
│ ├── icon_hatena.svg
│ ├── icon_link.svg
│ ├── icon_loading.svg
│ ├── icon_menu.svg
│ ├── icon_quote.svg
│ ├── icon_search.svg
│ ├── icon_tag.svg
│ ├── icon_tag_navy.svg
│ ├── icon_update.svg
│ ├── icon_x.svg
│ ├── logo.svg
│ └── ogp.png
└── utils
├── getDefaultOgimage.js
└── microcms.js
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | env: {
4 | browser: true,
5 | node: true,
6 | },
7 | parserOptions: {
8 | parser: 'babel-eslint',
9 | },
10 | extends: [
11 | '@nuxtjs',
12 | 'prettier',
13 | 'prettier/vue',
14 | 'plugin:prettier/recommended',
15 | 'plugin:nuxt/recommended',
16 | ],
17 | plugins: ['prettier'],
18 | // add your custom rules here
19 | rules: {
20 | 'vue/no-v-html': 'off',
21 | },
22 | };
23 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Created by .ignore support plugin (hsz.mobi)
2 | ### Node template
3 | # Logs
4 | logs
5 | *.log
6 | npm-debug.log*
7 | yarn-debug.log*
8 | yarn-error.log*
9 |
10 | # Runtime data
11 | pids
12 | *.pid
13 | *.seed
14 | *.pid.lock
15 |
16 | # Directory for instrumented libs generated by jscoverage/JSCover
17 | lib-cov
18 |
19 | # Coverage directory used by tools like istanbul
20 | coverage
21 |
22 | # nyc test coverage
23 | .nyc_output
24 |
25 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
26 | .grunt
27 |
28 | # Bower dependency directory (https://bower.io/)
29 | bower_components
30 |
31 | # node-waf configuration
32 | .lock-wscript
33 |
34 | # Compiled binary addons (https://nodejs.org/api/addons.html)
35 | build/Release
36 |
37 | # Dependency directories
38 | node_modules/
39 | jspm_packages/
40 |
41 | # TypeScript v1 declaration files
42 | typings/
43 |
44 | # Optional npm cache directory
45 | .npm
46 |
47 | # Optional eslint cache
48 | .eslintcache
49 |
50 | # Optional REPL history
51 | .node_repl_history
52 |
53 | # Output of 'npm pack'
54 | *.tgz
55 |
56 | # Yarn Integrity file
57 | .yarn-integrity
58 |
59 | # dotenv environment variables file
60 | .env
61 |
62 | # parcel-bundler cache (https://parceljs.org/)
63 | .cache
64 |
65 | # next.js build output
66 | .next
67 |
68 | # nuxt.js build output
69 | .nuxt
70 |
71 | # Nuxt generate
72 | dist
73 |
74 | # vuepress build output
75 | .vuepress/dist
76 |
77 | # Serverless directories
78 | .serverless
79 |
80 | # IDE / Editor
81 | .idea
82 | .editorconfig
83 |
84 | # Service worker
85 | sw.*
86 |
87 | # Mac OSX
88 | .DS_Store
89 |
90 | # Vim swap files
91 | *.swp
92 |
93 | #amplify
94 | amplify/\#current-cloud-backend
95 | amplify/.config/local-*
96 | amplify/backend/amplify-meta.json
97 | amplify/backend/awscloudformation
98 | build/
99 | dist/
100 | node_modules/
101 | aws-exports.js
102 | awsconfiguration.json
103 |
104 | #rss
105 | feed.xml
106 | feed_update.xml
107 | feed_usecase.xml
108 |
109 | #pwa
110 | sw.*
--------------------------------------------------------------------------------
/.node-version:
--------------------------------------------------------------------------------
1 | v16.20.0
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "semi": true,
3 | "singleQuote": true
4 | }
5 |
--------------------------------------------------------------------------------
/.vscode/extensions.json:
--------------------------------------------------------------------------------
1 | {
2 | "recommendations": [
3 | "dbaeumer.vscode-eslint",
4 | "simonsiefke.prettier-vscode"
5 | ]
6 | }
7 |
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "editor.codeActionsOnSave": {
3 | "source.fixAll.eslint": true
4 | },
5 | "editor.formatOnSave": true
6 | }
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "[]"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright [yyyy] [name of copyright owner]
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # microcms-blog
2 | サイト: https://blog.microcms.io
3 |
4 | ## 機能
5 | - 記事一覧
6 | - カテゴリー別記事一覧
7 | - タグ別記事一覧
8 | - 人気の記事一覧
9 | - 最新の記事一覧
10 | - 著者別の記事一覧
11 | - 検索
12 | - パンくずリスト
13 | - 記事詳細
14 | - 目次
15 | - 著者
16 | - SNSシェアボタン
17 | - 下書きプレビュー
18 | - 関連記事
19 | - サイトマップ
20 | - バナー
21 | - Google Tag Manager
22 | - Facebook Pixel
23 | - RSS
24 | - PWA
25 |
26 | ## 技術構成
27 | - Nuxt(SSG)
28 | - microCMS(コンテンツ)
29 | - Netlify(Hosting, Functions)
30 | - ESLint
31 | - Prettier
32 | - PostCSS
33 | - PWA
34 |
35 | ## microCMSのAPIスキーマ設定
36 | ### ブログ
37 | endpoint: blog
38 | type: リスト形式
39 |
40 | | フィールド ID | 表示名 | 種類 |
41 | | ------------- | ---------- | --------------------------- |
42 | | title | タイトル | テキストフィールド |
43 | | category | カテゴリー | コンテンツ参照 - カテゴリー |
44 | | tag | タグ | 複数コンテンツ参照 - タグ |
45 | | toc_visible | 目次 | 真偽値 |
46 | | body | 本文 | リッチエディタ |
47 | | description | 概要 | テキストフィールド |
48 | | ogimage | OGP 画像 | 画像 |
49 | | writer | 著者 | コンテンツ参照 - 著者 |
50 | | partner | パートナー | コンテンツ参照 - パートナー |
51 | | previous_blog | 前の記事 | コンテンツ参照 - ブログ |
52 | | next_blog | 次の記事 | コンテンツ参照 - ブログ |
53 | | related_blogs | 関連記事 | 複数コンテンツ参照 - ブログ |
54 | | cv_point | CVポイント | 繰り返し(※上限1に設定) - カスタムフィールド |
55 |
56 | #### カスタムフィールド
57 | フィールドID: thumbnail
58 |
59 | | フィールド ID | 表示名 | 種類 |
60 | | ------------- | ---------- | --------------------------- |
61 | | title | タイトル | テキストフィールド |
62 | | text | 本文 | テキストエリア |
63 | | buttonText | ボタンテキスト | テキストフィールド |
64 | | buttonLink | ボタンリンク | テキストフィールド |
65 | | thumbnail | サムネイル | 画像 |
66 |
67 |
68 | ### 著者
69 | endpoint: authors
70 | type: リスト形式
71 |
72 | | フィールドID | 表示名 | 種類 |
73 | | ------------- | ------------- | ----- |
74 | | name | 名前 | テキストフィールド |
75 | | text | 自己紹介 | テキストエリア |
76 | | image | 画像 | 画像 |
77 | | twitter | Twitter URL | テキストフィールド |
78 | | facebook | Facebook URL | テキストフィールド |
79 | | github | GitHub URL | テキストフィールド |
80 |
81 | ### カテゴリー
82 | endpoint: categories
83 | type: リスト形式
84 |
85 | | フィールドID | 表示名 | 種類 |
86 | | ------------- | ------------- | ----- |
87 | | name | 名前 | テキストフィールド |
88 |
89 | ### タグ
90 | endpoint: tags
91 | type: リスト形式
92 |
93 | | フィールド ID | 表示名 | 種類 |
94 | | ------------- | ------ | ------------------ |
95 | | name | 名前 | テキストフィールド |
96 |
97 | ### パートナー
98 | endpoint: partners
99 | type: リスト形式
100 |
101 | | フィールドID | 表示名 | 種類 |
102 | | ------------- | ------------- | ----- |
103 | | company | 会社名 | テキストフィールド |
104 | | url | 会社URL | テキストフィールド |
105 | | description | 説明文 | テキストエリア |
106 | | logo | ロゴ | 画像 |
107 |
108 | ### 人気の記事
109 | endpoint: popular-articles
110 | type: オブジェクト形式
111 |
112 | | フィールドID | 表示名 | 種類 |
113 | | ------------- | ------------- | ----- |
114 | | articles | 人気の記事 | 複数コンテンツ参照 - ブログ |
115 |
116 | ### バナー
117 | endpoint: banner
118 | type: オブジェクト形式
119 |
120 | | フィールドID | 表示名 | 種類 |
121 | | ------------- | ------------- | ----- |
122 | | image | 画像 | 画像 |
123 | | url | リンク先URL | テキストフィールド |
124 | | alt | 代替テキスト | テキストフィールド |
125 |
126 | ## 環境変数
127 | プロジェクトルートに`.env`ファイルを作成し、以下の項目を設定してください。
128 | - API_KEY(microCMSのAPIキー)
129 | - SERVICE_ID(microCMSのサービスID)
130 | - GTM_ID(Google Tag ManagerのID)※任意
131 | - FB_PIXEL_ID(FacebookピクセルID)※任意
132 |
133 | 例:
134 | ```
135 | API_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
136 | SERVICE_ID=your-service-id
137 | GTM_ID=GTM-xxxxxxx
138 | FB_PIXEL_ID=xxxxxxxxxxxxxxxxxx
139 | ```
140 |
141 | ## 開発方法
142 |
143 | ```bash
144 | # パッケージをインストール
145 | $ npm install
146 |
147 | # 開発サーバーを起動(localhost:3000)
148 | $ npm run dev
149 |
150 | # Netlify Functionsをローカルで起動(localhost:9000)
151 | $ npm run functions:serve
152 |
153 | # アプリケーションを静的生成
154 | $ npm run generate
155 |
156 | # 静的生成したアプリケーションを起動
157 | $ npm start
158 | ```
159 |
160 | ## ライセンス
161 | Apache License 2.0
162 |
--------------------------------------------------------------------------------
/assets/README.md:
--------------------------------------------------------------------------------
1 | # ASSETS
2 |
3 | **This directory is not required, you can delete it if you don't want to use it.**
4 |
5 | This directory contains your un-compiled assets such as LESS, SASS, or JavaScript.
6 |
7 | More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/assets#webpacked).
8 |
--------------------------------------------------------------------------------
/assets/styles/colors.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --color-text-main: #2b2c30;
3 | --color-text-sub: #616269;
4 | --color-text-off: #999;
5 | --color-text-disabled: #ccc;
6 | --color-text-placeholder: #ccc;
7 | --color-text-link: #2b2c30;
8 | --color-border-dark: #ccc;
9 | --color-border: #ddd;
10 | --color-border-light: #eee;
11 | --color-primary: #563bff;
12 | --color-primary-light: #664bff;
13 | --color-gradient-purple: linear-gradient(to right bottom, #5630af, #3067af);
14 | --color-gradient-purple-light: linear-gradient(
15 | to right bottom,
16 | #7650cf,
17 | #5087cf
18 | );
19 | --color-gradient-blue: linear-gradient(to right bottom, #adaf30, #30af7f);
20 | --color-purple: #331cbf;
21 | --color-green: #2cc63e;
22 | --color-bluegreen: #30af7f;
23 | --color-gray: #ddd;
24 | --color-gray-light: #eee;
25 | --color-accent: #ff8d27;
26 | --color-accent-light: #ff9d37;
27 | --color-blue: #3067af;
28 | --color-pink: #ff357f;
29 |
30 | --color-bg-purple-lightest: #f8f9fd;
31 | --color-bg-purple-light: #f7f7fc;
32 | --color-bg-purple: #e7e7f3;
33 | --color-bg-purple-dark: #cacae7;
34 | --color-bg-blue: #e5eff9;
35 |
36 | --color-bg-success: #e8fbe8;
37 | --color-bg-error: #ffe9df;
38 | --color-error: #d9534f;
39 |
40 | --color-social-twitter: #1d9bf0;
41 | --color-social-x: #0f1419;
42 | --color-social-facebook: #1877f2;
43 | --color-social-hatena: #00a4de;
44 | }
45 |
--------------------------------------------------------------------------------
/assets/styles/reset.css:
--------------------------------------------------------------------------------
1 | /* http://meyerweb.com/eric/tools/css/reset/
2 | v2.0 | 20110126
3 | License: none (public domain)
4 | */
5 |
6 | html, body, div, span, applet, object, iframe,
7 | h1, h2, h3, h4, h5, h6, p, blockquote, pre,
8 | a, abbr, acronym, address, big, cite, code,
9 | del, dfn, em, img, ins, kbd, q, s, samp,
10 | small, strike, strong, sub, sup, tt, var,
11 | b, u, i, center,
12 | dl, dt, dd, ol, ul, li,
13 | fieldset, form, label, legend,
14 | table, caption, tbody, tfoot, thead, tr, th, td,
15 | article, aside, canvas, details, embed,
16 | figure, figcaption, footer, header, hgroup,
17 | menu, nav, output, ruby, section, summary,
18 | time, mark, audio, video {
19 | margin: 0;
20 | padding: 0;
21 | border: 0;
22 | font-size: 100%;
23 | font: inherit;
24 | vertical-align: baseline;
25 | }
26 |
27 | /* HTML5 display-role reset for older browsers
28 | */
29 |
30 | article, aside, details, figcaption, figure,
31 | footer, header, hgroup, menu, nav, section {
32 | display: block;
33 | }
34 |
35 | body, input {
36 | line-height: 1.5;
37 | font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
38 | color: #2b2c30;
39 | }
40 |
41 | code {
42 | font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
43 | }
44 |
45 | ol, ul {
46 | list-style: none;
47 | }
48 |
49 | blockquote, q {
50 | quotes: none;
51 | }
52 |
53 | blockquote:before, blockquote:after,
54 | q:before, q:after {
55 | content: '';
56 | content: none;
57 | }
58 |
59 | a {
60 | color: var(--color-text-link);
61 | text-decoration: none;
62 | }
63 |
64 | table {
65 | border-collapse: collapse;
66 | border-spacing: 0;
67 | }
68 |
69 | input, select, button {
70 | &:focus {
71 | outline: none;
72 | }
73 | }
74 |
75 | :placeholder-shown {
76 | color: var(--color-text-placeholder);
77 | }
78 |
79 | ::-webkit-input-placeholder {
80 | color: var(--color-text-placeholder);
81 | }
82 |
83 | /* Firefox 18- */
84 |
85 | :-moz-placeholder {
86 | color: var(--color-text-placeholder);
87 | opacity: 1;
88 | }
89 |
90 | /* Firefox 19+ */
91 |
92 | ::-moz-placeholder {
93 | color: var(--color-text-placeholder);
94 | opacity: 1;
95 | }
96 |
97 | /* IE 10+ */
98 |
99 | :-ms-input-placeholder {
100 | color: var(--color-text-placeholder);
101 | }
102 |
103 | /* for Responsible */
104 |
105 | @media (max-width: 1030px) {
106 | .forPC {
107 | display: none;
108 | }
109 | }
110 |
111 | @media (min-width: 1030px) {
112 | .forSP {
113 | display: none;
114 | }
115 | }
116 |
--------------------------------------------------------------------------------
/components/Alert.vue:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 |
24 |
25 |
49 |
--------------------------------------------------------------------------------
/pages/README.md:
--------------------------------------------------------------------------------
1 | # PAGES
2 |
3 | This directory contains your Application Views and Routes.
4 | The framework reads all the `*.vue` files inside this directory and creates the router of your application.
5 |
6 | More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing).
7 |
--------------------------------------------------------------------------------
/pages/author/_authorId.vue:
--------------------------------------------------------------------------------
1 |
2 |