File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { siteUrls } from "@/config/urls" ;
2
+
3
+ export function SiteFooter ( ) {
4
+ return (
5
+ < footer className = "py-6 md:px-8 md:py-0" >
6
+ < div className = "container flex flex-col items-center justify-between gap-4 md:h-24 md:flex-row" >
7
+ < p className = "text-balance text-center text-sm leading-loose text-muted-foreground md:text-left" >
8
+ Built by{ " " }
9
+ < a
10
+ href = { siteUrls . twitter }
11
+ target = "_blank"
12
+ rel = "noreferrer"
13
+ className = "font-medium underline underline-offset-4"
14
+ >
15
+ alifarooq
16
+ </ a >
17
+ . The source code is available on{ " " }
18
+ < a
19
+ href = { siteUrls . github }
20
+ target = "_blank"
21
+ rel = "noreferrer"
22
+ className = "font-medium underline underline-offset-4"
23
+ >
24
+ GitHub
25
+ </ a >
26
+ .
27
+ </ p >
28
+ </ div >
29
+ </ footer >
30
+ ) ;
31
+ }
Original file line number Diff line number Diff line change 1
1
import { SiteHeader } from "@/app/(app)/_components/side-header" ;
2
+ import { SiteFooter } from "@/app/(app)/_components/site-footer" ;
2
3
3
4
interface AppLayoutProps {
4
5
children : React . ReactNode ;
@@ -9,6 +10,7 @@ export default function AppLayout({ children }: AppLayoutProps) {
9
10
< >
10
11
< SiteHeader />
11
12
< main className = "flex-1" > { children } </ main >
13
+ < SiteFooter />
12
14
</ >
13
15
) ;
14
16
}
You can’t perform that action at this time.
0 commit comments