Skip to content

Commit

Permalink
Merge pull request #40 from ashkan-o/main
Browse files Browse the repository at this point in the history
minor fixes
  • Loading branch information
behdanisohrab authored Nov 23, 2024
2 parents 1f6a842 + ebcc72b commit 9e077ec
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
3 changes: 1 addition & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
const nextConfig = {
i18n: {
locales: ['en', 'fa'],
defaultLocale: 'fa',
localeDetection: false
defaultLocale: 'fa'
},
reactStrictMode: true,
};
Expand Down
7 changes: 7 additions & 0 deletions pages/_app.jsx
Original file line number Diff line number Diff line change
@@ -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>;
}
1 change: 1 addition & 0 deletions pages/_document.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 />
Expand Down

0 comments on commit 9e077ec

Please sign in to comment.