Skip to content

Commit 08edd00

Browse files
committed
chore(web): add dev suffix to titles
1 parent 842dd22 commit 08edd00

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

web/app/app.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
const description = 'Powerful and useful Twitch bot that helps manage chat on big channels. Developed from streamers for streamers with love.'
3-
const siteName = 'Twir'
3+
const siteName = `Twir ${import.meta.dev ? ' dev' : ''}`
44
const keywords = 'twitch, bot, chat, moderation, moderation bot, twitch bot, twitch chat, twitch moderation, twitch moderation bot'
55
66
useColorMode()

web/layers/landing/layouts/default/header.vue

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ onMounted(() => {
1010
const el = document.querySelector('header')
1111
const observer = new IntersectionObserver(
1212
([e]) => {
13-
e.target.classList.toggle('sticky-header', e.intersectionRatio < 1)
13+
e?.target.classList.toggle('sticky-header', e?.intersectionRatio < 1)
1414
},
1515
{ threshold: [1] },
1616
)
1717
1818
observer.observe(el!)
1919
})
20+
21+
const title = `Twir ${import.meta.dev ? 'dev' : ''}`
2022
</script>
2123

2224
<template>
@@ -31,7 +33,7 @@ onMounted(() => {
3133
<div class="flex items-center gap-[4px] divide-x-2">
3234
<NuxtLink to="/" class="flex items-center gap-[12px] cursor-pointer">
3335
<TwirLogo :src="TwirLogo" alt="Twir" class="w-9 h-9" />
34-
<span class="text-2xl font-semibold text-white">Twir</span>
36+
<span class="text-2xl font-semibold text-white">{{ title }}</span>
3537
</NuxtLink>
3638

3739
<div class="bg-red inline-block h-full"></div>

0 commit comments

Comments
 (0)