Skip to content

Commit

Permalink
dddraft is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
kkosuge committed Nov 11, 2018
1 parent e79482b commit 6541bfa
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
</div>
</div>
<Preferences v-if="sharedState.showPreferences"></Preferences>
<EditaroUpdateNotification></EditaroUpdateNotification>
</div>
</template>

Expand All @@ -53,11 +54,13 @@ import languages from './lib/languages'
import './assets/style.scss'
import { initVimMode } from 'monaco-vim'
import Preferences from './components/Preferences.vue'
import EditaroUpdateNotification from './components/EditaroUpdateNotification.vue'
import store, { SharedState } from './store'
@Component({
components: {
Preferences,
EditaroUpdateNotification,
},
})
export default class App extends Vue {
Expand Down
34 changes: 34 additions & 0 deletions src/components/EditaroUpdateNotification.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<template>
<div id="editaro-update-notification">
<a href="https://editaro.com" target="_blank">
dddraft は「エディ太郎」に変わりました。大変お手数ですが、再インストールが必要です。
</a>
</div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
@Component
export default class extends Vue {}
</script>

<style lang='scss'>
#editaro-update-notification {
position: fixed;
left: 0;
right: 0;
bottom: 22px;
z-index: 1002;
font-size: 12px;
background: #f44336;
color: #fff;
text-align: center;
a {
color: #fff;
display: block;
padding: 8px 22px;
text-decoration: none;
}
}
</style>

0 comments on commit 6541bfa

Please sign in to comment.