Skip to content

Commit b4fe01e

Browse files
committed
refactor(footer): relocate site footer to app-specific components directory
1 parent 7165f19 commit b4fe01e

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

File renamed without changes.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import { RssIcon } from "lucide-react"
33
import { SITE_INFO, SOURCE_CODE_GITHUB_URL } from "@/config/site"
44
import { cn } from "@/lib/utils"
55
import { Icons } from "@/components/icons"
6-
import { SiteFooterInteractiveLogotype } from "@/components/site-footer-brand"
6+
7+
import { SiteFooterInteractiveLogotype } from "./site-footer-brand"
78

89
export function SiteFooter() {
910
return (

src/app/(app)/layout.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import dynamic from "next/dynamic"
22

33
import { SiteBottomNav } from "@/components/site-bottom-nav"
4-
import { SiteFooter } from "@/components/site-footer"
4+
import { SiteFooter } from "./components/site-footer"
55
import { SiteHeader } from "@/components/site-header"
66

77
const ScrollToTop = dynamic(() =>
@@ -14,10 +14,6 @@ export default function AppLayout({ children }: { children: React.ReactNode }) {
1414
<SiteHeader />
1515
<main className="max-w-screen overflow-x-clip px-2">{children}</main>
1616
<SiteFooter />
17-
<div
18-
className="pointer-events-none fixed inset-x-0 bottom-0 z-50 h-[calc(--spacing(24)+env(safe-area-inset-bottom,0))] bg-linear-to-b from-transparent from-[calc(env(safe-area-inset-bottom,0%))] to-background mask-linear-[to_top,var(--background)_25%,transparent] backdrop-blur-[1px]"
19-
aria-hidden
20-
/>
2117
<SiteBottomNav />
2218
<ScrollToTop />
2319
</div>

0 commit comments

Comments
 (0)