add canonical and alt

pull/4/head
dev sp 2024-01-13 06:36:29 +00:00
parent cc10b266be
commit 733c398be0
24 changed files with 92 additions and 68 deletions

View File

@ -2,10 +2,10 @@
import MainHeader from '../components/MainHeader.astro'; import MainHeader from '../components/MainHeader.astro';
import Footer from '../components/Footer.astro'; import Footer from '../components/Footer.astro';
export interface Props { export interface Props {
title: string; metaTitle: string; description: string; ogImg: string; tiwtterCard: string; tiwtterImage: string; tiwtterTitle: string; tiwtterDesc: string; tiwtterURL: string; artPubTime: string; artUpdtTime: string; ogSiteName: string; ogType: string; ogTitle: string; ogDesc: string; ogURL: string; title: string; metaTitle: string; description: string; ogImg: string; tiwtterCard: string; tiwtterImage: string; tiwtterTitle: string; tiwtterDesc: string; tiwtterURL: string; artPubTime: string; artUpdtTime: string; ogSiteName: string; ogType: string; ogTitle: string; ogDesc: string; ogURL: string; canonical: string;
} }
const { title, metaTitle, description, ogImg, tiwtterCard, tiwtterImage, tiwtterTitle, tiwtterDesc, tiwtterURL, artPubTime, artUpdtTime, ogSiteName, ogType, ogTitle, ogDesc, ogURL} = Astro.props; const { title, metaTitle, description, ogImg, tiwtterCard, tiwtterImage, tiwtterTitle, tiwtterDesc, tiwtterURL, artPubTime, artUpdtTime, ogSiteName, ogType, ogTitle, ogDesc, ogURL, canonical} = Astro.props;
--- ---
<!DOCTYPE html> <!DOCTYPE html>
@ -14,7 +14,7 @@ const { title, metaTitle, description, ogImg, tiwtterCard, tiwtterImage, tiwtter
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/ico+xml" href="/favicon.ico" /> <link rel="icon" type="image/ico+xml" href="/favicon.ico" />
<!-- <link rel="canonical" href={canonical} /> --> <link rel="canonical" href={canonical} />
<meta name="generator" content="barta-india.in html generator" /> <meta name="generator" content="barta-india.in html generator" />
<title>{title}</title> <title>{title}</title>
<meta name="title" content={metaTitle}> <meta name="title" content={metaTitle}>

View File

@ -3,10 +3,10 @@ import MainHeaderBN from '../components/MainHeaderBN.astro';
import TopHeader from '../components/TopHeader.astro'; import TopHeader from '../components/TopHeader.astro';
import Footer from '../components/Footer.astro'; import Footer from '../components/Footer.astro';
export interface Props { export interface Props {
title: string; metaTitle: string; description: string; ogImg: string; tiwtterCard: string; tiwtterImage: string; tiwtterTitle: string; tiwtterDesc: string; tiwtterURL: string; artPubTime: string; artUpdtTime: string; ogSiteName: string; ogType: string; ogTitle: string; ogDesc: string; ogURL: string; title: string; metaTitle: string; description: string; ogImg: string; tiwtterCard: string; tiwtterImage: string; tiwtterTitle: string; tiwtterDesc: string; tiwtterURL: string; artPubTime: string; artUpdtTime: string; ogSiteName: string; ogType: string; ogTitle: string; ogDesc: string; ogURL: string; canonical: string;
} }
const { title, metaTitle, description, ogImg, tiwtterCard, tiwtterImage, tiwtterTitle, tiwtterDesc, tiwtterURL, artPubTime, artUpdtTime, ogSiteName, ogType, ogTitle, ogDesc, ogURL} = Astro.props; const { title, metaTitle, description, ogImg, tiwtterCard, tiwtterImage, tiwtterTitle, tiwtterDesc, tiwtterURL, artPubTime, artUpdtTime, ogSiteName, ogType, ogTitle, ogDesc, ogURL, canonical} = Astro.props;
--- ---
<!DOCTYPE html> <!DOCTYPE html>
@ -15,7 +15,7 @@ const { title, metaTitle, description, ogImg, tiwtterCard, tiwtterImage, tiwtter
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/ico+xml" href="/favicon.ico" /> <link rel="icon" type="image/ico+xml" href="/favicon.ico" />
<!-- <link rel="canonical" href={canonical} /> --> <link rel="canonical" href={canonical} />
<meta name="generator" content="barta-india.in html generator" /> <meta name="generator" content="barta-india.in html generator" />
<title>{title}</title> <title>{title}</title>
<meta name="title" content={metaTitle}> <meta name="title" content={metaTitle}>

View File

@ -31,6 +31,7 @@ const items = data.data[idx];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.heading} ogDesc={items.heading}
ogURL=`https://barta-india.in/${items.slug}` ogURL=`https://barta-india.in/${items.slug}`
canonical=`https://barta-india.in/${items.slug}`
> >
<main> <main>
<section class="container mx-auto px-4 mt-16"> <section class="container mx-auto px-4 mt-16">
@ -38,15 +39,15 @@ const items = data.data[idx];
<h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1> <h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1>
<h2 class="text-xl py-2">{items.title}</h2> <h2 class="text-xl py-2">{items.title}</h2>
<div class="flex flex-col place-items-center"> <div class="flex flex-col place-items-center">
<img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} style="width: 40%;" /> <img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} class="md:w-[40%]" />
</div> </div>
<div class="flex flex-row justify-center md:justify-end mt-2"> <div class="flex flex-row justify-center md:justify-end mt-2">
<div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit"> <div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit">
<p class="text-xl font-bold text-[#780a0a]">Share on: </p> <p class="text-xl font-bold text-[#780a0a]">Share on: </p>
<a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt=""/></a> <a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt="WhatsApp Logo"/></a>
<a href=`https://www.facebook.com/share.php?u=https://barta-india.in/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt=""/></a> <a href=`https://www.facebook.com/share.php?u=https://barta-india.in/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt="Facebook Logo"/></a>
<a href=`http://www.x.com/share?url=https://barta-india.in/${items.slug}&text=${items.title}` target="_blank"><img src="/img/x.svg" alt=""/></a> <a href=`http://www.x.com/share?url=https://barta-india.in/${items.slug}&text=${items.title}` target="_blank"><img src="/img/x.svg" alt="Twitter/X Logo"/></a>
<a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt=""/></a> <a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt="Linkdin Logo"/></a>
</div> </div>
</div> </div>
<p class="text-justify text-red-700 mt-4" set:html={items.content}></p> <p class="text-justify text-red-700 mt-4" set:html={items.content}></p>

