diff --git a/.husky/_/commit-msg b/.husky/_/commit-msg index 21c69a4..94647a4 100644 --- a/.husky/_/commit-msg +++ b/.husky/_/commit-msg @@ -1,2 +1,4 @@ #!/usr/bin/env sh -. "${0%/*}/h" \ No newline at end of file +. "$(dirname -- "$0")/husky.sh" + +npx --no-install commitlint --edit $1 \ No newline at end of file diff --git a/.husky/_/pre-commit b/.husky/_/pre-commit index 21c69a4..1bbfe41 100644 --- a/.husky/_/pre-commit +++ b/.husky/_/pre-commit @@ -1,2 +1,5 @@ -#!/usr/bin/env sh -. "${0%/*}/h" \ No newline at end of file +#!/bin/sh + +. "$(dirname "$0")/husky.sh" + +npm run lint-staged \ No newline at end of file diff --git a/src/icons/common.svg b/src/icons/common.svg new file mode 100644 index 0000000..8a9983a --- /dev/null +++ b/src/icons/common.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/form.svg b/src/icons/form.svg new file mode 100644 index 0000000..99d7b4a --- /dev/null +++ b/src/icons/form.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/home.svg b/src/icons/home.svg new file mode 100644 index 0000000..c375e64 --- /dev/null +++ b/src/icons/home.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/set.svg b/src/icons/set.svg new file mode 100644 index 0000000..c0b63e7 --- /dev/null +++ b/src/icons/set.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/switch.svg b/src/icons/switch.svg new file mode 100644 index 0000000..6a63856 --- /dev/null +++ b/src/icons/switch.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/layout/components/Aside/index.vue b/src/layout/components/Aside/index.vue index 081e345..81bbca1 100644 --- a/src/layout/components/Aside/index.vue +++ b/src/layout/components/Aside/index.vue @@ -1,70 +1,60 @@ - - - - - + + + + + diff --git a/src/layout/components/Header/index.vue b/src/layout/components/Header/index.vue index 287c530..9e52412 100644 --- a/src/layout/components/Header/index.vue +++ b/src/layout/components/Header/index.vue @@ -1,225 +1,234 @@ - - - - + + + + diff --git a/src/layout/components/Menu/index.vue b/src/layout/components/Menu/index.vue index 8b80e99..014ea08 100644 --- a/src/layout/components/Menu/index.vue +++ b/src/layout/components/Menu/index.vue @@ -1,7 +1,21 @@ - - - - - + + + + + diff --git a/src/layout/components/Menu/menu-item.vue b/src/layout/components/Menu/menu-item.vue new file mode 100644 index 0000000..f9055bc --- /dev/null +++ b/src/layout/components/Menu/menu-item.vue @@ -0,0 +1,26 @@ + + + + + diff --git a/src/layout/index.vue b/src/layout/index.vue index 3aaf654..052a340 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -5,10 +5,6 @@