diff --git a/resources/sass/fo/base/_common.scss b/resources/sass/fo/base/_common.scss index abafa5e..f3690fa 100644 --- a/resources/sass/fo/base/_common.scss +++ b/resources/sass/fo/base/_common.scss @@ -21,11 +21,8 @@ $theme-colors: map.merge($theme-colors, $light-colors); text-transform: inherit; } -// Fix: header overlapped a section when we clicked on an anchor. -// DO NOT apply this class WITH border-top-curved-*. This is not necessary and will cause bugs. .anchor-padding { - padding-top: $header-height; - margin-top: -$header-height; + scroll-margin: calc(#{$header-height} + 1rem); } .video-frame { diff --git a/resources/views/fo/pages/commitments.blade.php b/resources/views/fo/pages/commitments.blade.php index d28d75e..1b910d6 100644 --- a/resources/views/fo/pages/commitments.blade.php +++ b/resources/views/fo/pages/commitments.blade.php @@ -18,7 +18,7 @@ @section('content')
{{-- AMBITION --}} -
+
@@ -63,7 +63,7 @@
{{-- BREEDING --}} -
+
@@ -121,7 +121,7 @@
{{-- LIFE --}} -
+
@@ -186,7 +186,7 @@
{{-- EARTH --}} -
+
@@ -269,7 +269,7 @@
{{-- FEED --}} -
+
@@ -339,7 +339,7 @@
{{-- TESTIMONIALS --}} -
+
diff --git a/resources/views/fo/pages/hire.blade.php b/resources/views/fo/pages/hire.blade.php index 3b58db7..b513d5c 100644 --- a/resources/views/fo/pages/hire.blade.php +++ b/resources/views/fo/pages/hire.blade.php @@ -18,7 +18,7 @@ @section('content')
{{-- COMPAGNY LIFE --}} -
+
@@ -179,7 +179,7 @@
{{-- TESTIMONIALS --}} -
+

{{ $testimonialSection->h2_title }}

@@ -223,7 +223,7 @@
{{-- PARITY --}} -
+
@@ -286,7 +286,7 @@
{{-- FIND --}} -
+
diff --git a/resources/views/fo/pages/home.blade.php b/resources/views/fo/pages/home.blade.php index fd3a0a6..08a6a15 100644 --- a/resources/views/fo/pages/home.blade.php +++ b/resources/views/fo/pages/home.blade.php @@ -7,14 +7,14 @@ @section('banner') @include('fo.layouts.banner-slider', [ 'displayArrow' => true, - 'buttonLink' => '#missions', + 'buttonLink' => '#home-title', ]) @endsection @section('content')
{{-- TITLE --}} -
+
@@ -24,7 +24,7 @@
{{-- MISSIONS --}} -
+
@@ -179,7 +179,7 @@
{{-- LIFE --}} -
+
diff --git a/resources/views/fo/pages/listen.blade.php b/resources/views/fo/pages/listen.blade.php index 46bb499..258aa20 100644 --- a/resources/views/fo/pages/listen.blade.php +++ b/resources/views/fo/pages/listen.blade.php @@ -16,7 +16,7 @@ @endsection @section('content') -
+