Last change
on this file since 35716 was 35715, checked in by cstephen, 2 years ago |
Add support for basic direct input macronisation
|
File size:
1.9 KB
|
Line | |
---|
1 | <template>
|
---|
2 | <div class="app-bar theme-primary">
|
---|
3 | <div class="app-bar-content">
|
---|
4 | <span class="heading1">{{ translations.get("Title") }}</span>
|
---|
5 |
|
---|
6 | <a class="btn-primary theme-primary-l1" href="http://www.maramatanga.co.nz" target="_blank">
|
---|
7 | <span class="material-icons mdi-m">open_in_new</span>
|
---|
8 | <u>NgÄ Pae o te MÄramatanga (Replace with image)</u>
|
---|
9 | </a>
|
---|
10 | </div>
|
---|
11 | </div>
|
---|
12 |
|
---|
13 | <div class="paper content">
|
---|
14 | <DirectInput />
|
---|
15 | </div>
|
---|
16 |
|
---|
17 | <!-- <ul id="transcription-list" class="list-view content">
|
---|
18 | <transition-group name="transcription-list">
|
---|
19 | <li class="list-item transcription-list-item" v-for="[id, transcription] in transcriptions" :key="id">
|
---|
20 | <TranscriptionItem :transcription="transcription" />
|
---|
21 | </li>
|
---|
22 | </transition-group>
|
---|
23 | </ul> -->
|
---|
24 | </template>
|
---|
25 |
|
---|
26 | <style lang="scss">
|
---|
27 | #transcription-list {
|
---|
28 | margin-bottom: 1em;
|
---|
29 | }
|
---|
30 |
|
---|
31 | .app-bar {
|
---|
32 | display: flex;
|
---|
33 | flex-direction: column;
|
---|
34 | gap: 1em;
|
---|
35 |
|
---|
36 | background-color: var(--bg-color);
|
---|
37 | color: var(--fg-color);
|
---|
38 | box-shadow: 0px 0px 4px 3px #6d6d6d;
|
---|
39 |
|
---|
40 | padding: 1em;
|
---|
41 | margin-bottom: 1em;
|
---|
42 | }
|
---|
43 |
|
---|
44 | .app-bar-content {
|
---|
45 | display: flex;
|
---|
46 | align-items: center;
|
---|
47 | gap: 1em;
|
---|
48 |
|
---|
49 | width: 100%;
|
---|
50 |
|
---|
51 | & :first-child {
|
---|
52 | flex-grow: 1;
|
---|
53 | }
|
---|
54 | }
|
---|
55 |
|
---|
56 | .content {
|
---|
57 | margin: 1em;
|
---|
58 | }
|
---|
59 |
|
---|
60 | // .transcription-list-item {
|
---|
61 | // transition: all 0.8s ease;
|
---|
62 | // margin-bottom: 1em;
|
---|
63 |
|
---|
64 | // &:last-child {
|
---|
65 | // margin-bottom: 0;
|
---|
66 | // }
|
---|
67 | // }
|
---|
68 |
|
---|
69 | // .transcription-list-leave-to {
|
---|
70 | // opacity: 0;
|
---|
71 | // }
|
---|
72 |
|
---|
73 | // .transcription-list-leave-active {
|
---|
74 | // position: absolute;
|
---|
75 | // }
|
---|
76 | </style>
|
---|
77 |
|
---|
78 | <script>
|
---|
79 | import { mapState } from "vuex";
|
---|
80 | import DirectInput from "./components/DirectInput.vue"
|
---|
81 |
|
---|
82 | export default {
|
---|
83 | name: "App",
|
---|
84 | components: {
|
---|
85 | DirectInput
|
---|
86 | },
|
---|
87 | computed: mapState({
|
---|
88 | translations: state => state.translations
|
---|
89 | })
|
---|
90 | }
|
---|
91 | </script>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.