Skip to content

Commit

Permalink
update useHead
Browse files Browse the repository at this point in the history
  • Loading branch information
swantzter committed Jul 10, 2023
1 parent 2a93e12 commit f65bf10
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
5 changes: 5 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,15 @@
import { computed } from 'vue'
import { useRoute } from 'vue-router'
import { useLocalStorage } from '@vueuse/core'
import { useHead } from '@vueuse/head'
import { ButtonLink, TextButton } from '@ropescore/components'
import SystemSettingsFooter from './components/SystemSettingsFooter.vue'
useHead({
titleTemplate: title => !title ? 'RopeScore Live' : `${title} | RopeScore Live`
})
const route = useRoute()
const fullscreen = computed(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/views/DeviceStreamLive.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import TimingLiveScore from '../components/TimingLiveScore.vue'
import UnsupportedCompetitionEvent from '../components/UnsupportedCompetitionEvent.vue'
useHead({
title: 'Device Stream (Live) | RopeScore Live'
title: '📺 Device Stream (Live)'
})
const auth = useAuth()
Expand Down
2 changes: 1 addition & 1 deletion src/views/DeviceStreamSetup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ import { TextButton, TextField, SelectField, ButtonLink } from '@ropescore/compo
import IconLoading from 'virtual:icons/mdi/loading'
useHead({
title: 'Device Stream | RopeScore Live'
title: 'Device Stream'
})
const auth = useAuth()
Expand Down
2 changes: 1 addition & 1 deletion src/views/Groups.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ import { useHead } from '@vueuse/head'
import { ButtonLink } from '@ropescore/components'
useHead({
title: 'Groups | RopeScore Live'
title: 'Groups'
})
const auth = useAuth()
Expand Down
5 changes: 0 additions & 5 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@
import { useSW } from '../hooks/sw'
import { TextButton, ButtonLink } from '@ropescore/components'
import { useHead } from '@vueuse/head'
useHead({
title: 'RopeScore Live'
})
const { needRefresh, updateSW } = useSW()
</script>
2 changes: 1 addition & 1 deletion src/views/Live.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import UnsupportedCompetitionEvent from '../components/UnsupportedCompetitionEve
import { useHead } from '@vueuse/head'
useHead({
title: 'Competition (Live) | RopeScore Live'
title: '📺 Competition (Live)'
})
const auth = useAuth()
Expand Down
2 changes: 1 addition & 1 deletion src/views/NextUp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import EntryInfoCard from '../components/EntryInfoCard.vue'
import { useHead } from '@vueuse/head'
useHead({
title: 'Competition (Next Up) | RopeScore Live'
title: '📺 Competition (Next Up)'
})
const auth = useAuth()
Expand Down
2 changes: 1 addition & 1 deletion src/views/OnFloor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ import { useHead } from '@vueuse/head'
import { formatList } from '../helpers'

useHead({
title: 'Competition (On Floor) | RopeScore Live'
title: '📺 Competition (On Floor)'
})

const auth = useAuth()
Expand Down
2 changes: 1 addition & 1 deletion src/views/PodiumConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ import { TextButton, SelectField, ButtonLink } from '@ropescore/components'
import { useHead } from '@vueuse/head'
useHead({
title: 'Podium | RopeScore Live'
title: 'Podium'
})
const bc = new BroadcastChannel('rs-podium')
Expand Down
2 changes: 1 addition & 1 deletion src/views/PodiumLive.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { ref } from 'vue'
import { useHead } from '@vueuse/head'
useHead({
title: 'Podium (Live) | RopeScore Live'
title: '📺 Podium (Live)'
})
const bc = new BroadcastChannel('rs-podium')
Expand Down

0 comments on commit f65bf10

Please sign in to comment.