diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2025-01-20 13:22:57 +0000 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2025-01-20 13:22:57 +0000 |
| commit | 38f49e94cfe2a0340a30919a8ce02f40cef31706 (patch) | |
| tree | cb02cb16cc9b29d01e9125566556bc1d0b50c2f3 /components | |
| parent | e8f15e5a9e329bfc519cd8a271f3ed6ab6835646 (diff) | |
PWA-ify
Diffstat (limited to 'components')
| -rw-r--r-- | components/Input.vue | 6 | ||||
| -rw-r--r-- | components/Nav.vue | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/components/Input.vue b/components/Input.vue index 8923a97..b541566 100644 --- a/components/Input.vue +++ b/components/Input.vue @@ -47,6 +47,11 @@ export default { required: false, default: false, }, + readonly: { + type: Boolean, + required: false, + default: false, + }, inputClass: { type: String, required: false, @@ -66,6 +71,7 @@ export default { :placeholder="placeholder" :disabled="disabled" :required="required" + :readonly="readonly" /> </template> diff --git a/components/Nav.vue b/components/Nav.vue index 872d791..6ab4c9f 100644 --- a/components/Nav.vue +++ b/components/Nav.vue @@ -26,7 +26,7 @@ route.afterEach(() => { <ul class="nav-list"> <li v-for="item in navList" :key="item.title" :class="{ active: $route.path === item.path }"> <NuxtLink :to="item.path"> - <span>{{ item.title }}</span> <Spinner v-if="item.navigating" color="var(--color-text-muted)" size="16"/></NuxtLink> + <span>{{ item.title }}</span> <Spinner v-if="item.navigating" color="var(--color-text-muted)" :size="16"/></NuxtLink> </li> </ul> |