View File

@ -30,6 +30,7 @@ const items = data.data[idx];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.heading} ogDesc={items.heading}
ogURL=`https://barta-india.in/bn/${items.slug}` ogURL=`https://barta-india.in/bn/${items.slug}`
canonical=`https://barta-india.in/bn/${items.slug}`
> >
<main> <main>
<section class="container mx-auto px-4 mt-16"> <section class="container mx-auto px-4 mt-16">
@ -37,15 +38,15 @@ const items = data.data[idx];
<h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1> <h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1>
<h2 class="text-xl py-2">{items.title}</h2> <h2 class="text-xl py-2">{items.title}</h2>
<div class="flex flex-col place-items-center"> <div class="flex flex-col place-items-center">
<img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} style="width: 40%;" /> <img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} class="md:w-[40%]" />
</div> </div>
<div class="flex flex-row justify-center md:justify-end mt-2"> <div class="flex flex-row justify-center md:justify-end mt-2">
<div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit"> <div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit">
<p class="text-xl font-bold text-[#780a0a]">Share on: </p> <p class="text-xl font-bold text-[#780a0a]">Share on: </p>
<a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/bn/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt=""/></a> <a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/bn/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt="WhatsApp Logo"/></a>
<a href=`https://www.facebook.com/share.php?u=https://barta-india.in/bn/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt=""/></a> <a href=`https://www.facebook.com/share.php?u=https://barta-india.in/bn/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt="Facebook Logo"/></a>
<a href=`http://www.twitter.com/share?url=https://barta-india.in/bn/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt=""/></a> <a href=`http://www.twitter.com/share?url=https://barta-india.in/bn/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt="Twitter/X Logo"/></a>
<a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/bn/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt=""/></a> <a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/bn/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt="Linkdin Logo"/></a>
</div> </div>
</div> </div>
<p class="text-justify text-red-700 mt-4" set:html={items.content}></p> <p class="text-justify text-red-700 mt-4" set:html={items.content}></p>

View File

