1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-12 09:04:26 +02:00

Setup ads

This commit is contained in:
Phuoc Nguyen
2020-04-07 10:23:30 +07:00
parent b11f0687de
commit ed6b08e303
5 changed files with 73 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
import React from 'react';
import { Link } from 'react-router-dom';
import Ad from '../components/Ad';
import useDocumentTitle from '../hooks/useDocumentTitle';
import Layout from './Layout';
@@ -41,6 +42,7 @@ const DetailsLayout: React.FC<DetailsLayoutProps> = ({ title, children }) => {
</div>
<div className='xl:border xl:border-gray-400'>
{children}
<Ad />
</div>
</Layout>
);