Add/Improved: account structure
This commit is contained in:
parent
f20d07905a
commit
7b2cef8c62
|
@ -4,6 +4,7 @@
|
|||
<h1>Welcome to TheDesk</h1>
|
||||
<BaseButton @click.native="status = 'login'" class="primary fill">{{ loginButton }}</BaseButton>
|
||||
<BaseButton @click.native="status = 'public_timeline'" class="primary">{{ publicTLButton }}</BaseButton>
|
||||
<BaseButton @click.native="status = 'timeline'" class="primary">{{ TLButton }}</BaseButton>
|
||||
|
||||
<BaseOverlay
|
||||
v-show="status !== 'welcome'"
|
||||
|
@ -19,15 +20,16 @@
|
|||
<script lang="ts">
|
||||
import { Component, Vue } from 'vue-property-decorator'
|
||||
|
||||
//import Login from './Accounts/Login.vue'
|
||||
import PublicTimeline from './AddColumn/PublicTimeline.vue'
|
||||
import Login from './Preference/AccountManager.vue'
|
||||
import Timeline from './Timeliine/Timeliine.vue'
|
||||
import PublicTimeline from './AddColumn/PublicTimeline.vue'
|
||||
|
||||
type Status = 'welcome' | 'login' | 'public_timeline'
|
||||
type Status = 'welcome' | 'login' | 'public_timeline' | 'timeline'
|
||||
|
||||
@Component({
|
||||
components: {
|
||||
Login,
|
||||
Timeline,
|
||||
PublicTimeline,
|
||||
}
|
||||
})
|
||||
|
@ -35,6 +37,7 @@ export default class Welcome extends Vue {
|
|||
public status: Status = 'welcome'
|
||||
public loginButton: string = 'Login'
|
||||
public publicTLButton: string = 'Streaming Public Timeline'
|
||||
public TLButton: string = 'Timeline'
|
||||
}
|
||||
</script>=
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user