@ -25,6 +25,7 @@ const items = metaJSON.data[0];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.description} ogDesc={items.description}
ogURL=`https://barta-india.in/bn` ogURL=`https://barta-india.in/bn`
canonical=`https://barta-india.in/bn`
> >
<main> <main>
<section class="container mx-auto px-4"> <section class="container mx-auto px-4">
@ -38,7 +39,7 @@ const items = metaJSON.data[0];
<div class="flex flex-col"> <div class="flex flex-col">
<a href={`/bn/${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a> <a href={`/bn/${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a>
<h2 class="text-lg line-clamp-1">{items.title}</h2> <h2 class="text-lg line-clamp-1">{items.title}</h2>
<img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt=""/> <img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} />
<div class="h-[100px] overflow-y-hidden"> <div class="h-[100px] overflow-y-hidden">
<p id="" set:html={items.content}></p> <p id="" set:html={items.content}></p>
</div> </div>

View File

@ -30,6 +30,7 @@ const items = data.data[idx];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.heading} ogDesc={items.heading}
ogURL=`https://barta-india.in/bn/local/${items.slug}` ogURL=`https://barta-india.in/bn/local/${items.slug}`
canonical=`https://barta-india.in/bn/local/${items.slug}`
> >
<main> <main>
<section class="container mx-auto px-4 mt-16"> <section class="container mx-auto px-4 mt-16">
@ -37,15 +38,15 @@ const items = data.data[idx];
<h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1> <h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1>
<h2 class="text-xl py-2">{items.title}</h2> <h2 class="text-xl py-2">{items.title}</h2>
<div class="flex flex-col place-items-center"> <div class="flex flex-col place-items-center">
<img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} style="width: 40%;" /> <img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} class="md:w-[40%]" />
</div> </div>
<div class="flex flex-row justify-center md:justify-end mt-2"> <div class="flex flex-row justify-center md:justify-end mt-2">
<div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit"> <div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit">
<p class="text-xl font-bold text-[#780a0a]">Share on: </p> <p class="text-xl font-bold text-[#780a0a]">Share on: </p>
<a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/bn/local/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt=""/></a> <a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/bn/local/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt="WhatsApp Logo"/></a>
<a href=`https://www.facebook.com/share.php?u=https://barta-india.in/bn/local/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt=""/></a> <a href=`https://www.facebook.com/share.php?u=https://barta-india.in/bn/local/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt="Facebook Logo"/></a>
<a href=`http://www.twitter.com/share?url=https://barta-india.in/bn/local/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt=""/></a> <a href=`http://www.twitter.com/share?url=https://barta-india.in/bn/local/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt="Twitter/X Logo"/></a>
<a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/bn/local/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt=""/></a> <a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/bn/local/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt="Linkdin Logo"/></a>
</div> </div>
</div> </div>
<p class="text-justify text-red-700 mt-4" set:html={items.content}></p> <p class="text-justify text-red-700 mt-4" set:html={items.content}></p>

View File

@ -25,6 +25,7 @@ const items = metaJSON.data[0];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.description} ogDesc={items.description}
ogURL=`https://barta-india.in/bn/local/` ogURL=`https://barta-india.in/bn/local/`
canonical=`https://barta-india.in/bn/local`
> >
<main> <main>
<section class="container mx-auto px-4"> <section class="container mx-auto px-4">
@ -38,7 +39,7 @@ const items = metaJSON.data[0];
<div class="flex flex-col"> <div class="flex flex-col">
<a href={`/bn/${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a> <a href={`/bn/${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a>
<h2 class="text-lg line-clamp-1">{items.title}</h2> <h2 class="text-lg line-clamp-1">{items.title}</h2>
<img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt=""/> <img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title}/>
<div class="h-[100px] overflow-y-hidden"> <div class="h-[100px] overflow-y-hidden">
<p id="" set:html={items.content}></p> <p id="" set:html={items.content}></p>
</div> </div>

View File

@ -30,6 +30,7 @@ const items = data.data[idx];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.heading} ogDesc={items.heading}
ogURL=`https://barta-india.in/bn/national/${items.slug}` ogURL=`https://barta-india.in/bn/national/${items.slug}`
canonical=`https://barta-india.in/bn/local/${items.slug}`
> >
<main> <main>
<section class="container mx-auto px-4 mt-16"> <section class="container mx-auto px-4 mt-16">
@ -37,15 +38,15 @@ const items = data.data[idx];
<h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1> <h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1>
<h2 class="text-xl py-2">{items.title}</h2> <h2 class="text-xl py-2">{items.title}</h2>
<div class="flex flex-col place-items-center"> <div class="flex flex-col place-items-center">
<img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} style="width: 40%;" /> <img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} class="md:w-[40%]" />
</div> </div>
<div class="flex flex-row justify-center md:justify-end mt-2"> <div class="flex flex-row justify-center md:justify-end mt-2">
<div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit"> <div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit">
<p class="text-xl font-bold text-[#780a0a]">Share on: </p> <p class="text-xl font-bold text-[#780a0a]">Share on: </p>
<a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/bn/national/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt=""/></a> <a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/bn/national/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt="WhatsApp Logo"/></a>
<a href=`https://www.facebook.com/share.php?u=https://barta-india.in/bn/national/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt=""/></a> <a href=`https://www.facebook.com/share.php?u=https://barta-india.in/bn/national/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt="Facebook Logo"/></a>
<a href=`http://www.twitter.com/share?url=https://barta-india.in/bn/national/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt=""/></a> <a href=`http://www.twitter.com/share?url=https://barta-india.in/bn/national/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt="Twitter/X Logo"/></a>
<a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/bn/national/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt=""/></a> <a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/bn/national/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt="Linkdin Logo"/></a>
</div> </div>
</div> </div>
<p class="text-justify text-red-700 mt-4" set:html={items.content}></p> <p class="text-justify text-red-700 mt-4" set:html={items.content}></p>

