Add hero section to home page with scroll collapse
Some checks failed
Build Docker Image / build (push) Failing after 50s

- Full-screen dark gradient hero on home page
- Search input centered vertically
- Smooth collapse to fixed header on scroll
- Added hero translations (ru/en)
This commit is contained in:
Ruslan Bakiev
2026-01-26 16:12:00 +07:00
parent f973784257
commit cecbed99b5
5 changed files with 320 additions and 48 deletions

View File

@@ -20,7 +20,7 @@ export default defineNuxtConfig({
defaultLocale: 'ru',
// @ts-expect-error lazy is a valid option but missing from types
lazy: true,
langDir: 'locales',
langDir: 'i18n/locales',
locales: [
{
code: 'ru',
@@ -55,6 +55,7 @@ export default defineNuxtConfig({
'ru/footer.json',
'ru/ganttTimeline.json',
'ru/goods.json',
'ru/hero.json',
'ru/howto.json',
'ru/kyc.json',
'ru/kycOverview.json',
@@ -117,6 +118,7 @@ export default defineNuxtConfig({
'en/footer.json',
'en/ganttTimeline.json',
'en/goods.json',
'en/hero.json',
'en/howto.json',
'en/kyc.json',
'en/kycOverview.json',