Skip to content

Commit

Permalink
move: privacy policy button to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
max1mde committed Dec 10, 2024
1 parent 23ad3a4 commit 538c60c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions CONFIG.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
{
"label":"YouTube",
"url":"https://www.youtube.com/@max1mde"
},
{
"label":"Privacy",
"url":"/privacy"
}
]
},
Expand All @@ -33,7 +37,7 @@
"route":"/home",
"profile_image":"https://avatars.githubusercontent.com/u/114857048?v=4",
"about_me":"About Me",
"description":"Here is some boring text no one wants to read",
"description":"I like to bring random ideas to reality",
"tools_languages_title":"Tools & Languages",
"languages":[
"Java",
Expand Down Expand Up @@ -156,7 +160,7 @@
}
},
"privacy":{
"enabled":true,
"enabled":false,
"header":"Privacy Policy",
"route":"/privacy",
"content":{
Expand Down
3 changes: 2 additions & 1 deletion src/app/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,12 @@ export default function RootLayout({ children }) {
<body
className={`${selectedFont.variable} antialiased flex flex-col min-h-screen`}
>
<link rel="preconnect" href="https://img.shields.io"></link>

{config.global.custom_cursor.enabled && <CustomCursor />}
<Navbar />
<main className="flex-1 p-4">{children}</main>
<Footer config={config} />

</body>
</html>
);
Expand Down

0 comments on commit 538c60c

Please sign in to comment.