View File

@ -24,6 +24,7 @@ const items = metaJSON.data[0];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.description} ogDesc={items.description}
ogURL=`https://barta-india.in/bn/national/` ogURL=`https://barta-india.in/bn/national/`
canonical=`https://barta-india.in/bn/national`
> >
<main> <main>
<section class="container mx-auto px-4"> <section class="container mx-auto px-4">
@ -37,7 +38,7 @@ const items = metaJSON.data[0];
<div class="flex flex-col"> <div class="flex flex-col">
<a href={`/bn/national/${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a> <a href={`/bn/national/${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a>
<h2 class="text-lg line-clamp-1">{items.title}</h2> <h2 class="text-lg line-clamp-1">{items.title}</h2>
<img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt=""/> <img class="aspect-video" src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title}/>
<div class="h-[100px] overflow-y-hidden"> <div class="h-[100px] overflow-y-hidden">
<p id="" set:html={items.content}></p> <p id="" set:html={items.content}></p>
</div> </div>

View File

@ -30,6 +30,7 @@ const items = data.data[idx];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.heading} ogDesc={items.heading}
ogURL=`https://barta-india.in/bn/politics/${items.slug}` ogURL=`https://barta-india.in/bn/politics/${items.slug}`
canonical=`https://barta-india.in/bn/politics/${items.slug}`
> >
<main> <main>
<section class="container mx-auto px-4 mt-16"> <section class="container mx-auto px-4 mt-16">
@ -37,15 +38,15 @@ const items = data.data[idx];
<h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1> <h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1>
<h2 class="text-xl py-2">{items.title}</h2> <h2 class="text-xl py-2">{items.title}</h2>
<div class="flex flex-col place-items-center"> <div class="flex flex-col place-items-center">
<img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} style="width: 40%;" /> <img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} class="md:w-[40%]" />
</div> </div>
<div class="flex flex-row justify-center md:justify-end mt-2"> <div class="flex flex-row justify-center md:justify-end mt-2">
<div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit"> <div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit">
<p class="text-xl font-bold text-[#780a0a]">Share on: </p> <p class="text-xl font-bold text-[#780a0a]">Share on: </p>
<a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/bn/politics/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt=""/></a> <a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/bn/politics/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt="WhatsApp Logo"/></a>
<a href=`https://www.facebook.com/share.php?u=https://barta-india.in/bn/politics/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt=""/></a> <a href=`https://www.facebook.com/share.php?u=https://barta-india.in/bn/politics/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt="Facebook Logo"/></a>
<a href=`http://www.twitter.com/share?url=https://barta-india.in/bn/politics/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt=""/></a> <a href=`http://www.twitter.com/share?url=https://barta-india.in/bn/politics/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt="Twitter/X Logo"/></a>
<a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/bn/politics/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt=""/></a> <a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/bn/politics/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt="Linkdin Logo"/></a>
</div> </div>
</div> </div>
<p class="text-justify text-red-700 mt-4" set:html={items.content}></p> <p class="text-justify text-red-700 mt-4" set:html={items.content}></p>

View File

