| @@ -97,15 +97,15 @@ | ||
| 97 | 97 | text-decoration: none; |
| 98 | 98 | transition: all 0.2s ease; |
| 99 | 99 | } |
| 100 | 100 | .yatra-error-btn-primary { |
| 101 | - background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 101 | + background: linear-gradient(135deg, var(--yatra-primary, #3b82f6) 0%, var(--yatra-primary-dark, #2563eb) 100%); | |
| 102 | 102 | color: #ffffff; |
| 103 | - box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.4); | |
| 103 | + box-shadow: 0 4px 14px 0 color-mix(in srgb, var(--yatra-primary, #3b82f6) 40%, transparent); | |
| 104 | 104 | } |
| 105 | 105 | .yatra-error-btn-primary:hover { |
| 106 | 106 | transform: translateY(-2px); |
| 107 | - box-shadow: 0 6px 20px 0 rgba(59, 130, 246, 0.5); | |
| 107 | + box-shadow: 0 6px 20px 0 color-mix(in srgb, var(--yatra-primary, #3b82f6) 50%, transparent); | |
| 108 | 108 | color: #ffffff; |
| 109 | 109 | } |
| 110 | 110 | .yatra-error-btn-secondary { |
| 111 | 111 | background: #f1f5f9; |
| @@ -154,9 +154,9 @@ | ||
| 154 | 154 | <?php esc_html_e('Sorry, the trip you\'re looking for is no longer available. Don\'t worry, we have plenty of other exciting adventures waiting for you!', 'yatra'); ?> |
| 155 | 155 | </p> |
| 156 | 156 | <?php endif; ?> |
| 157 | 157 | <div class="yatra-error-actions"> |
| 158 | - <a href="<?php echo esc_url(home_url('/trip/')); ?>" class="yatra-error-btn yatra-error-btn-primary"> | |
| 158 | + <a href="<?php echo esc_url(home_url('/' . \Yatra\Services\SettingsService::getTripBase() . '/')); ?>" class="yatra-error-btn yatra-error-btn-primary"> | |
| 159 | 159 | <svg width="18" height="18" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 160 | 160 | <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"/> |
| 161 | 161 | </svg> |
| 162 | 162 | <?php esc_html_e('Explore Trips', 'yatra'); ?> |