HEX
Server: LiteSpeed
System: Linux houston.panomity.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: nudepix (1011)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //tmp/HomeSeoMeta.jsx
import { useEffect } from 'react';

const faqRows = [
  {
    q: 'Wie schnell bekomme ich ehrliches Profilbild-Feedback?',
    a: 'Meistens innerhalb weniger Minuten – je nach Thema, ob du den Invite-Link früh teilst und wie klar der Aufruf ist.'
  },
  {
    q: 'Kann ich ohne Konto ein Feedback starten?',
    a: 'Ja. Du kannst direkt hochladen, den Invite-Link teilen und anschließend entscheiden, ob du dich anmeldest.'
  },
  {
    q: 'Worauf sollten gute Fotos achten?',
    a: 'Gute Belichtung, klarer Gesichtsausdruck, neutraler Hintergrund und ein realistischer Zuschnitt helfen, schnelleres Feedback zu bekommen.'
  }
];

const buildStructured = () => ([
  {
    '@context': 'https://schema.org',
    '@type': 'WebSite',
    name: 'bewertemich.de',
    url: 'https://bewertemich.de/'
  },
  {
    '@context': 'https://schema.org',
    '@type': 'FAQPage',
    mainEntity: faqRows.map((item) => ({
      '@type': 'Question',
      name: item.q,
      acceptedAnswer: {
        '@type': 'Answer',
        text: item.a
      }
    }))
  }
]);

export const HomeSeoMeta = () => {
  useEffect(() => {
    document.title = 'bewertemich.de | Profilbild-Feedback in Minuten';

    let descriptionTag = document.querySelector('meta[name="description"]');
    if (!descriptionTag) {
      descriptionTag = document.createElement('meta');
      descriptionTag.setAttribute('name', 'description');
      document.head.appendChild(descriptionTag);
    }
    descriptionTag.setAttribute(
      'content',
      'Teste mehrere Profilbilder, sammle Stimmen, vergleiche Varianten und steigere die Wirkung mit echtem, anonymem Feedback aus der Community.'
    );

    let canonical = document.querySelector('link[rel=canonical]');
    if (!canonical) {
      canonical = document.createElement('link');
      canonical.setAttribute('rel', 'canonical');
      document.head.appendChild(canonical);
    }
    canonical.setAttribute('href', 'https://bewertemich.de/');

    let jsonLd = document.getElementById('home-structured-data');
    if (!jsonLd) {
      jsonLd = document.createElement('script');
      jsonLd.setAttribute('id', 'home-structured-data');
      jsonLd.setAttribute('type', 'application/ld+json');
      document.head.appendChild(jsonLd);
    }
    jsonLd.textContent = JSON.stringify(buildStructured());
  }, []);

  return null;
};