@ -25,6 +25,7 @@ const items = metaJSON.data[0];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.description} ogDesc={items.description}
ogURL=`https://barta-india.in/bn/politics/` ogURL=`https://barta-india.in/bn/politics/`
canonical=`https://barta-india.in/bn/politics`
> >
<main> <main>
<section class="container mx-auto px-4"> <section class="container mx-auto px-4">
@ -38,7 +39,7 @@ const items = metaJSON.data[0];
<div class="flex flex-col"> <div class="flex flex-col">
<a href={`/bn/politics/${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a> <a href={`/bn/politics/${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a>
<h2 class="text-lg line-clamp-1">{items.title}</h2> <h2 class="text-lg line-clamp-1">{items.title}</h2>
<img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt=""/> <img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title}/>
<div class="h-[100px] overflow-y-hidden"> <div class="h-[100px] overflow-y-hidden">
<p id="" set:html={items.content}></p> <p id="" set:html={items.content}></p>
</div> </div>

View File

@ -30,6 +30,7 @@ const items = data.data[idx];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.heading} ogDesc={items.heading}
ogURL=`https://barta-india.in/bn/technology/${items.slug}` ogURL=`https://barta-india.in/bn/technology/${items.slug}`
canonical=`https://barta-india.in/bn/politics/${items.slug}`
> >
<main> <main>
<section class="container mx-auto px-4 mt-16"> <section class="container mx-auto px-4 mt-16">
@ -37,15 +38,15 @@ const items = data.data[idx];
<h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1> <h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1>
<h2 class="text-xl py-2">{items.title}</h2> <h2 class="text-xl py-2">{items.title}</h2>
<div class="flex flex-col place-items-center"> <div class="flex flex-col place-items-center">
<img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} style="width: 40%;" /> <img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} class="md:w-[40%]" />
</div> </div>
<div class="flex flex-row justify-center md:justify-end mt-2"> <div class="flex flex-row justify-center md:justify-end mt-2">
<div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit"> <div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit">
<p class="text-xl font-bold text-[#780a0a]">Share on: </p> <p class="text-xl font-bold text-[#780a0a]">Share on: </p>
<a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/bn/technology/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt=""/></a> <a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/bn/technology/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt="WhatsApp Logo"/></a>
<a href=`https://www.facebook.com/share.php?u=https://barta-india.in/bn/technology/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt=""/></a> <a href=`https://www.facebook.com/share.php?u=https://barta-india.in/bn/technology/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt="Facebook Logo"/></a>
<a href=`http://www.twitter.com/share?url=https://barta-india.in/bn/technology/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt=""/></a> <a href=`http://www.twitter.com/share?url=https://barta-india.in/bn/technology/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt="Twitter/X Logo"/></a>
<a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/bn/technology/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt=""/></a> <a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/bn/technology/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt="Linkdin Logo"/></a>
</div> </div>
</div> </div>
<p class="text-justify text-red-700 mt-4" set:html={items.content}></p> <p class="text-justify text-red-700 mt-4" set:html={items.content}></p>

View File

@ -25,6 +25,7 @@ const items = metaJSON.data[0];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.description} ogDesc={items.description}
ogURL=`https://barta-india.in/bn/technology/` ogURL=`https://barta-india.in/bn/technology/`
canonical=`https://barta-india.in/bn/technology`
> >
<main> <main>
<section class="container mx-auto px-4"> <section class="container mx-auto px-4">
@ -38,7 +39,7 @@ const items = metaJSON.data[0];
<div class="flex flex-col"> <div class="flex flex-col">
<a href={`/bn/technology/${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a> <a href={`/bn/technology/${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a>
<h2 class="text-lg line-clamp-1">{items.title}</h2> <h2 class="text-lg line-clamp-1">{items.title}</h2>
<img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt=""/> <img class="aspect-video" src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} />
<div class="h-[100px] overflow-y-hidden"> <div class="h-[100px] overflow-y-hidden">
<p id="" set:html={items.content}></p> <p id="" set:html={items.content}></p>
</div> </div>

View File

@ -26,6 +26,7 @@ const items = metaJSON.data[0];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.description} ogDesc={items.description}
ogURL=`https://barta-india.in` ogURL=`https://barta-india.in`
canonical=`https://barta-india.in`
> >
<main> <main>
<section class="container mx-auto px-4"> <section class="container mx-auto px-4">
@ -36,7 +37,7 @@ const items = metaJSON.data[0];
<div class="flex flex-col"> <div class="flex flex-col">
<a href={`/${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a> <a href={`/${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a>
<h2 class="text-lg line-clamp-1">{items.title}</h2> <h2 class="text-lg line-clamp-1">{items.title}</h2>
<img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt=""/> <img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} />
<div class="h-[100px] overflow-y-hidden"> <div class="h-[100px] overflow-y-hidden">
<p id="" set:html={items.content}></p> <p id="" set:html={items.content}></p>
</div> </div>

View File

@ -30,6 +30,7 @@ const items = data.data[idx];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.heading} ogDesc={items.heading}
ogURL=`https://barta-india.in/local/${items.slug}` ogURL=`https://barta-india.in/local/${items.slug}`
canonical=`https://barta-india.in/local/${items.slug}`
> >
<main> <main>
<section class="container mx-auto px-4 mt-16"> <section class="container mx-auto px-4 mt-16">
@ -37,15 +38,15 @@ const items = data.data[idx];
<h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1> <h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1>
<h2 class="text-xl py-2">{items.title}</h2> <h2 class="text-xl py-2">{items.title}</h2>
<div class="flex flex-col place-items-center"> <div class="flex flex-col place-items-center">
<img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} style="width: 40%;" /> <img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} class="md:w-[40%]" />
</div> </div>
<div class="flex flex-row justify-center md:justify-end mt-2"> <div class="flex flex-row justify-center md:justify-end mt-2">
<div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit"> <div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit">
<p class="text-xl font-bold text-[#780a0a]">Share on: </p> <p class="text-xl font-bold text-[#780a0a]">Share on: </p>
<a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/local/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt=""/></a> <a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/local/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt="WhatsApp Logo"/></a>
<a href=`https://www.facebook.com/share.php?u=https://barta-india.in/local/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt=""/></a> <a href=`https://www.facebook.com/share.php?u=https://barta-india.in/local/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt="Facebook Logo"/></a>
<a href=`http://www.twitter.com/share?url=https://barta-india.in/local/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt=""/></a> <a href=`http://www.twitter.com/share?url=https://barta-india.in/local/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt="Twitter/X Logo"/></a>
<a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/local/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt=""/></a> <a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/local/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt="Linkdin Logo"/></a>
</div> </div>
</div> </div>
<p class="text-justify text-red-700 mt-4" set:html={items.content}></p> <p class="text-justify text-red-700 mt-4" set:html={items.content}></p>

