Skip to content

Commit

Permalink
update default next-seo
Browse files Browse the repository at this point in the history
  • Loading branch information
yousefomar724 committed Jun 27, 2022
1 parent 8db8730 commit 48d20b2
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 18 deletions.
31 changes: 30 additions & 1 deletion pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,36 @@ function MyApp({ Component, pageProps }) {
}}
>
<SSRProvider>
<DefaultSeo {...SEO} />
<DefaultSeo
{...SEO}
additionalLinkTags={[
{
rel: 'icon',
type: 'image/svg+xml',
href: '/logo.svg',
},
{
rel: 'icon',
type: 'image/png',
href: '/favicon-32x32.png',
sizes: '32x32',
},
{
rel: 'icon',
type: 'image/png',
sizes: '16x16',
href: '/favicon-16x16.png',
},
{
rel: 'stylesheet',
href: '/assets/bootstrap/css/bootstrap.min.css',
},
{
rel: 'manifest',
href: '/manifest.json',
},
]}
/>
<Component {...pageProps} />
</SSRProvider>
</SWRConfig>
Expand Down
18 changes: 1 addition & 17 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,9 @@ export default function Home() {
return (
<div>
<Head>
<link rel='icon' type='image/svg+xml' href='/logo.svg' />
<link
rel='icon'
type='image/png'
sizes='32x32'
href='/favicon-32x32.png'
/>
<link
rel='icon'
type='image/png'
sizes='16x16'
href='/favicon-16x16.png'
/>
<meta name='viewport' content='width=device-width, initial-scale=1' />
<link rel='stylesheet' href='/assets/bootstrap/css/bootstrap.min.css' />
<link rel='apple-touch-icon' href='/apple-touch-icon.png' />
<link rel='manifest' href='/manifest.json' />
<meta name='msapplication-TileColor' content='#da532c' />
<meta name='theme-color' content='#ffffff' />
<meta name='viewport' content='width=device-width, initial-scale=1' />

<title>سوريا للصرافة</title>
<meta
Expand Down

1 comment on commit 48d20b2

@vercel
Copy link

@vercel vercel bot commented on 48d20b2 Jun 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.