Skip to content

Commit

Permalink
update spaces and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
EslemOuederni committed Nov 22, 2024
1 parent 391f228 commit 4f459ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
4 changes: 1 addition & 3 deletions suncityla/app/components/NavbarToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function NavbarToggle({ session }: { session: Session | null }) {
<div>
<Link href="/" className="text-2xl font-semibold md:text-4xl">SunCityLA</Link>
</div>

<div className="md:hidden">
<button
onClick={() => setIsOpen(!isOpen)}
Expand All @@ -37,14 +37,12 @@ export default function NavbarToggle({ session }: { session: Session | null }) {
</button>
</div>

{/* Links Section */}
<div
className={`${
isOpen ? "block" : "hidden"
} absolute top-16 left-0 w-full bg-white shadow-md md:shadow-none md:bg-transparent md:block md:static`}
>
<div className="flex flex-col items-start gap-4 p-4 md:flex-row md:justify-end md:items-center md:gap-6 font-semibold">
{/* if admin is logged in or not */}
{/* if admin is logged in, show sign out button and dashboard link */}
{session?.user ?
(
Expand Down
10 changes: 0 additions & 10 deletions suncityla/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,6 @@ footer{

}











@layer base {
:root {
--background: 0 0% 100%;
Expand Down

0 comments on commit 4f459ef

Please sign in to comment.