diff --git a/apps/dockyard/src/modules/resume/index.ejs b/apps/dockyard/src/modules/resume/index.ejs index 1f2aa2c..52ead4f 100644 --- a/apps/dockyard/src/modules/resume/index.ejs +++ b/apps/dockyard/src/modules/resume/index.ejs @@ -192,15 +192,8 @@ <% page.portfolio.forEach(function(item) { %>
-
- - - - - - - - +
+

<%- item.iconSVG %>

diff --git a/apps/dockyard/src/modules/resume/index.less b/apps/dockyard/src/modules/resume/index.less index f2b293b..f1a579c 100644 --- a/apps/dockyard/src/modules/resume/index.less +++ b/apps/dockyard/src/modules/resume/index.less @@ -336,42 +336,11 @@ main { .portfolio { .magic-cards { .card { - &:hover { - .card-image { - background-size: 120% 120%; - - >span { - - opacity: .5; - visibility: inherit; - } - } - } - .card-image { - background-size: 100% 100%; - background-repeat: no-repeat; - background-position: center; - transition: background-size 0.3s ease-in-out; - border-radius: var(--radius); - - >span { - display: inline-flex; - justify-content: center; - align-items: center; - width: 100%; - height: 100%; - padding: 8px; - border-radius: var(--radius); - visibility: hidden; - opacity: 0; - background: var(--color-bg); - color: var(--color-font); - transition: all .3s ease; - - >svg { - width: 24px; - height: 24px; + h2 { + svg { + width: 6rem; + height: 6rem; } } } diff --git a/test/hexo-test/source/resume/index.md b/test/hexo-test/source/resume/index.md index 1dc512b..25304fe 100644 --- a/test/hexo-test/source/resume/index.md +++ b/test/hexo-test/source/resume/index.md @@ -1,6 +1,7 @@ --- title: resume layout: resume + name: Hi! Mozzie role: Full Stack email: himozzie@gmail.com @@ -49,19 +50,19 @@ projectExp: portfolio: - name: Web Page desc: A responsive modern website built using React - cover: /img/avatar.png + iconSVG: link: https://www.google.com - name: Web Page desc: A responsive modern website built using React - cover: /img/avatar + iconSVG: link: https://www.google.com - name: Web Page desc: A responsive modern website built using React - cover: /img/avatar + iconSVG: link: https://www.google.com - name: Web Page desc: A responsive modern website built using React - cover: /img/avatar + iconSVG: link: https://www.google.com ---