View File

@ -25,6 +25,7 @@ const items = metaJSON.data[0];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.description} ogDesc={items.description}
ogURL=`https://barta-india.in/local/` ogURL=`https://barta-india.in/local/`
canonical=`https://barta-india.in/local`
> >
<main> <main>
<section class="container mx-auto px-4"> <section class="container mx-auto px-4">
@ -38,7 +39,7 @@ const items = metaJSON.data[0];
<div class="flex flex-col"> <div class="flex flex-col">
<a href={`/local${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a> <a href={`/local${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a>
<h2 class="text-lg line-clamp-1">{items.title}</h2> <h2 class="text-lg line-clamp-1">{items.title}</h2>
<img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt=""/> <img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} />
<div class="h-[100px] overflow-y-hidden"> <div class="h-[100px] overflow-y-hidden">
<p id="" set:html={items.content}></p> <p id="" set:html={items.content}></p>
</div> </div>

View File

@ -31,6 +31,7 @@ const items = data.data[idx];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.heading} ogDesc={items.heading}
ogURL=`https://barta-india.in/national/${items.slug}` ogURL=`https://barta-india.in/national/${items.slug}`
canonical=`https://barta-india.in/national/${items.slug}`
> >
<main> <main>
<section class="container mx-auto px-4 mt-16"> <section class="container mx-auto px-4 mt-16">
@ -38,15 +39,15 @@ const items = data.data[idx];
<h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1> <h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1>
<h2 class="text-xl py-2">{items.title}</h2> <h2 class="text-xl py-2">{items.title}</h2>
<div class="flex flex-col place-items-center"> <div class="flex flex-col place-items-center">
<img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} style="width: 40%;" /> <img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} class="md:w-[40%]" />
</div> </div>
<div class="flex flex-row justify-center md:justify-end mt-2"> <div class="flex flex-row justify-center md:justify-end mt-2">
<div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit"> <div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit">
<p class="text-xl font-bold text-[#780a0a]">Share on: </p> <p class="text-xl font-bold text-[#780a0a]">Share on: </p>
<a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/national/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt=""/></a> <a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/national/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt="WhatsApp Logo"/></a>
<a href=`https://www.facebook.com/share.php?u=https://barta-india.in/national/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt=""/></a> <a href=`https://www.facebook.com/share.php?u=https://barta-india.in/national/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt="Facebook Logo"/></a>
<a href=`http://www.twitter.com/share?url=https://barta-india.in/national/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt=""/></a> <a href=`http://www.twitter.com/share?url=https://barta-india.in/national/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt="Twitter/X Logo"/></a>
<a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/national/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt=""/></a> <a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/national/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt="Linkdin Logo"/></a>
</div> </div>
</div> </div>
<p class="text-justify text-red-700 mt-4" set:html={items.content}></p> <p class="text-justify text-red-700 mt-4" set:html={items.content}></p>

