Skip to content

Commit

Permalink
Fixbug (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pet3r1512 authored Nov 15, 2024
1 parent 6674ba7 commit 8c420fc
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 32 deletions.
31 changes: 0 additions & 31 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,10 @@ import "@/styles/nextra.css";
import type { AppProps } from "next/app";
import { SpeedInsights } from "@vercel/speed-insights/next";
import { Analytics } from "@vercel/analytics/react";
import Head from "next/head";

export default function App({ Component, pageProps }: AppProps) {
return (
<>
<Head>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0"
></meta>
<meta
name="description"
content="The Ultimate Starter Templates for Developers"
/>
<link rel="icon" href="/favicon/favicon.ico" type="image/x-icon" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/favicon/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon/favicon-16x16.png"
/>

<link rel="manifest" href="/site.webmanifest" />
</Head>
<Component {...pageProps} />
<SpeedInsights />
<Analytics />
Expand Down
32 changes: 31 additions & 1 deletion src/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@
import { Html, Main, NextScript } from "next/document";
import { Head, Html, Main, NextScript } from "next/document";

export default function Document() {
return (
<Html lang="en">
<Head>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0"
></meta>
<meta
name="description"
content="The Ultimate Starter Templates for Developers"
/>
<link rel="icon" href="/favicon/favicon.ico" type="image/x-icon" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/favicon/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon/favicon-16x16.png"
/>

<link rel="manifest" href="/site.webmanifest" />
</Head>
<body className="antialiased">
<Main />
<NextScript />
Expand Down

0 comments on commit 8c420fc

Please sign in to comment.