From 768b047e89f419deca3ddd00af7cb75209de97b6 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 30 Aug 2019 10:08:13 +0200 Subject: Move to nuxtjs --- nuxt.config.js | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 nuxt.config.js (limited to 'nuxt.config.js') diff --git a/nuxt.config.js b/nuxt.config.js new file mode 100644 index 0000000..48f1978 --- /dev/null +++ b/nuxt.config.js @@ -0,0 +1,61 @@ + +export default { + mode: 'universal', + /* + ** Headers of the page + */ + head: { + title: process.env.npm_package_name || '', + meta: [ + { charset: 'utf-8' }, + { name: 'viewport', content: 'width=device-width, initial-scale=1' }, + { hid: 'description', name: 'description', content: process.env.npm_package_description || '' } + ], + link: [ + { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } + ] + }, + /* + ** Customize the progress-bar color + */ + loading: { color: '#fff' }, + /* + ** Global CSS + */ + css: [ + ], + /* + ** Plugins to load before mounting the App + */ + plugins: [ + ], + /* + ** Nuxt.js dev-modules + */ + buildModules: [ + ], + /* + ** Nuxt.js modules + */ + modules: [ + // Doc: https://axios.nuxtjs.org/usage + '@nuxtjs/axios', + '@nuxtjs/pwa', + ], + /* + ** Axios module configuration + ** See https://axios.nuxtjs.org/options + */ + axios: { + }, + /* + ** Build configuration + */ + build: { + /* + ** You can extend webpack config here + */ + extend (config, ctx) { + } + } +} -- cgit 1.4.1 From e8856e4713057bf3c904d1f0a312eaf5a4251d47 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 30 Aug 2019 10:16:30 +0200 Subject: Fix font --- netlify.toml | 4 ++++ nuxt.config.js | 69 ++++++++++++++++++++++++++++++---------------------------- 2 files changed, 40 insertions(+), 33 deletions(-) create mode 100644 netlify.toml (limited to 'nuxt.config.js') diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..3a88ace --- /dev/null +++ b/netlify.toml @@ -0,0 +1,4 @@ +[build] + +publish = "dist/" +command = "npm run generate" \ No newline at end of file diff --git a/nuxt.config.js b/nuxt.config.js index 48f1978..850042e 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,61 +1,64 @@ - export default { mode: 'universal', /* - ** Headers of the page - */ + ** Headers of the page + */ head: { title: process.env.npm_package_name || '', meta: [ { charset: 'utf-8' }, { name: 'viewport', content: 'width=device-width, initial-scale=1' }, - { hid: 'description', name: 'description', content: process.env.npm_package_description || '' } + { + hid: 'description', + name: 'description', + content: process.env.npm_package_description || '' + } ], link: [ - { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } + { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }, + { + href: + 'https://fonts.googleapis.com/css?family=Roboto+Slab&display=swap', + rel: 'stylesheet' + } ] }, /* - ** Customize the progress-bar color - */ + ** Customize the progress-bar color + */ loading: { color: '#fff' }, /* - ** Global CSS - */ - css: [ - ], + ** Global CSS + */ + css: [], /* - ** Plugins to load before mounting the App - */ - plugins: [ - ], + ** Plugins to load before mounting the App + */ + plugins: [], /* - ** Nuxt.js dev-modules - */ - buildModules: [ - ], + ** Nuxt.js dev-modules + */ + buildModules: [], /* - ** Nuxt.js modules - */ + ** Nuxt.js modules + */ modules: [ // Doc: https://axios.nuxtjs.org/usage '@nuxtjs/axios', - '@nuxtjs/pwa', + '@nuxtjs/pwa' ], /* - ** Axios module configuration - ** See https://axios.nuxtjs.org/options - */ - axios: { - }, + ** Axios module configuration + ** See https://axios.nuxtjs.org/options + */ + axios: {}, /* - ** Build configuration - */ + ** Build configuration + */ build: { /* - ** You can extend webpack config here - */ - extend (config, ctx) { - } + ** You can extend webpack config here + */ + extend(config, ctx) {} } } -- cgit 1.4.1 From b9e49f451a3f45928b4377c7c056168e220adbd6 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 30 Aug 2019 10:23:27 +0200 Subject: Update icon --- nuxt.config.js | 2 +- static/_redirects | 1 - static/icon.png | Bin 28393 -> 80453 bytes 3 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 static/_redirects (limited to 'nuxt.config.js') diff --git a/nuxt.config.js b/nuxt.config.js index 850042e..fedf362 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -4,7 +4,7 @@ export default { ** Headers of the page */ head: { - title: process.env.npm_package_name || '', + title: '19 PDH Puszcza', meta: [ { charset: 'utf-8' }, { name: 'viewport', content: 'width=device-width, initial-scale=1' }, diff --git a/static/_redirects b/static/_redirects deleted file mode 100644 index 50a4633..0000000 --- a/static/_redirects +++ /dev/null @@ -1 +0,0 @@ -/* /index.html 200 \ No newline at end of file diff --git a/static/icon.png b/static/icon.png index be83e65..8cd9c6f 100644 Binary files a/static/icon.png and b/static/icon.png differ -- cgit 1.4.1 From f0d5b38eb23e85e993bf040f7e84c5b6b16d7566 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 30 Aug 2019 15:06:49 +0200 Subject: Add google site verification --- nuxt.config.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nuxt.config.js') diff --git a/nuxt.config.js b/nuxt.config.js index fedf362..b2ce49d 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -12,6 +12,10 @@ export default { hid: 'description', name: 'description', content: process.env.npm_package_description || '' + }, + { + name: 'google-site-verification', + content: 'V9-RG4-ertDzO9hqxuG29PkDUM8PGqaSOYUMiMaGUOY' } ], link: [ -- cgit 1.4.1