File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -310,6 +310,16 @@ Contributions are welcome. See [CONTRIBUTING.md](./CONTRIBUTING.md) for setup in
310310
311311---
312312
313+ ## ☕ Support
314+
315+ If you find CortexUI useful, you can support the project:
316+
317+ 👉 https://buymeacoffee.com/nishchya
318+
319+ It helps keep the project alive and growing.
320+
321+ ---
322+
313323## License
314324
315325MIT — see [ LICENSE] ( ./LICENSE ) .
Original file line number Diff line number Diff line change 11import Link from "next/link" ;
2+ import { Footer } from "@/components/footer" ;
23import { Header } from "@/components/header" ;
34
45export default function HomePage ( ) {
@@ -108,6 +109,8 @@ export default function HomePage() {
108109 </ div >
109110 </ div >
110111 </ section >
112+
113+ < Footer />
111114 </ div >
112115 ) ;
113116}
Original file line number Diff line number Diff line change 11"use client" ;
22
33import { useState } from "react" ;
4+ import { Footer } from "./footer" ;
45import { Header } from "./header" ;
56import { Sidebar } from "./sidebar" ;
67import { TableOfContents } from "./toc" ;
@@ -14,12 +15,13 @@ export function DocsLayoutClient({ children }: { children: React.ReactNode }) {
1415 < Header onMenuClick = { ( ) => setSidebarOpen ( true ) } />
1516 < div className = "flex" >
1617 < Sidebar isOpen = { sidebarOpen } onClose = { ( ) => setSidebarOpen ( false ) } />
17- < main className = "flex-1 min-w-0 lg:pl-[272px] xl:pr-[224px]" >
18+ < div className = "flex-1 min-w-0 lg:pl-[272px] xl:pr-[224px]" >
1819 < article className = "min-h-screen max-w-3xl mx-auto px-6 py-10" >
1920 < DocsCortexSurface />
2021 { children }
2122 </ article >
22- </ main >
23+ < Footer />
24+ </ div >
2325 < TableOfContents />
2426 </ div >
2527 </ div >
Original file line number Diff line number Diff line change 1+ export function Footer ( ) : JSX . Element {
2+ return (
3+ < footer className = "border-t border-slate-200/80 bg-white/70 px-6 py-5 text-sm text-slate-500 backdrop-blur-sm dark:border-slate-800 dark:bg-slate-950/70 dark:text-slate-400" >
4+ < div className = "mx-auto flex max-w-5xl items-center justify-center" >
5+ < a
6+ href = "https://buymeacoffee.com/nishchya"
7+ target = "_blank"
8+ rel = "noopener noreferrer"
9+ className = "inline-flex items-center gap-2 rounded-full px-3 py-1.5 transition-colors hover:bg-brand-50 hover:text-brand-700 dark:hover:bg-brand-900/20 dark:hover:text-brand-400"
10+ >
11+ < span aria-hidden = "true" > ☕</ span >
12+ < span > Support CortexUI</ span >
13+ < span aria-hidden = "true" > →</ span >
14+ < span > Buy me a coffee</ span >
15+ </ a >
16+ </ div >
17+ </ footer >
18+ ) ;
19+ }
You can’t perform that action at this time.
0 commit comments