Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix navbar relative positioning #55

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Link from 'next/link';

const Footer = () => {
return (
<div className="flex items-center bg-green-b justify-start px-8 py-4 lg:justify-between">
<div className="flex items-center bg-green-b justify-start px-8 py-4 lg:justify-between z-10">
<div className="flex items-center gap-x-4">
<Link href="https://www.facebook.com/nuansa.culturalproductions/">
<Image src="/images/logo/facebook.svg" width={20} height={20} alt="Facebook" />
Expand Down
2 changes: 1 addition & 1 deletion app/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Navbar = () => {
const [mobileMenuHidden, setMobileMenuHidden] = React.useState(true);

return (
<nav className="flex sticky top-0 h-[72] shadow-lg items-center justify-between bg-green-a p-2 md:p-0">
<nav className="flex sticky top-0 h-[72] shadow-lg items-center justify-between bg-green-a p-2 md:p-0 z-10">
<div>
<span className="md:hidden ml-4 text-2xl text-white font-bold leading-8">
NUANSA
Expand Down
2 changes: 1 addition & 1 deletion app/components/scroll-to-top.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const ScrollToTopButton = () => {

return (
<motion.button
className="fixed bottom-10 right-0 p-10"
className="fixed bottom-10 right-0 p-10 z-10"
variants={ScrollToTopContainerVariants}
initial="hide"
animate={controls}
Expand Down
Loading