From 9f6caf26af8be9c9e9f534e22aac9e03a43eaf72 Mon Sep 17 00:00:00 2001 From: supertiger1234 Date: Thu, 19 Sep 2019 19:49:44 +0100 Subject: [PATCH] added nertivia and support card in the explore tab --- src/components/app/Tabs/Explore.vue | 123 ++++++++++++++++++++++++++-- 1 file changed, 115 insertions(+), 8 deletions(-) diff --git a/src/components/app/Tabs/Explore.vue b/src/components/app/Tabs/Explore.vue index e6f2b54..b50bbc5 100644 --- a/src/components/app/Tabs/Explore.vue +++ b/src/components/app/Tabs/Explore.vue @@ -14,17 +14,33 @@
-
+ @click="selectedTab = index"> {{tab.icon}} {{tab.name}}
+ +
+
close
+ + +
+ + + +
{{tabs[selectedTab].icon}}{{tabs[selectedTab].name}}
@@ -42,11 +58,12 @@ @@ -88,6 +131,8 @@ export default { flex-shrink: 0; .items { user-select: none; + height: 100%; + overflow: auto; .item { .material-icons { margin-right: 5px; @@ -114,6 +159,7 @@ export default { height: 100px; background: rgba(0, 0, 0, 0.226); user-select: none; + flex-shrink: 0; .icon { display: flex; flex-direction: column; @@ -151,6 +197,67 @@ export default { } } } + + +.card { + background: black; + height: 200px; + border-radius: 5px; + margin: 5px; + padding: 10px; + display: flex; + flex-direction: column; + justify-content: center; + align-content: center; + align-items: center; + position: relative; + .title { + text-align: center; + } + .button { + background-color: rgba(0, 0, 0, 0.200); + border-radius: 5px; + padding: 5px; + font-size: 20px; + margin-top: 15px; + cursor: pointer; + transition: 0.3s; + color: rgba(255, 255, 255, 0.924); + &:hover { + background-color: rgba(0, 0, 0, 0.300); + } + } + .close-btn { + position: absolute; + top: 15px; + right: 15px; + cursor: pointer; + } + &.self-promo{ + .logo { + background-image: url('../../../assets/logo.png'); + background-size: cover; + height: 100px; + width: 100px; + margin-bottom: 10px; + } + margin-top: 50px; + background: #3fa9f5; + } + &.donate-paypal { + margin-top: 20px; + background: #f53f3f; + .title { + font-size: 15px; + opacity: 0.9; + } + .heart { + font-size: 60px; + margin-bottom: 10px; + } + + } +} .coming-soon { display: flex; align-items: center;