mirror of
https://github.com/phuoc-ng/csslayout.git
synced 2025-08-19 04:11:24 +02:00
Add meta tags for patterns
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
*/
|
||||
|
||||
import * as React from 'react';
|
||||
import { Helmet } from 'react-helmet';
|
||||
|
||||
import Footer from './Footer';
|
||||
import Header from './Header';
|
||||
@@ -16,22 +15,6 @@ const Layout: React.FC<{}> = ({ children }) => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<Helmet>
|
||||
<meta property="og:description" content="A collection of popular layouts and patterns made with CSS" />
|
||||
<meta property="og:image" content="https://csslayout.io/assets/screenshot.png" />
|
||||
<meta property="og:site_name" content="CSS Layout" />
|
||||
<meta property="og:title" content="CSS Layout ∙ A collection of popular layouts and patterns made with CSS" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://csslayout.io" />
|
||||
|
||||
<meta property="twitter:card" content="summary_large_image" />
|
||||
<meta property="twitter:creator" content="@nghuuphuoc" />
|
||||
<meta property="twitter:description" content="A collection of popular layouts and patterns made with CSS" />
|
||||
<meta property="twitter:image" content="https://csslayout.io/assets/screenshot.png" />
|
||||
<meta property="twitter:site" content="@nghuuphuoc" />
|
||||
<meta property="twitter:title" content="CSS Layout ∙ A collection of popular layouts and patterns made with CSS" />
|
||||
<meta property="twitter:url" content="https://csslayout.io" />
|
||||
</Helmet>
|
||||
<Header />
|
||||
{children}
|
||||
<Footer />
|
||||
|
Reference in New Issue
Block a user