diff --git a/assets/icons/npm.svg b/assets/icons/npm.svg new file mode 100644 index 0000000..4c70922 --- /dev/null +++ b/assets/icons/npm.svg @@ -0,0 +1 @@ + diff --git a/components/GButton.vue b/components/GButton.vue index 5456253..e9dc087 100644 --- a/components/GButton.vue +++ b/components/GButton.vue @@ -6,9 +6,11 @@ justify-content: center; align-items: center; - padding: 10px 20px; + padding: 8px 15px; border-radius: 4px; + height: 42px; + text-decoration: none; color: $blue; @@ -24,24 +26,18 @@ font-size: 1.2rem; } - .button__prefix { + .button__prefix > * { position: relative; top: 2px; - - & > *:last-child { - margin-right: 6px; - width: 20px; - } + margin-right: 6px; + width: 20px; } - .button__suffix { + .button__suffix > * { position: relative; top: 2px; - - & > *:first-child { - margin-left: 6px; - width: 20px; - } + margin-left: 6px; + width: 20px; } diff --git a/components/pages/projects/GProject.vue b/components/pages/projects/GProject.vue index 2e60c28..00103e2 100644 --- a/components/pages/projects/GProject.vue +++ b/components/pages/projects/GProject.vue @@ -21,6 +21,12 @@ + + NPM + + @@ -29,7 +35,7 @@ @import "~@/assets/css/variables"; .project__type { - margin-top: -1.2rem; + margin-top: -1rem; margin-bottom: 1rem; display: block; } @@ -50,7 +56,6 @@ .project__buttons { display: flex; - align-items: center; } .project__button { @@ -68,11 +73,12 @@