File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1
1
import { AnalyticsWrapper } from "../components/analytics" ;
2
+ import { Footer } from "../components/Footer" ;
2
3
import { Header } from "../components/Header" ;
3
4
4
5
import "../styles/globals.css" ;
@@ -10,6 +11,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
10
11
< Header />
11
12
{ children }
12
13
< AnalyticsWrapper />
14
+ < Footer />
13
15
</ body >
14
16
</ html >
15
17
) ;
Original file line number Diff line number Diff line change
1
+ import Link from "next/link" ;
2
+ import { Container } from "./Container" ;
3
+
4
+ export const Footer = ( ) => (
5
+ < footer className = "bg-primary" >
6
+ < Container className = "flex h-14 items-center justify-center sm:justify-end" >
7
+ < nav className = "flex flex-wrap justify-center gap-x-7 text-sm text-white" >
8
+ < Link href = "/about" > Jak korzystać?</ Link >
9
+ < Link href = "/regulations" > Regulamin</ Link >
10
+ < Link href = "/authors" > Autorzy</ Link >
11
+ < a href = "https://www.facebook.com/DevFAQ" target = "_blank" rel = "noreferrer" >
12
+ Facebook
13
+ </ a >
14
+ < a href = "https://typeofweb.com" target = "_blank" rel = "noreferrer" >
15
+ Type of Web
16
+ </ a >
17
+ </ nav >
18
+ </ Container >
19
+ </ footer >
20
+ ) ;
You can’t perform that action at this time.
0 commit comments