Skip to content

Commit 3ba41f2

Browse files
fix head
1 parent da89ecd commit 3ba41f2

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

editor/pages/_app.tsx

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ function HeadInjection() {
2525
return (
2626
<Head>
2727
<GlobalCss />
28-
<SeoMeta />
28+
29+
<title>Grida Code</title>
30+
<link rel="shortcut icon" href="/favicon.png" />
31+
<link rel="icon" href="/favicon.png" />
32+
<meta property="title" content="Design to Codes" />
33+
<meta property="description" content="Design to Codes description" />
34+
2935
{/* safari 15 color */}
3036
<meta
3137
name="theme-color"
@@ -81,18 +87,6 @@ function HeadInjection() {
8187
);
8288
}
8389

84-
function SeoMeta() {
85-
return (
86-
<>
87-
<title>Grida code</title>
88-
<link rel="shortcut icon" href="/favicon.png" />
89-
<link rel="icon" href="/favicon.png" />
90-
<meta property="title" content="Design to Codes" />
91-
<meta property="description" content="Design to Codes description" />
92-
</>
93-
);
94-
}
95-
9690
function EditorApp({ Component, pageProps }) {
9791
const router = useRouter();
9892
const _path = router.asPath.replace("/", "");

0 commit comments

Comments
 (0)