Revamp footer, navbar, drone section and routes
- Replace heavy drone assets with S3-hosted video (excluded from git via .gitignore). - Add routes for /services/web and /services/film in App.tsx. - Rewrite Footer with framer-motion, structured social/contact/service arrays and improved responsive layout. - Redesign DroneSection: full-bleed background video, layered panels/vignette, updated copy and styling. - Minor content change in HeroSection (name updated to "David Bruno Vontor"). - Major Navbar refactor: improved mobile drawer with backdrop, accordion submenus, better state handling and accessibility. - ChatSidebar: add optional onClose/onSelectChat callbacks, close button. - ContactMe mobile CSS: tweak sizing and margins for small screens. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -264,7 +264,7 @@
|
||||
transform: none;
|
||||
}
|
||||
|
||||
/* ── Mobile ── */
|
||||
/* ── Mobile — hide links, show burger ── */
|
||||
@media (max-width: 900px) {
|
||||
.navbar {
|
||||
width: 100%;
|
||||
@@ -276,89 +276,222 @@
|
||||
border-right: none;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.logo {
|
||||
border-right: none;
|
||||
padding-right: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.links { display: none; }
|
||||
.burger {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.links {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 100%;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 0.3rem;
|
||||
padding: 0;
|
||||
background: color-mix(in hsl, var(--c-background-light), transparent 5%);
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
border-bottom: 1px solid color-mix(in hsl, var(--c-lines), transparent 60%);
|
||||
border-bottom-left-radius: 1.5rem;
|
||||
border-bottom-right-radius: 1.5rem;
|
||||
overflow: hidden;
|
||||
max-height: 0;
|
||||
opacity: 0;
|
||||
transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
|
||||
}
|
||||
|
||||
.links.show {
|
||||
max-height: 80vh;
|
||||
opacity: 1;
|
||||
padding: 0.75rem;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.dropdownItem {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.linkButton {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
padding: 0.75em 1em;
|
||||
border-radius: 0.75rem;
|
||||
background: color-mix(in hsl, var(--c-background-light), transparent 40%);
|
||||
color: var(--c-text);
|
||||
}
|
||||
|
||||
.linkSimple {
|
||||
width: 100%;
|
||||
padding: 0.75em 1em;
|
||||
border-radius: 0.75rem;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
transform: none;
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background: color-mix(in hsl, var(--c-background), transparent 20%);
|
||||
border-radius: 0.75rem;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
|
||||
.dropdownItem:hover .dropdown,
|
||||
.dropdownItem:focus-within .dropdown {
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.loginBtn {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
padding: 0.75em 1em;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Backdrop overlay ── */
|
||||
.overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 199;
|
||||
background: rgba(3, 29, 68, 0.55);
|
||||
backdrop-filter: blur(4px);
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
.overlayVisible {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* ── Mobile drawer ── */
|
||||
.drawer {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: min(320px, 88vw);
|
||||
z-index: 200;
|
||||
background: color-mix(in hsl, var(--c-background-light), transparent 8%);
|
||||
backdrop-filter: blur(24px) saturate(1.5);
|
||||
-webkit-backdrop-filter: blur(24px) saturate(1.5);
|
||||
border-left: 1px solid color-mix(in hsl, var(--c-lines), transparent 60%);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
transform: translateX(100%);
|
||||
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
overflow-y: auto;
|
||||
}
|
||||
.drawerOpen {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
/* ── Drawer header ── */
|
||||
.drawerHeader {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 1.1rem 1.25rem;
|
||||
border-bottom: 1px solid color-mix(in hsl, var(--c-lines), transparent 70%);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.drawerLogo {
|
||||
font-size: 1.4rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.02em;
|
||||
background: linear-gradient(135deg, var(--c-other) 0%, var(--c-lines) 50%, var(--c-text) 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
text-decoration: none;
|
||||
}
|
||||
.drawerClose {
|
||||
background: none;
|
||||
border: 1px solid color-mix(in hsl, var(--c-lines), transparent 65%);
|
||||
border-radius: 0.6rem;
|
||||
color: var(--c-text);
|
||||
font-size: 1rem;
|
||||
padding: 0.35em 0.5em;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.drawerClose:hover {
|
||||
background: color-mix(in hsl, var(--c-boxes), transparent 60%);
|
||||
}
|
||||
|
||||
/* ── Drawer nav items ── */
|
||||
.drawerNav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
padding: 1rem 0.75rem;
|
||||
flex: 1;
|
||||
}
|
||||
.drawerItem {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
padding: 0.8rem 1rem;
|
||||
border-radius: 0.75rem;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
color: color-mix(in hsl, var(--c-text), transparent 15%);
|
||||
text-decoration: none;
|
||||
transition: background 0.18s, color 0.18s;
|
||||
}
|
||||
.drawerItem:hover {
|
||||
background: color-mix(in hsl, var(--c-boxes), transparent 65%);
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* ── Accordion trigger ── */
|
||||
.drawerAccordion {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
width: 100%;
|
||||
padding: 0.8rem 1rem;
|
||||
border-radius: 0.75rem;
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
color: color-mix(in hsl, var(--c-text), transparent 15%);
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
transition: background 0.18s, color 0.18s;
|
||||
}
|
||||
.drawerAccordion:hover {
|
||||
background: color-mix(in hsl, var(--c-boxes), transparent 65%);
|
||||
color: white;
|
||||
transform: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.drawerAccordion .chev {
|
||||
margin-left: auto;
|
||||
transition: transform 0.25s ease;
|
||||
}
|
||||
.chevOpen {
|
||||
transform: rotate(180deg) !important;
|
||||
}
|
||||
|
||||
/* ── Accordion sub-items ── */
|
||||
.drawerSub {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.15rem;
|
||||
overflow: hidden;
|
||||
max-height: 0;
|
||||
opacity: 0;
|
||||
transition: max-height 0.3s ease, opacity 0.25s ease;
|
||||
padding-left: 0.75rem;
|
||||
}
|
||||
.drawerSubOpen {
|
||||
max-height: 300px;
|
||||
opacity: 1;
|
||||
}
|
||||
.drawerSubItem {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
padding: 0.65rem 1rem;
|
||||
border-radius: 0.65rem;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 400;
|
||||
color: color-mix(in hsl, var(--c-text), transparent 25%);
|
||||
text-decoration: none;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
font-family: inherit;
|
||||
transition: background 0.18s, color 0.18s;
|
||||
}
|
||||
.drawerSubItem:hover {
|
||||
background: color-mix(in hsl, var(--c-boxes), transparent 70%);
|
||||
color: white;
|
||||
transform: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.drawerLogout {
|
||||
color: color-mix(in hsl, #ff6b6b, var(--c-text) 30%);
|
||||
}
|
||||
.drawerLogout:hover {
|
||||
background: color-mix(in hsl, #ff6b6b, transparent 80%);
|
||||
color: #ff9898;
|
||||
}
|
||||
|
||||
/* ── Drawer divider ── */
|
||||
.drawerDivider {
|
||||
height: 1px;
|
||||
margin: 0.5rem 0.25rem;
|
||||
background: color-mix(in hsl, var(--c-lines), transparent 72%);
|
||||
}
|
||||
|
||||
/* ── Drawer login button ── */
|
||||
.drawerLoginBtn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
width: 100%;
|
||||
padding: 0.85em 1em;
|
||||
border-radius: 0.75rem;
|
||||
background: linear-gradient(135deg, var(--c-other), color-mix(in hsl, var(--c-other), var(--c-boxes) 40%));
|
||||
border: none;
|
||||
color: #031D44;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: opacity 0.2s, transform 0.15s;
|
||||
}
|
||||
.drawerLoginBtn:hover {
|
||||
opacity: 0.9;
|
||||
transform: scale(1.02);
|
||||
box-shadow: 0 0 1rem color-mix(in hsl, var(--c-other), transparent 50%);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user