Add 404 page, three phone numbers, fix nginx try_files

This commit is contained in:
2026-03-14 01:37:23 +03:00
parent fc4c2c6d07
commit 8bfd0d7750
7 changed files with 61 additions and 10 deletions

View File

@@ -4,14 +4,17 @@ import { useLanguage } from '../contexts/LanguageContext.jsx'
export default function Footer() {
const { t } = useLanguage()
const year = new Date().getFullYear()
const phones = t('contact.phones')
return (
<footer className="bg-slate-900 text-slate-400 py-10">
<div className="max-w-6xl mx-auto px-4 sm:px-6 flex flex-col md:flex-row items-center justify-between gap-4">
<span className="text-white font-semibold">Сисадмингрупп</span>
<span className="text-sm">{year} © {t('footer.rights')}</span>
<div className="flex gap-6 text-sm">
<a href="tel:+74953637476" className="hover:text-white transition-colors">+7 495 363-74-76</a>
<div className="flex flex-wrap justify-center gap-x-6 gap-y-1 text-sm">
{phones.map((p, i) => (
<a key={i} href={`tel:${p.replace(/\D/g,'')}`} className="hover:text-white transition-colors">{p}</a>
))}
<a href="mailto:info@sag24.ru" className="hover:text-white transition-colors">info@sag24.ru</a>
</div>
</div>