add footer
This commit is contained in:
		| @@ -3,6 +3,7 @@ import "./globals.css"; | |||||||
| import Title from "@/components/Title"; | import Title from "@/components/Title"; | ||||||
| import Navbar from "@/components/Navbar"; | import Navbar from "@/components/Navbar"; | ||||||
| import { bodyFont } from "@/components/fonts"; | import { bodyFont } from "@/components/fonts"; | ||||||
|  | import Link from "next/link"; | ||||||
|  |  | ||||||
| export const metadata: Metadata = { | export const metadata: Metadata = { | ||||||
|   title: "nrx.sh", |   title: "nrx.sh", | ||||||
| @@ -37,11 +38,28 @@ export default function RootLayout({ | |||||||
|               maxWidth: "100vw", |               maxWidth: "100vw", | ||||||
|               padding: "2rem", |               padding: "2rem", | ||||||
|               boxSizing: "border-box", |               boxSizing: "border-box", | ||||||
|               fontSize: "1.1rem", |               fontSize: "0.9rem", | ||||||
|             }} |             }} | ||||||
|           > |           > | ||||||
|             {children} |             {children} | ||||||
|           </div> |           </div> | ||||||
|  |           <div | ||||||
|  |             style={{ | ||||||
|  |               fontSize: "0.7rem", | ||||||
|  |               marginTop: "2rem", | ||||||
|  |               textAlign: "center", | ||||||
|  |               color: "#888", | ||||||
|  |             }} | ||||||
|  |             className={bodyFont.className} | ||||||
|  |           > | ||||||
|  |             this site is built from scratch using <b>next.js</b> - it is  | ||||||
|  |             <Link | ||||||
|  |               style={{ color: "#88f" }} | ||||||
|  |               href={"https://git.nrx.sh/naresh/nrx.sh"} | ||||||
|  |             > | ||||||
|  |               completely open source | ||||||
|  |             </Link> | ||||||
|  |           </div> | ||||||
|         </div> |         </div> | ||||||
|       </body> |       </body> | ||||||
|     </html> |     </html> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user