Reflow hero layout and update iOS status bar style
All checks were successful
build-website / build (push) Successful in 1m37s
All checks were successful
build-website / build (push) Successful in 1m37s
This commit is contained in:
@@ -498,16 +498,24 @@ html {
|
|||||||
position: relative;
|
position: relative;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-height: 100%;
|
min-height: 100dvh;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: flex-start;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: var(--space-md);
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
/* Apply safe area padding HERE to protect content from being obscured */
|
/* Apply safe area padding HERE to protect content from being obscured */
|
||||||
padding: calc(max(var(--safe-area-cover-top), clamp(6rem, 14vh, 10rem))) var(--space-md) calc(max(var(--safe-area-cover-bottom), clamp(5rem, 12vh, 8rem)) + var(--space-sm));
|
padding: calc(max(var(--safe-area-cover-top), clamp(4rem, 10vh, 8rem))) var(--space-md) calc(max(var(--safe-area-cover-bottom), clamp(4rem, 12vh, 8rem)) + var(--space-md));
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-main {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
gap: var(--space-md);
|
||||||
|
width: min(720px, 100%);
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.trust-badge {
|
.trust-badge {
|
||||||
@@ -1752,7 +1760,7 @@ html {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: space-between;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
min-height: -webkit-fill-available;
|
min-height: -webkit-fill-available;
|
||||||
min-height: 100dvh;
|
min-height: 100dvh;
|
||||||
@@ -1760,6 +1768,11 @@ html {
|
|||||||
z-index: 10; /* Ensure content is above video */
|
z-index: 10; /* Ensure content is above video */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hero-main {
|
||||||
|
gap: var(--space-sm);
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
/* Responsive logo */
|
/* Responsive logo */
|
||||||
.hero-logo {
|
.hero-logo {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@@ -31,27 +31,28 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="hero-content" :class="{ 'is-ready': videoLoaded }">
|
<div class="hero-content" :class="{ 'is-ready': videoLoaded }">
|
||||||
<div class="hero-logo animate-fade-in">
|
<div class="hero-main">
|
||||||
<img src="/HARBOR-SMITH-white.png" alt="Harbor Smith" width="400" height="250">
|
<div class="hero-logo animate-fade-in">
|
||||||
</div>
|
<img src="/HARBOR-SMITH-white.png" alt="Harbor Smith" width="400" height="250">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p class="hero-subtext animate-fade-up-delay">
|
||||||
|
<span style="font-size: 1.5rem; font-weight: 500; text-transform: none; letter-spacing: normal; margin-bottom: 10px; display: block;">
|
||||||
|
Personalized Service Maintenance for Your Boat
|
||||||
|
</span>
|
||||||
|
Reliable Care Above and Below the Waterline. Servicing the Bay Area and Beyond!
|
||||||
|
</p>
|
||||||
|
|
||||||
<p class="hero-subtext animate-fade-up-delay">
|
<div class="hero-actions animate-fade-up-delay-2">
|
||||||
<span style="font-size: 1.5rem; font-weight: 500; text-transform: none; letter-spacing: normal; margin-bottom: 10px; display: block;">
|
<button class="btn-primary-warm" @click="handlePhoneClick">
|
||||||
Personalized Service Maintenance for Your Boat
|
<LucidePhone class="btn-icon" />
|
||||||
</span>
|
Call (510) 701-2535
|
||||||
Reliable Care Above and Below the Waterline. Servicing the Bay Area and Beyond!
|
</button>
|
||||||
</p>
|
<button class="btn-secondary-warm" @click="handleServicesClick">
|
||||||
|
<LucideWrench class="btn-icon" />
|
||||||
<div class="hero-actions animate-fade-up-delay-2">
|
View Our Services
|
||||||
<button class="btn-primary-warm" @click="handlePhoneClick">
|
</button>
|
||||||
<LucidePhone class="btn-icon" />
|
</div>
|
||||||
Call (510) 701-2535
|
|
||||||
</button>
|
|
||||||
<button class="btn-secondary-warm" @click="handleServicesClick">
|
|
||||||
<LucideWrench class="btn-icon" />
|
|
||||||
View Our Services
|
|
||||||
</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Scroll to explore indicator -->
|
<!-- Scroll to explore indicator -->
|
||||||
@@ -205,11 +206,20 @@ onMounted(() => {
|
|||||||
max-width: 100vw !important;
|
max-width: 100vw !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hero-main {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
gap: 1.5rem;
|
||||||
|
width: min(720px, 100%);
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
/* Scroll to explore indicator */
|
/* Scroll to explore indicator */
|
||||||
|
|
||||||
.scroll-to-explore {
|
.scroll-to-explore {
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
margin-bottom: calc(max(var(--safe-area-cover-bottom, 0px), var(--space-lg)));
|
margin-bottom: calc(max(var(--safe-area-cover-bottom, 0px), clamp(2.5rem, 10vh, 4rem)));
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ export default defineNuxtConfig({
|
|||||||
{ name: 'robots', content: 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' },
|
{ name: 'robots', content: 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' },
|
||||||
{ name: 'theme-color', content: '#001f3f' },
|
{ name: 'theme-color', content: '#001f3f' },
|
||||||
{ name: 'apple-mobile-web-app-capable', content: 'yes' },
|
{ name: 'apple-mobile-web-app-capable', content: 'yes' },
|
||||||
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
|
{ name: 'apple-mobile-web-app-status-bar-style', content: 'default' },
|
||||||
// Open Graph
|
// Open Graph
|
||||||
{ property: 'og:type', content: 'website' },
|
{ property: 'og:type', content: 'website' },
|
||||||
{ property: 'og:url', content: 'https://harborsmith.com' },
|
{ property: 'og:url', content: 'https://harborsmith.com' },
|
||||||
|
|||||||
Reference in New Issue
Block a user