-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1192 from EthVM/develop
Release v2.1.5
- Loading branch information
Showing
94 changed files
with
1,335 additions
and
529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<template> | ||
<v-snackbar | ||
v-if="store.showPopUp && !store.notification" | ||
v-model="state.showPopup" | ||
location="bottom right" | ||
color="snackbar" | ||
content-class="break-string" | ||
:timeout="-1" | ||
transition="slide-y-reverse-transition" | ||
mode="in-out" | ||
rounded="lg" | ||
:close-on-back="false" | ||
> | ||
<!-- | ||
Change below content to display different message in case of promo | ||
--> | ||
<v-row align="center" justify="start" class="pa-4 pa-sm-6 flex-sm-nowrap ma-n3" no-gutters> | ||
<v-col cols="10" sm="auto" order="1" class="flex-shrink-1 flex-grow-0"> | ||
<p class="text-body-1">Help us make an awesome user friendly product</p> | ||
</v-col> | ||
<v-col cols="auto" order="3" orde-sm="2"> | ||
<v-btn | ||
text="Take a quick survey" | ||
min-width="186" | ||
height="40px" | ||
color="secondary" | ||
rounded="pill" | ||
variant="flat" | ||
class="mt-5 mt-sm-0 ml-sm-5 mr-sm-3" | ||
href="https://mewwallet.typeform.com/ethvm" | ||
target="_blank" | ||
></v-btn> | ||
</v-col> | ||
<v-col cols="2" sm="auto" order="2" order-sm="3" class="d-flex align-center justify-end d-sm-block"> | ||
<v-btn icon height="34px" width="34px" color="snackbar" variant="flat" @click.stop="closePopUp()"> | ||
<v-icon icon="close" class="white--text" size="22px"></v-icon> | ||
</v-btn> | ||
</v-col> | ||
</v-row> | ||
</v-snackbar> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { reactive, watch, onMounted, onBeforeUnmount } from 'vue' | ||
import { useStore } from '@/store' | ||
import { useTimeoutFn } from '@vueuse/core' | ||
const store = useStore() | ||
interface StateType { | ||
showPopup: boolean | ||
} | ||
const state = reactive<StateType>({ | ||
showPopup: false | ||
}) | ||
const { start, stop } = useTimeoutFn(() => { | ||
state.showPopup = true | ||
}, 5000) | ||
stop() | ||
watch( | ||
() => store.showPopUp, | ||
newVal => { | ||
if (newVal === undefined) { | ||
state.showPopup = false | ||
stop() | ||
} else { | ||
if (store.showPopUp) { | ||
start() | ||
} else { | ||
stop() | ||
} | ||
} | ||
} | ||
) | ||
/** | ||
* Shows promo popup on mounted | ||
* NOTE: promo will be hidden while store notification is active | ||
*/ | ||
onMounted(() => { | ||
if (store.showPopUp) { | ||
start() | ||
} | ||
}) | ||
onBeforeUnmount(() => { | ||
stop() | ||
}) | ||
const closePopUp = () => { | ||
store.setPopup(false) | ||
state.showPopup = false | ||
} | ||
</script> | ||
<style lang="scss"> | ||
.v-snackbar__wrapper { | ||
border-bottom: 3px solid rgb(var(--v-theme-secondary)); | ||
min-width: 300px; | ||
} | ||
</style> |
Oops, something went wrong.
9153e55
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy of this build can be found at
https://sepolia.ethvm.com
Virus Total analysis
https://www.virustotal.com/gui/file/58e43475f3e4faadc6282b726383d7608a9378d128cd152a53aad409d987a37c/detection/f-58e43475f3e4faadc6282b726383d7608a9378d128cd152a53aad409d987a37c-1690228450
9153e55
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy of this build can be found at
https://staging.ethvm.dev
Virus Total analysis
https://www.virustotal.com/gui/file/9f289e9d1b67003996765e4df827fd9a43bf62d9d9b1a60eed4a3c65b965fe1b/detection/f-9f289e9d1b67003996765e4df827fd9a43bf62d9d9b1a60eed4a3c65b965fe1b-1690228454
9153e55
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy of this build can be found at
https://www.ethvm.com
Virus Total analysis
https://www.virustotal.com/gui/file/103798a714c84b23cad3c49a6651e748fe9523e6915f701eee0a4ec7d70267ff/detection/f-103798a714c84b23cad3c49a6651e748fe9523e6915f701eee0a4ec7d70267ff-1690228962