Skip to content

Commit

Permalink
feat: #6 Created footer component
Browse files Browse the repository at this point in the history
  • Loading branch information
bkrowka committed Mar 20, 2024
1 parent 7ea1dea commit 68ae912
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"next": "14.1.3",
"next": "^14.1.3",
"react": "^18",
"react-dom": "^18",
"react-icons": "^5.0.1"
Expand Down
6 changes: 5 additions & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import Footer from "@/components/common/Footer/Footer";

const inter = Inter({ subsets: ["latin"] });

Expand All @@ -16,7 +17,10 @@ export default function RootLayout({
}>) {
return (
<html lang="pl">
<body className={inter.className}>{children}</body>
<body className={inter.className}>
{children}
<Footer/>
</body>
</html>
);
}
11 changes: 11 additions & 0 deletions src/components/common/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default function Footer () {
return (
<footer>
<div className="flex flex-row items-center justify-center h-52 space-x-8">
<span>1</span>
<span>2</span>
<span>3</span>
</div>
</footer>
)
}

0 comments on commit 68ae912

Please sign in to comment.