From 62cd00ea7872c63fe992d3052443ab29e5d445ab Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 16 Apr 2018 23:34:37 -0400 Subject: [PATCH] fix: support mailto links in NavLink + style tweaks (close #93) --- docs/README.md | 2 +- lib/default-theme/DropdownLink.vue | 40 +++++++++++++++--------------- lib/default-theme/Home.vue | 16 ++++++------ lib/default-theme/NavLink.vue | 34 +++++++++++++------------ lib/default-theme/NavLinks.vue | 6 ++--- lib/default-theme/util.js | 6 ++++- 6 files changed, 55 insertions(+), 49 deletions(-) diff --git a/docs/README.md b/docs/README.md index 69cec06d80..64b88cee74 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,7 +2,7 @@ home: true heroImage: /hero.png actionText: Get Started → -actionLink: /guide/ +actionLink: https://github.com features: - title: Simplicity First details: Minimal setup with markdown-centered project structure helps you focus on writing. diff --git a/lib/default-theme/DropdownLink.vue b/lib/default-theme/DropdownLink.vue index cd3796ac66..e699de801d 100644 --- a/lib/default-theme/DropdownLink.vue +++ b/lib/default-theme/DropdownLink.vue @@ -15,37 +15,37 @@ class="dropdown-subitem" v-for="childSubItem in subItem.items" :key="childSubItem.link"> - + - +