View File

@ -25,6 +25,7 @@ const items = metaJSON.data[0];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.description} ogDesc={items.description}
ogURL=`https://barta-india.in/national/` ogURL=`https://barta-india.in/national/`
canonical=`https://barta-india.in/national`
> >
<main> <main>
<section class="container mx-auto px-4"> <section class="container mx-auto px-4">
@ -38,7 +39,7 @@ const items = metaJSON.data[0];
<div class="flex flex-col"> <div class="flex flex-col">
<a href={`/national${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a> <a href={`/national${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a>
<h2 class="text-lg line-clamp-1">{items.title}</h2> <h2 class="text-lg line-clamp-1">{items.title}</h2>
<img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt=""/> <img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} />
<div class="h-[100px] overflow-y-hidden"> <div class="h-[100px] overflow-y-hidden">
<p id="" set:html={items.content}></p> <p id="" set:html={items.content}></p>
</div> </div>

View File

@ -30,6 +30,8 @@ const items = data.data[idx];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.heading} ogDesc={items.heading}
ogURL=`https://barta-india.in/politics/${items.slug}` ogURL=`https://barta-india.in/politics/${items.slug}`
canonical=`https://barta-india.in/politics/${items.slug}`
> >
<main> <main>
<section class="container mx-auto px-4 mt-16"> <section class="container mx-auto px-4 mt-16">
@ -37,15 +39,15 @@ const items = data.data[idx];
<h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1> <h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1>
<h2 class="text-xl py-2">{items.title}</h2> <h2 class="text-xl py-2">{items.title}</h2>
<div class="flex flex-col place-items-center"> <div class="flex flex-col place-items-center">
<img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} style="width: 40%;" /> <img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} class="md:w-[40%]" />
</div> </div>
<div class="flex flex-row justify-center md:justify-end mt-2"> <div class="flex flex-row justify-center md:justify-end mt-2">
<div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit"> <div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit">
<p class="text-xl font-bold text-[#780a0a]">Share on: </p> <p class="text-xl font-bold text-[#780a0a]">Share on: </p>
<a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/politics/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt=""/></a> <a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/politics/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt="WhatsApp Logo"/></a>
<a href=`https://www.facebook.com/share.php?u=https://barta-india.in/politics/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt=""/></a> <a href=`https://www.facebook.com/share.php?u=https://barta-india.in/politics/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt="Facebook Logo"/></a>
<a href=`http://www.twitter.com/share?url=https://barta-india.in/politics/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt=""/></a> <a href=`http://www.twitter.com/share?url=https://barta-india.in/politics/${items.slug}&text=Your%20${items.title}` target="_blank"><img src="/img/x.svg" alt="Twitter/X Logo"/></a>
<a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/politics/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt=""/></a> <a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/politics/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt="Linkdin Logo"/></a>
</div> </div>
</div> </div>
<p class="text-justify text-red-700 mt-4" set:html={items.content}></p> <p class="text-justify text-red-700 mt-4" set:html={items.content}></p>

View File

