{{tabs[index].title}}
+
{{tabs[index].title}}
+
+
+
@@ -74,9 +79,12 @@ export default {
};
},
methods: {
+ close() {
+ this.$store.dispatch("setUserInformationPopout", null);
+ },
backgroundClickEvent(event) {
if (event.target.classList.contains("drop-background")) {
- this.$store.dispatch("setUserInformationPopout", null);
+ this.close();
}
},
async AddFriendButton() {
@@ -182,6 +190,7 @@ export default {
flex-direction: row;
background: rgba(22, 22, 22, 0.853);
border-radius: 10px;
+ position: relative;
}
.spinner {
@@ -389,9 +398,32 @@ export default {
background: rgb(255, 53, 53);
border-radius: 5px;
}
-@media (max-width: 352px) {
+
+.back-button {
+ display: flex;
+ position: absolute;
+ left: 20px;
+ top: 20px;
+ cursor: pointer;
+ height: 30px;
+ width: 30px;
+ border-radius: 50%;
+ flex-shrink: 0;
+ justify-content: center;
+ align-items: center;
+ align-content: center;
+ transition: 0.2s;
+ user-select: none;
+}
+.back-button:hover {
+ background: rgba(49, 49, 49, 0.712);
+}
+@media (max-width: 432px) {
.box {
width: 100%;
+ height: 100%;
+ max-height: initial;
+ border-radius: 0;
}
}
diff --git a/src/components/app/Tabs/Explore.vue b/src/components/app/Tabs/Explore.vue
index d8f6075..e6f2b54 100644
--- a/src/components/app/Tabs/Explore.vue
+++ b/src/components/app/Tabs/Explore.vue
@@ -1,6 +1,9 @@
-
+
explore
@@ -43,6 +46,7 @@ export default {
components: { Servers },
data() {
return {
+ showLeftPanel: false,
selectedTab: 0,
tabs: [
// {icon: "home", name: "home", component: ""},
@@ -54,7 +58,15 @@ export default {
};
},
mounted() {},
- methods: {},
+ methods: {
+ hideLeftPanel(event) {
+ if (this.showLeftPanel) {
+ if (event.target.closest(".show-menu-button") == null) {
+ this.showLeftPanel = false;
+ }
+ }
+ }
+ },
computed: {}
};
diff --git a/src/utils/changelog.js b/src/utils/changelog.js
index 36491bd..d12fcd2 100644
--- a/src/utils/changelog.js
+++ b/src/utils/changelog.js
@@ -14,12 +14,20 @@
const config = [
+ {
+ version: 6.8,
+ title: "New Explore tab!",
+ shortTitle: "",
+ date: "01/09/2019",
+ headColor: "rgba(25, 130, 255, 0.77)",
+ new: ['You can now make your servers go public by posting them in the explore tab.', 'Some pop ups have been improved for mobile users.',],
+ fix: ['Some bugs have been fixed.']
+ },
{
version: 6.6,
title: "Performance improvements",
shortTitle: "",
date: "29/08/2019",
- headColor: "rgba(25, 130, 255, 0.77)",
new: ['Sneak peak of the new "Explore" tab :D (Unfinished)'],
fix: [
'Improved backend code. This should improve performance.',