Skip to content

Commit

Permalink
add google adsense
Browse files Browse the repository at this point in the history
  • Loading branch information
yousefomar724 committed Jul 7, 2022
1 parent bf182cb commit 3cd6b24
Show file tree
Hide file tree
Showing 12 changed files with 66 additions and 9 deletions.
5 changes: 5 additions & 0 deletions pages/about-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ const AboutUsPage = () => {
<>
<Head>
<title>سوريا للصرافة | {t('description.AboutUs')}</title>
<script
async
src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4833236828935969'
crossOrigin='anonymous'
></script>
</Head>
<Header111 />
<ScrollToTop />
Expand Down
5 changes: 5 additions & 0 deletions pages/advertise-with-us.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ const AdvertiseWithUsPage = ({ history }) => {
<>
<Head>
<title>سوريا للصرافة | {t('description.AdvertiseWithUs')}</title>
<script
async
src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4833236828935969'
crossOrigin='anonymous'
></script>
</Head>
<Header111 />
<ScrollToTop />
Expand Down
5 changes: 5 additions & 0 deletions pages/get-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ const GetApiPage = () => {
<>
<Head>
<title>سوريا للصرافة | {t('description.GetApi')}</title>
<script
async
src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4833236828935969'
crossOrigin='anonymous'
></script>
</Head>
<Header111 />
<ScrollToTop />
Expand Down
5 changes: 5 additions & 0 deletions pages/gold.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ const GoldPage = () => {
<>
<Head>
<title>سوريا للصرافة | {t('description.headerGold')}</title>
<script
async
src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4833236828935969'
crossOrigin='anonymous'
></script>
</Head>
<Header111 />
<ScrollToTop />
Expand Down
14 changes: 5 additions & 9 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,12 @@ export default function Home() {
name='description'
content='سعر صرف الليرة السورية مقابل الدولار في جميع المحافظات و اسعار الذهب في سوريا سعر صرف الليرة السورية مقابل العملات سعر صرف الليرة التركية اسعار الذهب في تركيا الليرة اليوم قيمة الليرة السورية صرف الليرة السورية سعر الدولار صرف الدولار تحويل الى سوريا'
/>
<script
async
src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4833236828935969'
crossOrigin='anonymous'
></script>
</Head>
<Script
async
src='https://www.googletagmanager.com/gtag/js?id=G-XRGSDPNWJX'
/>
<Script
async
src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7449694416039010'
crossOrigin='anonymous'
/>
<Header111 />
<ScrollToTop />
<main>
Expand Down
8 changes: 8 additions & 0 deletions pages/international-coin/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import InterGoldPrices from '../../components/turkish-gold-prices/InterGoldPrice
import Footer from '../../components/footer/Footer'
import Header111 from '../../components/Header111'
import ScrollToTop from '../../components/ScrollToTop'
import Head from 'next/head'

const CURRENCY_ABBRE_TO_NAME = {
USD: ['USA Dollar', 'دولار امريكي'],
Expand Down Expand Up @@ -108,6 +109,13 @@ const InternationalCoinPage = ({ coins, internationalCoinsData }) => {
return (
<>
<NextSeo title={title} />
<Head>
<script
async
src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4833236828935969'
crossOrigin='anonymous'
></script>
</Head>
<Header111 />
<ScrollToTop />
<Container className='mt-4' as='main'>
Expand Down
5 changes: 5 additions & 0 deletions pages/news.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ const NewsPage = () => {
<>
<Head>
<title>سوريا للصرافة | {t('description.headerNews')}</title>
<script
async
src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4833236828935969'
crossOrigin='anonymous'
></script>
</Head>
<Header111 />
<ScrollToTop />
Expand Down
8 changes: 8 additions & 0 deletions pages/post/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
import { Markup, renderMarkup } from 'react-render-markup'
import Skeleton from 'react-loading-skeleton'
import Header111 from '../../components/Header111'
import Head from 'next/head'

export const getStaticProps = async (context) => {
const { id } = context.params
Expand Down Expand Up @@ -90,6 +91,13 @@ const SinglePostPage = ({ post, financialPosts }) => {
cardType: 'summary_large_image',
}}
/>
<Head>
<script
async
src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4833236828935969'
crossOrigin='anonymous'
></script>
</Head>

<Header111 />
<ScrollToTop />
Expand Down
5 changes: 5 additions & 0 deletions pages/privacy-policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ const PrivacyPolicyPage = () => {
<>
<Head>
<title>سوريا للصرافة | {t('description.PrivacyPolicy.title')}</title>
<script
async
src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4833236828935969'
crossOrigin='anonymous'
></script>
</Head>
<Header111 />
<ScrollToTop />
Expand Down
5 changes: 5 additions & 0 deletions pages/syrian-pound.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ const SryianBoundPage = ({ kinanDD }) => {
<>
<Head>
<title>سوريا للصرافة | {t('description.headerSYP')}</title>
<script
async
src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4833236828935969'
crossOrigin='anonymous'
></script>
</Head>
<Header111 />
<ScrollToTop />
Expand Down
5 changes: 5 additions & 0 deletions pages/turkish-pound.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ const TurkishPoundPage = () => {
<>
<Head>
<title>سوريا للصرافة | {t('description.headerTRY')}</title>
<script
async
src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4833236828935969'
crossOrigin='anonymous'
></script>
</Head>
<Header111 />
<ScrollToTop />
Expand Down
5 changes: 5 additions & 0 deletions pages/user-agreement.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ const UserAgreementPage = () => {
<>
<Head>
<title>سوريا للصرافة | {t('description.UserAgreement.title')}</title>
<script
async
src='https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4833236828935969'
crossOrigin='anonymous'
></script>
</Head>
<Header111 />
<ScrollToTop />
Expand Down

1 comment on commit 3cd6b24

@vercel
Copy link

@vercel vercel bot commented on 3cd6b24 Jul 7, 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.