1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-26 02:04:17 +00:00
todocolors/todoblue/src/app/layout.tsx

40 lines
1.2 KiB
TypeScript
Raw Normal View History

2023-07-29 13:58:17 +00:00
// noinspection JSUnusedGlobalSymbols
import "@steffo/bluelib/dist/base.root.css"
import "@steffo/bluelib/dist/classic.root.css"
import "@steffo/bluelib/dist/glass.root.css"
2023-08-01 16:13:20 +00:00
import "@steffo/bluelib/dist/layouts-center.root.css"
2023-07-29 13:58:17 +00:00
import "@steffo/bluelib/dist/colors-royalblue.root.css"
import "@steffo/bluelib/dist/fonts-fira-ghpages.root.css"
2023-08-02 02:14:49 +00:00
import '@fortawesome/fontawesome-svg-core/styles.css';
import { config } from '@fortawesome/fontawesome-svg-core';
config.autoAddCss = false; /* eslint-disable import/first */
2023-07-29 13:58:17 +00:00
import type {Metadata as NextMetadata} from "next"
2023-08-02 02:14:49 +00:00
import {default as React, ReactNode} from "react"
2023-07-29 13:58:17 +00:00
export const metadata: NextMetadata = {
title: "Todoblue",
description: "Self-hostable todo app",
}
export default function RootLayout({children}: { children: ReactNode }) {
return (
<html lang="en">
2023-08-01 16:13:20 +00:00
<body className={"theme-bluelib layout-center"}>
2023-07-29 13:58:17 +00:00
{children}
2023-08-02 02:14:49 +00:00
<footer>
<p>
© <a href="https://steffo.eu">Stefano Pigozzi</a> -
<a href="https://www.gnu.org/licenses/agpl-3.0.en.html">AGPL 3.0</a> -
2023-08-03 04:16:45 +00:00
<a href="https://github.com/Steffo99/todocolors">GitHub</a> -
Using {process.env.NEXT_PUBLIC_API_BASE_URL}
2023-08-02 02:14:49 +00:00
</p>
</footer>
2023-07-29 13:58:17 +00:00
</body>
</html>
)
}