Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Peng committed Aug 7, 2019
1 parent 0840c9e commit c2f5ad3
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ If you find a bug, or want a new feature added, please submit it on the [Github
7. App should be running in `https://localhost:8080`

EACCESS issue can be resolved by running: `sudo chown -R $(whoami) ~/.npm`
For other issues, try the steps shown here: [https://github.com/MyEtherWallet/MyEtherWallet/issues/1182#issuecomment-506342875](https://github.com/MyEtherWallet/MyEtherWallet/issues/1182#issuecomment-506342875) by @tomwalton78
For other issues, try the steps shown here: <https://github.com/MyEtherWallet/MyEtherWallet/issues/1182#issuecomment-506342875> by @tomwalton78
7 changes: 7 additions & 0 deletions src/builds/configs/base-routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const NotFoundLayout = () => import('@/layouts/NotFoundLayout');
const GettingStarted = () => import('@/layouts/GettingStarted');
const SendOfflineHelper = () => import('@/layouts/SendOfflineHelper');
const VerifyMessageLayout = () => import('@/layouts/VerifyMessageLayout');
const DappSubmission = () => import('@/layouts/DappSubmissionLayout');

const DappsContainer = () =>
import('@/layouts/InterfaceLayout/containers/DappsContainer');
Expand Down Expand Up @@ -90,6 +91,12 @@ const router = [
component: SendOfflineHelper,
meta: { requiresAuth: false }
},
{
path: '/dapp-submission',
name: 'DappSubmission',
component: DappSubmission,
meta: { requiresAuth: false }
},
{
path: '/verify-message',
name: 'VerifyMessageLayout',
Expand Down
7 changes: 6 additions & 1 deletion src/builds/web/app.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
<template>
<div id="app">
<logout-warning-modal ref="logoutWarningModal" />
<header-container v-show="$route.fullPath !== '/getting-started'" />
<header-container
v-show="
$route.fullPath !== '/getting-started' &&
$route.fullPath !== '/dapp-submission'
"
/>
<welcome-modal ref="welcome" />
<router-view />
<footer-container />
Expand Down
4 changes: 4 additions & 0 deletions src/containers/FooterContainer/FooterContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ export default {
{
text: this.$t('footer.verifyMessage'),
to: '/verify-message'
},
{
text: 'Submit Dapp',
to: '/dapp-submission'
}
]
},
Expand Down
1 change: 1 addition & 0 deletions src/layouts/DappSubmissionLayout/DappSubmissionLayout.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import '~@/scss/GlobalVariables';
17 changes: 17 additions & 0 deletions src/layouts/DappSubmissionLayout/DappSubmissionLayout.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<template>
<div class="test-class"></div>
</template>

<script>
export default {
components: {},
data() {
return {};
},
methods: {}
};
</script>

<style lang="scss" scoped>
@import 'DappSubmissionLayout.scss';
</style>
1 change: 1 addition & 0 deletions src/layouts/DappSubmissionLayout/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './DappSubmissionLayout';

1 comment on commit c2f5ad3

@mew-bot
Copy link
Collaborator

@mew-bot mew-bot commented on c2f5ad3 Aug 7, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.