@ -25,6 +25,7 @@ const items = metaJSON.data[0];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.description} ogDesc={items.description}
ogURL=`https://barta-india.in/politics/` ogURL=`https://barta-india.in/politics/`
canonical=`https://barta-india.in/politics`
> >
<main> <main>
<section class="container mx-auto px-4"> <section class="container mx-auto px-4">
@ -38,7 +39,7 @@ const items = metaJSON.data[0];
<div class="flex flex-col"> <div class="flex flex-col">
<a href={`/politics${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a> <a href={`/politics${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a>
<h2 class="text-lg line-clamp-1">{items.title}</h2> <h2 class="text-lg line-clamp-1">{items.title}</h2>
<img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt=""/> <img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} />
<div class="h-[100px] overflow-y-hidden"> <div class="h-[100px] overflow-y-hidden">
<p id="" set:html={items.content}></p> <p id="" set:html={items.content}></p>
</div> </div>

View File

@ -1,7 +1,10 @@
--- ---
import Layout from "../layouts/Layout.astro"; import Layout from "../layouts/Layout.astro";
--- ---
<Layout title="Privacy Policy | Barta-India"> <Layout title="Privacy Policy | Barta-India"
canonical=`https://barta-india.in/privacy-policy`
>
<main> <main>
<div> <div>
<section class="container mx-auto px-4"> <section class="container mx-auto px-4">

View File

@ -30,6 +30,7 @@ const items = data.data[idx];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.heading} ogDesc={items.heading}
ogURL=`https://barta-india.in/technology/${items.slug}` ogURL=`https://barta-india.in/technology/${items.slug}`
canonical=`https://barta-india.in/technology/${items.slug}`
> >
<main> <main>
<section class="container mx-auto px-4 mt-16"> <section class="container mx-auto px-4 mt-16">
@ -37,15 +38,15 @@ const items = data.data[idx];
<h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1> <h1 class="text-3xl font-bold border-b-4 border-[#780A0A]">{items.heading}</h1>
<h2 class="text-xl py-2">{items.title}</h2> <h2 class="text-xl py-2">{items.title}</h2>
<div class="flex flex-col place-items-center"> <div class="flex flex-col place-items-center">
<img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} style="width: 40%;" /> <img src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} class="md:w-[40%]" />
</div> </div>
<div class="flex flex-row justify-center md:justify-end mt-2"> <div class="flex flex-row justify-center md:justify-end mt-2">
<div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit"> <div class="flex flex-row place-items-center p-2 shadow-lg shadow-[#780a0a] border-b-2 border-[#780a0a] rounded-b-2xl w-fit">
<p class="text-xl font-bold text-[#780a0a]">Share on: </p> <p class="text-xl font-bold text-[#780a0a]">Share on: </p>
<a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/technology/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt=""/></a> <a href=`whatsapp://send?text=${items.title}%20%0A%20https://barta-india.in/technology/${items.slug}` data-action="share/whatsapp/share"><img src="/img/whatsapp.svg" alt="WhatsApp Logo"/></a>
<a href=`https://www.facebook.com/share.php?u=https://barta-india.in/technology/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt=""/></a> <a href=`https://www.facebook.com/share.php?u=https://barta-india.in/technology/${items.slug}` target="_blank"><img src="/img/facebook.svg" alt="Facebook Logo"/></a>
<a href=`http://www.twitter.com/share?url=https://barta-india.in/technology/${items.slug}&text=%20${items.title}` target="_blank"><img src="/img/x.svg" alt=""/></a> <a href=`http://www.twitter.com/share?url=https://barta-india.in/technology/${items.slug}&text=%20${items.title}` target="_blank"><img src="/img/x.svg" alt="Twitter/X Logo"/></a>
<a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/technology/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt=""/></a> <a href=`https://www.linkedin.com/shareArticle?mini=true&url=https://barta-india.in/technology/${items.slug}&title=${items.title}&summary=${items.title}&source=${items.title}` onclick="window.open(this.href, 'mywin', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;"><img src="/img/link.svg" alt="Linkdin Logo"/></a>
</div> </div>
</div> </div>
<p class="text-justify text-red-700 mt-4" set:html={items.content}></p> <p class="text-justify text-red-700 mt-4" set:html={items.content}></p>

View File

@ -25,6 +25,7 @@ const items = metaJSON.data[0];
ogTitle={items.title} ogTitle={items.title}
ogDesc={items.description} ogDesc={items.description}
ogURL=`https://barta-india.in/technology/` ogURL=`https://barta-india.in/technology/`
canonical=`https://barta-india.in/technology`
> >
<main> <main>
<section class="container mx-auto px-4"> <section class="container mx-auto px-4">
@ -38,7 +39,7 @@ const items = metaJSON.data[0];
<div class="flex flex-col"> <div class="flex flex-col">
<a href={`/technology${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a> <a href={`/technology${items.slug}`} class="border-b-4 border-[#780a0a] text-2xl font-bold line-clamp-1">{items.heading}</a>
<h2 class="text-lg line-clamp-1">{items.title}</h2> <h2 class="text-lg line-clamp-1">{items.title}</h2>
<img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt=""/> <img class="aspect-video " src={`https://api7.siliconpin.com/assets/${items.img}`} alt={items.title} />
<div class="h-[100px] overflow-y-hidden"> <div class="h-[100px] overflow-y-hidden">
<p id="" set:html={items.content}></p> <p id="" set:html={items.content}></p>
</div> </div>

View File

@ -1,7 +1,7 @@
--- ---
import Layout from "../layouts/Layout.astro" import Layout from "../layouts/Layout.astro"
--- ---
<Layout title="Terms & Conditions | Barta-India" > <Layout title="Terms & Conditions | Barta-India" canonical=`https://barta-india.in/terms-and-conditions`>
<main> <main>
<div class="mt-16"> <div class="mt-16">
<section class="container mx-auto px-4 "> <section class="container mx-auto px-4 ">