mirror of
https://github.com/privacy-scaling-explorations/pse.dev.git
synced 2026-04-23 03:01:03 -04:00
feat: remove preload
This commit is contained in:
@@ -119,25 +119,6 @@ export default function RootLayout({ children }: RootLayoutProps) {
|
||||
return (
|
||||
<QueryClientProviderLayout>
|
||||
<html lang="en" className={fonts.map((font) => font.className).join(" ")}>
|
||||
<head>
|
||||
<link
|
||||
rel="preconnect"
|
||||
href="https://fonts.googleapis.com"
|
||||
crossOrigin="anonymous"
|
||||
/>
|
||||
<link
|
||||
rel="preconnect"
|
||||
href="https://fonts.gstatic.com"
|
||||
crossOrigin="anonymous"
|
||||
/>
|
||||
<link
|
||||
rel="preload"
|
||||
href="/fonts/fallback.woff2"
|
||||
as="font"
|
||||
type="font/woff2"
|
||||
crossOrigin="anonymous"
|
||||
/>
|
||||
</head>
|
||||
<body className="min-h-screen bg-background antialiased">
|
||||
{children}
|
||||
</body>
|
||||
|
||||
@@ -4,6 +4,8 @@ import "@/styles/globals.css"
|
||||
import React from "react"
|
||||
import Image from "next/image"
|
||||
import Link from "next/link"
|
||||
import { Metadata } from "next"
|
||||
import { AppContent } from "@/components/ui/app-content"
|
||||
|
||||
import { LangProps } from "@/types/common"
|
||||
import { fontDisplay, fontSans } from "@/lib/fonts"
|
||||
@@ -13,6 +15,10 @@ import { TailwindIndicator } from "@/components/tailwind-indicator"
|
||||
|
||||
import { useTranslation } from "./i18n/client"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "404: Page Not Found",
|
||||
}
|
||||
|
||||
export default function NotFound({ lang }: LangProps["params"]) {
|
||||
const { t } = useTranslation(lang, "common")
|
||||
|
||||
|
||||
@@ -37,7 +37,6 @@ const nextConfig = {
|
||||
},
|
||||
experimental: {
|
||||
mdxRs: true,
|
||||
optimizeCss: true,
|
||||
optimizePackageImports: ["@heroicons/react", "lucide-react"],
|
||||
},
|
||||
swcMinify: true,
|
||||
|
||||
Reference in New Issue
Block a user