diff --git a/app/components/Footer.tsx b/app/components/Footer.tsx new file mode 100644 index 0000000..4f01e8a --- /dev/null +++ b/app/components/Footer.tsx @@ -0,0 +1,19 @@ +import { myInfo } from 'app/constants/myInfo'; + +export const Footer = () => { + return ( + + ); +}; diff --git a/app/constants/myInfo.ts b/app/constants/myInfo.ts index 03ed790..66468e1 100644 --- a/app/constants/myInfo.ts +++ b/app/constants/myInfo.ts @@ -11,6 +11,7 @@ export const myInfo = { github: 'https://github.com/junseokku', linkedin: 'https://linkedin.com/in/junseokku', }, + repoUrl: 'https://github.com/junseokku/contentlayer-blog', comment: { repo: 'junseokku/contentlayer-blog', repoId: 'R_kgDOKedY1A', diff --git a/app/layout.tsx b/app/layout.tsx index e937f51..d05736e 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -5,6 +5,7 @@ import { pretendard } from './libs/font'; import { Providers } from './components/Providers'; import { SEOConfig } from './constants/SEOConfig'; import { GoogleAnlytics } from './libs/GoogleAnalytics'; +import { Footer } from './components/Footer'; export default function RootLayout({ children, @@ -19,6 +20,7 @@ export default function RootLayout({
{children} +
diff --git a/app/posts/[slug]/page.tsx b/app/posts/[slug]/page.tsx index 1b1d5fc..21ec0ef 100644 --- a/app/posts/[slug]/page.tsx +++ b/app/posts/[slug]/page.tsx @@ -33,6 +33,7 @@ const PostLayout = ({ params }: Params) => {
+ {/* TODO - post footer */} {/* post comment */}