From b4cfa527135f83b8f60fde4178db75142e9378fd Mon Sep 17 00:00:00 2001 From: Alessandro Jean Date: Tue, 24 Sep 2019 18:58:13 -0300 Subject: [PATCH] Create custom theme. --- package-lock.json | 41 +++- src/.vuepress/theme/components/Home.vue | 254 ++++++++++++++++++++++++ src/.vuepress/theme/index.js | 3 + 3 files changed, 287 insertions(+), 11 deletions(-) create mode 100644 src/.vuepress/theme/components/Home.vue create mode 100644 src/.vuepress/theme/index.js diff --git a/package-lock.json b/package-lock.json index 0c03c409..7675fdee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4263,7 +4263,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -4284,12 +4285,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -4304,17 +4307,20 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -4431,7 +4437,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -4443,6 +4450,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -4457,6 +4465,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -4464,12 +4473,14 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "minipass": { "version": "2.3.5", "bundled": true, "dev": true, + "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -4488,6 +4499,7 @@ "version": "0.5.1", "bundled": true, "dev": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -4568,7 +4580,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -4580,6 +4593,7 @@ "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "wrappy": "1" } @@ -4665,7 +4679,8 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -4701,6 +4716,7 @@ "version": "1.0.2", "bundled": true, "dev": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -4720,6 +4736,7 @@ "version": "3.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -4763,12 +4780,14 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, diff --git a/src/.vuepress/theme/components/Home.vue b/src/.vuepress/theme/components/Home.vue new file mode 100644 index 00000000..128fba07 --- /dev/null +++ b/src/.vuepress/theme/components/Home.vue @@ -0,0 +1,254 @@ + + + + + diff --git a/src/.vuepress/theme/index.js b/src/.vuepress/theme/index.js new file mode 100644 index 00000000..ba95b2af --- /dev/null +++ b/src/.vuepress/theme/index.js @@ -0,0 +1,3 @@ +module.exports = { + extend: '@vuepress/theme-default' +};