Implementierung von SEO-Inhalten und Anpassung der Benutzeroberfläche für den Single Chat
All checks were successful
Deploy SingleChat / deploy (push) Successful in 41s

This commit is contained in:
Torsten Schulz (local)
2026-08-20 16:16:26 +02:00
parent 83d4d0be38
commit 1f1c788204
5 changed files with 53 additions and 39 deletions

View File

@@ -159,7 +159,7 @@
<span class="app-brand-mark">Y</span>
<div class="app-brand-copy">
<span class="app-brand-eyebrow">YpChat</span>
<h1>Kostenloser Single Chat</h1>
<h1>{{ publicHomeHeading }}</h1>
</div>
</div>
<HeaderAdBanner />
@@ -178,6 +178,7 @@
<script setup>
import { onMounted, computed } from 'vue';
import { useRoute } from 'vue-router';
import { useChatStore } from '../stores/chat';
import MenuBar from '../components/MenuBar.vue';
import UserList from '../components/UserList.vue';
@@ -191,8 +192,15 @@ import ImprintContainer from '../components/ImprintContainer.vue';
import HeaderAdBanner from '../components/HeaderAdBanner.vue';
import VideoDock from '../components/VideoDock.vue';
import FloatingVideoWindow from '../components/FloatingVideoWindow.vue';
import { SEO_HOME_CONTENT } from '../content/seoHome';
const chatStore = useChatStore();
const route = useRoute();
const publicHomeHeading = computed(() => {
const locale = String(route.path || '/').slice(1) || 'de';
return (SEO_HOME_CONTENT[locale] || SEO_HOME_CONTENT.de).heading;
});
const userInitials = computed(() => {
return (chatStore.userName || 'YP')