minor fixes #40
4 changed files with 10 additions and 3 deletions
|
@ -23,7 +23,7 @@ export function Footer() {
|
|||
<Link href="https://bsky.app/profile/parchlinux.com">
|
||||
<SiBluesky className="w-4 h-4" />
|
||||
</Link>
|
||||
<Link href="https://ieji.de/@parchlinux">
|
||||
<Link href="https://ieji.de/@parchlinux" rel="me">
|
||||
<SiMastodon className="w-4 h-4" />
|
||||
</Link>
|
||||
<Link href="https://x.com/parchgnulinux">
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
const nextConfig = {
|
||||
i18n: {
|
||||
locales: ['en', 'fa'],
|
||||
defaultLocale: 'fa',
|
||||
localeDetection: false
|
||||
defaultLocale: 'fa'
|
||||
},
|
||||
reactStrictMode: true,
|
||||
};
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
import BaseLayout from "@/components/Base";
|
||||
import "@/styles/globals.css";
|
||||
import { useTranslation } from "@/utils/translation";
|
||||
import { ThemeProvider } from "next-themes";
|
||||
import Head from "next/head";
|
||||
|
||||
export default function App({ Component, pageProps }) {
|
||||
const { t } = useTranslation()
|
||||
|
||||
return <ThemeProvider attribute="class">
|
||||
<BaseLayout>
|
||||
<Component {...pageProps} />
|
||||
<Head>
|
||||
<title>{t('home.title')}</title>
|
||||
</Head>
|
||||
</BaseLayout>
|
||||
</ThemeProvider>;
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@ export default function Document() {
|
|||
href="https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link rel="shortcut icon" href="/parch.svg" type="image/svg+xml" />
|
||||
</Head>
|
||||
<body>
|
||||
<Main />
|
||||
|
|
Loading…
Add table
Reference in a new issue