Skip to content

Commit 5f3bf9e

Browse files
committed
robots.txt added
1 parent 26527f1 commit 5f3bf9e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

pages/tutorial/blog-with-sidebar-layout.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ import CodeBlock from "../../src/components/CodeBlock";
55
import { HowToUseImageCode, HowToUseList, HowToUseSeperator, HowToUseTextCode, rightSideAdCode } from "../../src/constants/codeBlocks";
66

77
const Article = () => {
8+
const ads = [
9+
'<iframe sandbox="allow-popups allow-scripts allow-modals allow-forms allow-same-origin" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-in.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=IN&source=ss&ref=as_ss_li_til&ad_type=product_link&tracking_id=webexpestor02-21&language=en_IN&marketplace=amazon&region=IN&placement=B09N3ZNHTY&asins=B09N3ZNHTY&linkId=4105a64f5c32e42007f83bd7a9e20fbb&show_border=true&link_opens_in_new_window=true"></iframe>',
10+
'<iframe sandbox="allow-popups allow-scripts allow-modals allow-forms allow-same-origin" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-in.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=IN&source=ss&ref=as_ss_li_til&ad_type=product_link&tracking_id=webexpestor02-21&language=en_IN&marketplace=amazon&region=IN&placement=B08CHZ3ZQ7&asins=B08CHZ3ZQ7&linkId=8a8653c24dc89b1ee6a3ac2a85c7208b&show_border=true&link_opens_in_new_window=true"></iframe>'
11+
]
812
return (
913
// pass blogwithsidebar as show below for article page with sidebar layout
10-
<PageLayout blogwithsidebar>
14+
<PageLayout blogwithsidebar ads={ads}>
1115
<Text p>
1216
This current article is made using <b>blogwithsidebar</b> layout. This layout will be used to write your blog posts or articles.
1317
</Text>

public/robots.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-agent: *
2+
Allow: /

0 commit comments

Comments
 (0)