From 5f35b5cdd7af8b1460c429c48a3d15dfd5dddf8a Mon Sep 17 00:00:00 2001 From: Aleksi O'Connor Date: Fri, 24 Oct 2025 16:27:36 +0300 Subject: [PATCH] add widget --- app/layout.jsx | 54 +++++++++++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/app/layout.jsx b/app/layout.jsx index cdddf93..9d2520a 100644 --- a/app/layout.jsx +++ b/app/layout.jsx @@ -1,18 +1,18 @@ -import { Footer, Layout, Navbar } from "nextra-theme-docs"; -import { Banner, Head } from "nextra/components"; -import { getPageMap } from "nextra/page-map"; -import localFont from "next/font/local"; +import { Footer, Layout, Navbar } from 'nextra-theme-docs'; +import { Banner, Head } from 'nextra/components'; +import { getPageMap } from 'nextra/page-map'; +import localFont from 'next/font/local'; // Components -import Logo from "./components/Logo.js"; -import SlackIcon from "./components/SlackIcon.js"; +import Logo from './components/Logo.js'; +import SlackIcon from './components/SlackIcon.js'; // Styles -import "nextra-theme-docs/style.css"; -import "./global.css"; +import 'nextra-theme-docs/style.css'; +import './global.css'; // Plausible -import PlausibleProvider from "next-plausible"; +import PlausibleProvider from 'next-plausible'; const isPreviewEnv = process.env.PLAUSIBLE_ENV === `preview`; const isProduction = process.env.NODE_ENV === `production`; @@ -20,19 +20,19 @@ const isProduction = process.env.NODE_ENV === `production`; const circular = localFont({ src: [ { - path: "./fonts/CircularXXWeb-Italic.woff2", - weight: "400", - style: "italic", + path: './fonts/CircularXXWeb-Italic.woff2', + weight: '400', + style: 'italic', }, { - path: "./fonts/CircularXXWeb-Regular.woff2", - weight: "400", - style: "normal", + path: './fonts/CircularXXWeb-Regular.woff2', + weight: '400', + style: 'normal', }, { - path: "./fonts/CircularXXWeb-Bold.woff2", - weight: "700", - style: "normal", + path: './fonts/CircularXXWeb-Bold.woff2', + weight: '700', + style: 'normal', }, ], }); @@ -75,8 +75,8 @@ export default async function RootLayout({ children }) { +