Files
sag24-website/README.md

55 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# sag24-website
Сайт sag24.ru — IT-аутсорсинг «Сисадмингрупп» (Пушкино, МО).
## Стек
- **Next.js 15** + TypeScript + App Router
- **Static export** (`output: 'export'`, `trailingSlash: true`)
- **Tailwind CSS v3** — конфиг: `tailwind.config.js` (не .ts!)
- **i18n**: `[lang]` сегмент (`/ru/...`, `/en/...`)
- **Шрифт**: Manrope (`next/font/google`)
## Страницы
```
/ru/ → Главная
/ru/uslugi/ → Каталог услуг
/ru/uslugi/[slug]/ → 8 страниц услуг
/ru/about/ → О компании
/ru/clients/ → Клиенты
/ru/partners/ → Партнёры
/ru/faq/ → FAQ
/ru/kontakty/ → Контакты
/en/... → Аналогично
```
## Деплой
```bash
# Локально:
git add . && git commit -m "..." && git push
# На сервере (str-u-01.striker.su):
ssh -i ~/.ssh/id_ed25519_hhivp striker@str-u-01.striker.su 'cat <<XEOF | sudo -S bash
Gh_lpx2018!
cd /opt/www/sag24.ru/repo && git pull && npm run deploy
XEOF'
```
`npm run deploy` = `BUILD_DIR=../public_html next build && node scripts/indexnow.mjs`
После деплоя автоматически отправляется уведомление в IndexNow (Yandex + api.indexnow.org).
## Локали
`src/locales/ru.ts` и `en.ts` — весь текстовый контент.
## SEO
- GA4: G-C9J0D8FFH3
- Yandex.Metrika: 97525679
- IndexNow key: 40c65b722891b81d944f2c3fea6cab95
- BreadcrumbList JSON-LD на всех страницах (`src/lib/breadcrumbs.ts`)
- sitemap.xml: 36 URLs