Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/pages/about-us.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ const tnpStaff: Array<StaffTNP> = [
experties: "Assistant Professor"
},
];

export async function getStaticProps() {
return {
title: 'About Us - TCET Training and Placement Cell',
description: 'Learn more about the TCET Training and Placement Cell, its staff, and how to contact them.'
};
}
---

<Layout
Expand Down
8 changes: 8 additions & 0 deletions src/pages/events/[event].astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ const { event } = Astro.params;
// console.log("astro props: ", Astro.props );
const currentEvent = data.find((d) => d.slug === event) as EventType;
console.log(currentEvent.data)

export async function getStaticProps() {
return {
title: "TCET Training and Placement Cell - Official Website",
description: "Explore the official website of the Training and Placement Cell at Thakur College of Engineering and Technology. Get information on events, attendance, and more.",
};
}

---

<Layout
Expand Down
11 changes: 9 additions & 2 deletions src/pages/guidelines.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
---
import Layout from "../layouts/Layout.astro";

export async function serverSideProps() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it be getStaticProps()

return {
title: "Guidelines for Campus Placement | TCET Training and Placement Cell",
description: "Explore the official guidelines for campus placement at Thakur College of Engineering and Technology's Training and Placement Cell. Learn about eligibility criteria, dress code, and essential instructions for a successful placement process."
};
}

---

<Layout
Expand All @@ -18,8 +26,7 @@ import Layout from "../layouts/Layout.astro";
Guidelines for Campus Placement
</h1>
<div
class="leading-relaxed mb-3 text-justify text-sm md:text-base xl:text-lg text-slate-600 p-2
"
class="leading-relaxed mb-3 text-justify text-sm md:text-base xl:text-lg text-slate-600 p-2"
>
<ul class="list-disc p-1 lg:px-8 2xl:px-12 space-y-2">
<li>
Expand Down
9 changes: 8 additions & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@ import HeroSection from "../components/Hero/HeroSection.astro";
import HomeCharts from "../components/HomeCharts/";
import TopPlaceStudents from "../components/TopPlacedStudents/index.astro";
import StudentAward from "../components/StudentAward/StudentAward.jsx";

export async function getStaticProps() {
return {
title: "TCET - Training and Placement Cell",
description: "Explore the official website of the Training and Placement Cell at the Thakur College of Engineering and Technology. Discover top recruiters, student achievements, and more.",
}
}
---
<Layout
title="TCET - Training and Placement Cell"
description="The official Website of Training and Placement Cell of the Thakur College of Engineering and Technology"
>
<main class="block !space-y-6 md:!space-y-12 lg:!space-y-24 w-full px-8 md:px-16 overflow-hidden ">
<main class="block !space-y-6 md:!space-y-12 lg:!space-y-24 w-full px-8 md:px-16 overflow-hidden ">
<HeroSection />
<TopRecruiters />
<HomeCharts client:only="react" />
Expand Down
7 changes: 7 additions & 0 deletions src/pages/industry-interaction.astro
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ const IndustryInteractionData: IndustryInteractionType[] = [
},
];

export async function getStaticProps() {
return {
title: "Industry Interaction | TCET - Training and Placement Cell",
description: "Explore the industry interaction events organized by the Training and Placement Cell at Thakur College of Engineering and Technology. Learn about the collaborations with leading companies like Infosys and Jio, and gain insights into their corporate culture and hiring processes.",
}
}

// console.log(IndustryInteractionData.slice(0, 2));
---

Expand Down
7 changes: 6 additions & 1 deletion src/pages/internship.astro
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,12 @@ const studentRelation = {
]
};


export async function getStaticProps() {
return {
title: "Internships | TCET - Training and Placement Cell",
description: "Explore the world of internships at Thakur College of Engineering and Technology's Training and Placement Cell. Discover internship opportunities with leading companies and insights into the number of companies providing internships and the students participating in these programs.",
};
}

---

Expand Down
7 changes: 7 additions & 0 deletions src/pages/placement.astro
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,13 @@ const regular: CompanyCardType[] = [
},
]

export async function getStaticProps() {
return {
title: "Placements | TCET - Training and Placement Cell",
description: "Explore the world of placements at Thakur College of Engineering and Technology's Training and Placement Cell. Discover top companies offering placements and their categories, including Super Dream, Dream, and Regular companies.",
};
}

---

<Layout
Expand Down
8 changes: 8 additions & 0 deletions src/pages/students-placed.astro
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ const allStarPerformers = [
},

]

export async function getStaticProps() {
return {
title: "Placed Students | TCET - Training and Placement Cell",
description: "Explore the achievements of TCET's placed students, including Super Star Performers and Year-Wise Star Performers. Find out more about the success stories and download placement registration forms for different batches.",
};
}

---

<Layout
Expand Down
8 changes: 8 additions & 0 deletions src/pages/training.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ import ProfessionalBodies from "../components/Training/ProfessionalBodies/index.
import TcetOpenSource from "../components/Training/TcetOpenSource/index.astro";
import HugeEvents from "../components/Training/HugeEvents/index.astro";
import TrainingHero from "../components/Training/TrainingHero/index.astro";

export async function getStaticProps() {
return {
title: "About Us - TCET Training and Placement Cell",
description: "Learn more about the TCET Training and Placement Cell, its staff, and how to contact them."
};
}

---

<Layout
Expand Down