added schema, robots.txt, sitemap.xml

master
Subhodip Ghosh 2025-09-08 13:52:24 +05:30
parent 34d59b0056
commit 44f5a797f5
5 changed files with 99 additions and 72 deletions

BIN
dist.zip

Binary file not shown.

3
robots.txt Normal file
View File

@ -0,0 +1,3 @@
# Allow all search engines to crawl everything
User-agent: *
Disallow:

52
sitemap.xml Normal file
View File

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->
<url>
<loc>https://rgyci.org/</loc>
<lastmod>2025-03-05T20:16:28+00:00</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://rgyci.org/aboutus/</loc>
<lastmod>2025-03-05T20:16:28+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://rgyci.org/chairman-message/</loc>
<lastmod>2025-03-05T20:16:28+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://rgyci.org/administrator/</loc>
<lastmod>2025-03-05T20:16:28+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://rgyci.org/online-course/</loc>
<lastmod>2025-03-05T20:16:28+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://rgyci.org/library/</loc>
<lastmod>2025-03-05T20:16:28+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://rgyci.org/gallery/</loc>
<lastmod>2025-03-05T20:16:28+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://rgyci.org/contactus/</loc>
<lastmod>2025-03-05T20:16:28+00:00</lastmod>
<priority>0.80</priority>
</url>
</urlset>

View File

@ -1,7 +1,7 @@
---
export interface Props { title: string; description: string; keywords: string; ogUrl: string; ogImage: string;}
export interface Props { title: string; description: string; keywords: string; ogUrl: string; ogImage: string; schema?: object;}
const { title, description, keywords, ogUrl, ogImage } = Astro.props;
const { title, description, keywords, ogUrl, ogImage, schema } = Astro.props;
---
<!DOCTYPE html>
@ -29,6 +29,9 @@ const { title, description, keywords, ogUrl, ogImage } = Astro.props;
<meta property="og:image" content={ogImage}>
<meta property="og:site_name" content="Rajeev Gandhi Youth Computer Institute">
<meta property="og:locale" content="en_IN">
{schema && (
<script type="application/ld+json" set:html={JSON.stringify(schema)} />
)}
</head>
<body>
<slot />

View File

@ -6,6 +6,42 @@ import Menu from '../components/Menu.astro';
import IndexSlider from '../components/IndexSlider.vue';
import Mainfooter from '../components/Mainfooter.astro';
import SwiperOne from '../components/SwiperOne';
const schema = {
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Rajeev Gandhi Youth Computer Institute Kumra Centre",
"description": "A computer training institute offering a range of diploma and advanced diploma courses in computer applications, hardware, networking, cyber security, and more.",
"image": "https://rgyci.org/img/sld/8.jpg",
"address": {
"@type": "PostalAddress",
"streetAddress": "Gourbanga Road, Vill. Kumra, P.O. Kumra Kashipur, PS Habra",
"addressLocality": "Kumra, Habra",
"addressRegion": "West Bengal",
"postalCode": "743271",
"addressCountry": "IN"
},
"telephone": "+91-7318992100",
"openingHoursSpecification": [
{
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"opens": "11:00",
"closes": "17:00"
}
],
"url": "https://rgyci.org/",
"sameAs": [
"https://www.facebook.com/rgyci"
]
};
---
<Layout
@ -14,7 +50,8 @@ import SwiperOne from '../components/SwiperOne';
keywords="RGYCI, Rajeev Gandhi Youth Computer Institute, computer education, skill development, vocational training, IT courses, digital India, job-oriented courses, technical education, computer literacy, IT training, career growth, professional training, software development, IT industry, global employment, ISO 9001:2015, education for all, IT solutions"
ogUrl="https://rgyci.org"
ogImage="/img/sld/8.jpg"
>
schema={schema}
>
<Header/>
<!-- <Online /> -->
<Menu />
@ -246,72 +283,4 @@ import SwiperOne from '../components/SwiperOne';
height: auto;
}
}
@media screen and (min-width: 801px) {
.youtube-area {
width: 100%;
height: 500px;
}
}
@media screen and (max-width: 900px) {
.youtube-area {
width: 360px;
height: 300px;
}
}
.border-bottom {
border-bottom: 2px solid #000000;
}
.bg {
width: 100%;
height: 100%;
}
.position {
width: 100%;
position: absolute ;
bottom: 0%;
font-size: 20px;
background-color: rgb(0, 0, 0); opacity:0.6;
}
.box1 {
width: 100%;
height: auto;
/* border-top-right-radius: full; */
/* border-bottom-right-radius: full; */
}
.box2 {
width: 100%;
height: auto;
border-top-left-radius: 200px;
border-bottom-left-radius: 200px;
padding-top: 48px;
padding-bottom: 84px;
}
.area {
width: 300px;
height: 450px;
background-color: rgb(255, 255, 255);
border-radius: 16px;
}
.hr {
border-top: 2px solid red;
}
.img-size {
width: 300px;
height: 200px;
}
.button-place {
position: sticky;
width: 100%;
bottom: 0px;
position: fixed;
}
.h1-text {
font-size: 20px;
color: black;
}
.h1-text:hover {
color: rgb(211, 162, 0);
}
</style>
@media screen and