Skip to content

Commit

Permalink
refactor: update the contents of the home page (#50)
Browse files Browse the repository at this point in the history
* feat(assets): update hero section images and components
- Added new image: all-excom.jpg
- Removed outdated image: duothan4.2.jpg
- Updated hero-section.tsx to reflect new content
- Modified vm-section.tsx for improved content structure

* feat: update carousel to fit viewport size on hero section

- Modified page.tsx and hero-section.tsx to make carousel dynamically adjust to the viewport size.
- Ensured images are responsive and fill available space with object-cover.

* refactor: clean up and optimize index components

- Updated home page for improved structure.
  • Loading branch information
nethmalds authored Nov 7, 2024
1 parent 34e691d commit 9e9f3f0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 24 deletions.
16 changes: 2 additions & 14 deletions src/components/index/branch-counsellors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,16 @@ const counsellors: Counsellor[] = [
position: "Branch Counsellor",
},
{
name: "Mr. Gaya Perera",
name: "Mr. Gayan Perera",
imageUrl: placeholder,
title: "Senior Lecturer at NSBM",
position: "MIC - Faculty of Computing",
},
{
name: "Mrs. Narmada Ranaweera",
imageUrl: placeholder,
title: "Senior Lecturer at NSBM",
position: "MIC - Faculty of Engineering",
},
{
name: "Ms. Kaumadee Samarakoon",
imageUrl: placeholder,
title: "Senior Lecturer at NSBM",
position: "MIC - WIE Affinity Group",
},
{
name: "Mr. Iman Ashly",
imageUrl: placeholder,
title: "Senior Lecturer at NSBM",
position: "MIC - CS Student Branch Chapter",
position: "Advisor - IEEE of WIE Affinity Group of NSBM",
},
];

Expand Down
6 changes: 3 additions & 3 deletions src/components/index/executive-committee.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ interface Member {

const members: Member[] = [
{
name: "Isura Dilshan",
name: "Chathuranga Senarathne ",
imageUrl: "https://via.placeholder.com/200",
title: "Chairperson - IEEE Student Branch",
facebookURL: "#",
linkdInURL: "#",
},
{
name: "Nirasha Herath",
name: "Dewmi Hathurusingha",
imageUrl: "https://via.placeholder.com/200",
title: "Chairperson - IEEE Women In Engineering",
facebookURL: "#",
linkdInURL: "#",
},
{
name: "Dasanjith Gunarathna",
name: "Abhishek Bandaranaike",
imageUrl: "https://via.placeholder.com/200",
title: "Chairperson - IEEE Computer Society",
facebookURL: "#",
Expand Down
7 changes: 4 additions & 3 deletions src/components/index/fellowship.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@ function fellowship() {

<div className="space-y-2 max-w-[520px] ">
<h2 className="font-bold md:text-[2.653rem] text-[2.253rem] text-opacity-85 ">
Be part of our creative community
SHAPE THE FUTURE WITH US
</h2>

<p className="font-medium md:text-[1.232rem] text-[1.132rem] text-opacity-85 ">
We love what we do and we do it with passion. We value the
experimentation of the message and smart incentives.
Creating isn’t just what we do; it’s how we think. We’re a
community of creators, problem-solvers, and innovators, all eager
to explore new ideas together. Ready to make your mark with us?
</p>

<Button className=" mx-4 mt-4 px-12 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 transition-colors ">
Expand Down
8 changes: 4 additions & 4 deletions src/components/index/vm-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ const VisionMissionSection = () => {
</CardTitle>

<CardDescription className="text-sm text-slate-700">
The Student Chapter of IEEE NSBM advises the community on ethics
The IEEE Student Branch of NSBM advises the community on ethics
policy and concerns as well as fostering awareness on ethical
issues and promoting ethical behavior amongst individuals and
organizations working within the IEEE fields of interest.
issues and promoting ethical behaviour amongst individuals and
organisations working within the IEEE fields of interest.
</CardDescription>
</CardHeader>
</Card>
Expand All @@ -47,7 +47,7 @@ const VisionMissionSection = () => {

<CardDescription className="text-sm text-slate-700">
A world in which engineers and scientists are respected for their
exemplary ethical behavior and the IEEE and its Ethics & Member
exemplary ethical behaviour and the IEEE and its Ethics & Member
Conduct Committee are recognized as a major drive in this regard.
</CardDescription>
</CardHeader>
Expand Down

0 comments on commit 9e9f3f0

Please sign in to comment.