diff --git a/src/pages/GuestJoin.jsx b/src/pages/GuestJoin.jsx index 8d3a401..70e6078 100644 --- a/src/pages/GuestJoin.jsx +++ b/src/pages/GuestJoin.jsx @@ -1,16 +1,18 @@ import { useState, useEffect } from 'react'; import { useParams, Link } from 'react-router-dom'; -import { Video, User, Lock, Shield, ArrowRight, Loader2, Users, Radio, AlertCircle } from 'lucide-react'; +import { Video, User, Lock, Shield, ArrowRight, Loader2, Users, Radio, AlertCircle, FileText } from 'lucide-react'; import BrandLogo from '../components/BrandLogo'; import api from '../services/api'; import toast from 'react-hot-toast'; import { useLanguage } from '../contexts/LanguageContext'; import { useAuth } from '../contexts/AuthContext'; +import { useBranding } from '../contexts/BrandingContext'; export default function GuestJoin() { const { uid } = useParams(); const { t } = useLanguage(); const { user } = useAuth(); + const { imprintUrl, privacyUrl } = useBranding(); const isLoggedIn = !!user; const [roomInfo, setRoomInfo] = useState(null); const [loading, setLoading] = useState(true); @@ -260,6 +262,36 @@ export default function GuestJoin() { )} + + {(imprintUrl || privacyUrl) && ( +
{t('home.footer', { year: new Date().getFullYear() })}
+ {(imprintUrl || privacyUrl) && ( +