mirror of
https://github.com/ragestudio/comty.git
synced 2025-07-08 08:44:15 +00:00
Set page title and meta tags in index.html and remove Helmet usage
This commit is contained in:
parent
cc99fbc085
commit
b01905c8fd
@ -3,6 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
|
||||
<title>Comty™</title>
|
||||
<meta name="title" content="Comty™" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
||||
@ -11,7 +13,6 @@
|
||||
name="description"
|
||||
content="Comty, a prototype of social network."
|
||||
/>
|
||||
<meta name="title" content="Comty" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Comty, a prototype of social network."
|
||||
|
@ -5,7 +5,6 @@ import routesDeclarations from "@config/routes"
|
||||
|
||||
import onPageMount from "@hooks/onPageMount"
|
||||
|
||||
import { Helmet } from "react-helmet"
|
||||
import * as Sentry from "@sentry/browser"
|
||||
import { invoke } from "@tauri-apps/api/tauri"
|
||||
import * as antd from "antd"
|
||||
@ -113,15 +112,6 @@ class ComtyApp extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<React.Fragment>
|
||||
<Helmet>
|
||||
<title>{config.app.siteName}</title>
|
||||
<meta
|
||||
name="og:description"
|
||||
content={config.app.siteDescription}
|
||||
/>
|
||||
<meta property="og:title" content={config.app.siteName} />
|
||||
</Helmet>
|
||||
|
||||
<ThemeProvider>
|
||||
{window.__TAURI__ && <DesktopTopBar />}
|
||||
<Layout staticRenders={ComtyApp.staticRenders}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user