erranova commited on
Commit
a2f20a4
·
verified ·
1 Parent(s): 2d04abf

Update frontend/src/views/HomeView.vue

Browse files
Files changed (1) hide show
  1. frontend/src/views/HomeView.vue +12 -7
frontend/src/views/HomeView.vue CHANGED
@@ -36,8 +36,6 @@
36
  <!-- Hero -->
37
  <section class="hero">
38
  <div class="hero-content">
39
-
40
-
41
  <h1 ref="titleEl">
42
  {{ t('hero.title1') }}<br>
43
  <em class="gold-text">{{ t('hero.title2') }}</em><br>
@@ -240,9 +238,8 @@ onMounted(async () => {
240
  .lang-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }
241
 
242
  /* Nav button */
243
- .nav .btn-primary { background: transparent; border: 1.5px solid rgba(201,168,76,0.5); color: var(--gold); }
244
- .nav .btn-primary::after { background: var(--gold); }
245
- .nav .btn-primary:hover span { color: var(--ink); }
246
 
247
  /* Hero */
248
  .hero { min-height: 100vh; display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 120px 40px 80px; position: relative; z-index: 1; gap: 60px; }
@@ -328,6 +325,7 @@ h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 5vw, 4rem)
328
  .footer-logo-img { height: 96px; width: auto; opacity: 0.6; }
329
  .footer-copy { color: rgba(255,255,255,0.3); font-size: 0.85rem; }
330
 
 
331
  @media (max-width: 768px) {
332
  .hero { flex-direction: column; padding: 120px 24px 60px; text-align: center; }
333
  .floating-cards { display: none; }
@@ -343,7 +341,14 @@ h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 5vw, 4rem)
343
  .step-number { left: -48px; width: 40px; height: 40px; font-size: 1.2rem; }
344
  [dir="rtl"] .step-number { left: auto; right: -48px; }
345
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
346
- .nav-inner { padding: 0 20px; }
347
- .lang-btn span { display: none; }
 
 
 
 
 
 
 
348
  }
349
  </style>
 
36
  <!-- Hero -->
37
  <section class="hero">
38
  <div class="hero-content">
 
 
39
  <h1 ref="titleEl">
40
  {{ t('hero.title1') }}<br>
41
  <em class="gold-text">{{ t('hero.title2') }}</em><br>
 
238
  .lang-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.08); }
239
 
240
  /* Nav button */
241
+ .nav .btn-primary { background: transparent; border: 1.5px solid rgba(201,168,76,0.5); color: var(--gold); padding: 10px 20px; border-radius: 10px; display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
242
+ .nav .btn-primary:hover { background: var(--gold); color: #0d1117; }
 
243
 
244
  /* Hero */
245
  .hero { min-height: 100vh; display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 120px 40px 80px; position: relative; z-index: 1; gap: 60px; }
 
325
  .footer-logo-img { height: 96px; width: auto; opacity: 0.6; }
326
  .footer-copy { color: rgba(255,255,255,0.3); font-size: 0.85rem; }
327
 
328
+ /* --- CORRECTIONS MOBILE CI-DESSOUS --- */
329
  @media (max-width: 768px) {
330
  .hero { flex-direction: column; padding: 120px 24px 60px; text-align: center; }
331
  .floating-cards { display: none; }
 
341
  .step-number { left: -48px; width: 40px; height: 40px; font-size: 1.2rem; }
342
  [dir="rtl"] .step-number { left: auto; right: -48px; }
343
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
344
+
345
+ /* --- FIX NAVBAR MOBILE --- */
346
+ .nav-inner { padding: 0 16px; }
347
+ .logo-img { height: 80px; } /* Logo plus petit sur mobile */
348
+ .nav.scrolled .logo-img { height: 60px; }
349
+ .nav-actions { gap: 8px; }
350
+ .lang-btn span { display: none; } /* Cache le mot "Français" */
351
+ .btn-primary { padding: 8px 12px !important; font-size: 0.8rem !important; }
352
+ .btn-primary svg { width: 14px; height: 14px; }
353
  }
354
  </style>