mirror of
https://github.com/Lumither/nocturne.git
synced 2026-10-17 18:36:21 +00:00
feat(frontend/blog) font, lighthouse improve
This commit is contained in:
1 parent
7e0b015cbc
commit
fd4bdb4a6f
4 files changed
+13
-6
No files matched your search
+1
-3
@@ -1,11 +1,9 @@
|
||||
import type { Metadata } from 'next';
|
||||
import { Inter } from 'next/font/google';
|
||||
import './globals.css';
|
||||
import React from 'react';
|
||||
import { ThemeProvider as NextThemesProvider } from 'next-themes';
|
||||
import Navbar from '@/components/Navbar';
|
||||
|
||||
const inter = Inter({ subsets: [ 'latin' ] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Lumither\'s site',
|
||||
@@ -19,7 +17,7 @@ export default function RootLayout({
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body className={ inter.className }>
|
||||
<body>
|
||||
<NextThemesProvider attribute="class" defaultTheme="dark">
|
||||
<Navbar />
|
||||
{ children }
|
||||
|
||||
Reference in new issue
Block a user