@extends("frontend.mainlayout")
@section("title", "NSS Cell")
@section("banner")
NSS Cell
Welcome to RERF Group of Institutions' NSS Cell,
empowering students through
community service and social impact.
@endsection
@section("main")
Our NSS Cell is a vibrant community of passionate students dedicated to
making a positive impact on
society. Through a wide array of community service initiatives, we aim to
create a meaningful change,
promoting social welfare, environmental conservation, and empowering those
in need. Join us in our
journey of selfless service, personal growth, and contributing to the
greater good. Together, let's
embrace the spirit of volunteerism and work towards building a brighter,
more compassionate world.
@php
$bloodDonationImages = [
"blood 1.jpeg",
"blood 2.jpeg",
"blood 3.jpeg",
"blood 4.jpeg",
"blood 5.jpeg",
'blood
6.jpeg',
"blood 7.jpeg",
];
@endphp
@foreach ($bloodDonationImages as $bloodDonationImage)
@php
$imageUrl = asset("frontend/assets/images/nss/Blood/" . $bloodDonationImage);
@endphp
@endforeach
@php
$cleanIndiaImages = ["clean 1.jpeg", "clean 2.jpeg", "clean 3.jpeg"];
@endphp
@foreach ($cleanIndiaImages as $cleanIndiaImage)
@php
$imageUrl = asset("frontend/assets/images/nss/clean india/" . $cleanIndiaImage);
@endphp
@endforeach
@php
$posterImages = [
"POSTER-1 - Bivash Chandra Majumdar.jpg",
'HAR GHAR TIRANGA POSTER (subrajoy chowdhury EEE) -
subrajoy chowdhury-1.jpg',
"Flag WPS Office - Subhradeep Ghosh-1.jpg",
"AZADI KI - Bivash Chandra Majumdar-1.jpg",
];
@endphp
@foreach ($posterImages as $posterImage)
@php
$imageUrl = asset("frontend/assets/images/nss/digital poster making/" . $posterImage);
@endphp
@endforeach
@php
$treeImages = ["tree 1.jpeg", "tree 2.jpeg", "tree 3.jpeg", "tree 4.jpeg", "tree 5.jpeg"];
@endphp
@foreach ($treeImages as $treeImage)
@php
$imageUrl = asset("frontend/assets/images/nss/tree/" . $treeImage);
@endphp
@endforeach
@php
$imageFiles = [
"GramAnukulan-01.webp",
"GramAnukulan-02.webp",
"GramAnukulan-03.webp",
"GramAnukulan-04.webp",
"GramAnukulan-05.webp",
"GramAnukulan-06.webp",
"GramAnukulan-07.webp",
"GramAnukulan-08.webp",
"GramAnukulan-09.webp",
"GramAnukulan-10.webp",
"GramAnukulan-11.webp",
"GramAnukulan-12.webp",
"GramAnukulan-13.webp",
"GramAnukulan-14.webp",
];
@endphp
@foreach ($imageFiles as $imageFile)
@php
$imageUrl = asset("frontend/assets/images/nss/GramAnukulan/" . $imageFile);
@endphp
@endforeach
@php
$imageFiles = [
"National Sports day-01.webp",
"National Sports day-02.webp",
"National Sports day-03.webp",
"National Sports day-04.webp",
"National Sports day-05.webp",
"National Sports day-06.webp",
'National
Sports day-07.webp',
"National Sports day-08.webp",
"National Sports day-09.webp",
'National Sports
day-10.webp',
"National Sports day-11.webp",
"National Sports day-12.webp",
"National Sports day-13.webp",
"National Sports day-14.webp",
"National Sports day-15.webp",
"National Sports day-16.webp",
'National
Sports day-17.webp',
"National Sports day-18.webp",
"National Sports day-19.webp",
];
@endphp
@foreach ($imageFiles as $imageFile)
@php
$imageUrl = asset("frontend/assets/images/nss/National Sports day/" . $imageFile);
@endphp
@endforeach
— Celebration of Tree Maintenance
@php
$imageFiles = [
"Celebration of tree maintenance-01.webp",
"Celebration of tree maintenance-02.webp",
"Celebration of tree maintenance-03.webp",
"Celebration of tree maintenance-04.webp",
"Celebration of tree maintenance-05.webp",
"Celebration of tree maintenance-06.webp",
"Celebration of tree maintenance-07.webp",
"Celebration of tree maintenance-08.webp",
"Celebration of tree maintenance-09.webp",
"Celebration of tree maintenance-10.webp",
"Celebration of tree maintenance-11.webp",
"Celebration of tree maintenance-12.webp",
"Celebration of tree maintenance-13.webp",
"Celebration of tree maintenance-14.webp",
"Celebration of tree maintenance-15.webp",
"Celebration of tree maintenance-16.webp",
"Celebration of tree maintenance-17.webp",
"Celebration of tree maintenance-18.webp",
"Celebration of tree maintenance-19.webp",
"Celebration of tree maintenance-20.webp",
"Celebration of tree maintenance-21.webp",
"Celebration of tree maintenance-22.webp",
"Celebration of tree maintenance-23.webp",
"Celebration of tree maintenance-24.webp",
"Celebration of tree maintenance-25.webp",
];
@endphp
@foreach ($imageFiles as $imageFile)
@php
$imageUrl = asset(
"frontend/assets/images/nss/Celebration of tree maintenance/" . $imageFile,
);
@endphp
@endforeach
@php
$imageFiles = ["Img 1.webp"];
@endphp
@foreach ($imageFiles as $imageFile)
@php
$imageUrl = asset("frontend/assets/images/nss/Kargil Vijay Diwas/" . $imageFile);
@endphp
@endforeach
@php
$imageFiles = [
"ed (1).webp",
"ed (2).webp",
"ed (3).webp",
"ed (4).webp",
"ed (5).webp",
"ed (6).webp",
"ed (7).webp",
"ed (8).webp",
"ed (9).webp",
"ed (10).webp",
"ed (11).webp",
"ed (12).webp",
];
@endphp
@foreach ($imageFiles as $imageFile)
@php
$imageUrl = asset("frontend/assets/images/nss/engineering_day/" . $imageFile);
@endphp
@endforeach
@php
$imageFiles = [
"NSS-DAY-01.webp",
"NSS-DAY-02.webp",
"NSS-DAY-03.webp",
"NSS-DAY-04.webp",
"NSS-DAY-05.webp",
"NSS-DAY-06.webp",
"NSS-DAY-07.webp",
"NSS-DAY-08.webp",
"NSS-DAY-09.webp",
"NSS-DAY-10.webp",
"NSS-DAY-11.webp",
];
@endphp
@foreach ($imageFiles as $imageFile)
@php
$imageUrl = asset("/frontend/assets/images/nss/NSS Day Celebration 2023/" . $imageFile);
@endphp
@endforeach
— Thalassaemia Screening Camp
@php
$imageFiles = [
"Thalassaemia screening camp-01.webp",
"Thalassaemia screening camp-02.webp",
"Thalassaemia screening camp-03.webp",
"Thalassaemia screening camp-04.webp",
"Thalassaemia screening camp-05.webp",
"Thalassaemia screening camp-06.webp",
"Thalassaemia screening camp-07.webp",
"Thalassaemia screening camp-08.webp",
"Thalassaemia screening camp-09.webp",
"Thalassaemia screening camp-10.webp",
"Thalassaemia screening camp-11.webp",
"Thalassaemia screening camp-12.webp",
"Thalassaemia screening camp-13.webp",
"Thalassaemia screening camp-14.webp",
"Thalassaemia screening camp-15.webp",
"Thalassaemia screening camp-16.webp",
"Thalassaemia screening camp-17.webp",
"Thalassaemia screening camp-18.webp",
"Thalassaemia screening camp-19.webp",
"Thalassaemia screening camp-20.webp",
"Thalassaemia screening camp-21.webp",
"Thalassaemia screening camp-22.webp",
"Thalassaemia screening camp-23.webp",
"Thalassaemia screening camp-24.webp",
"Thalassaemia screening camp-25.webp",
"Thalassaemia screening camp-26.webp",
"Thalassaemia screening camp-27.webp",
"Thalassaemia screening camp-28.webp",
];
@endphp
@foreach ($imageFiles as $imageFile)
@php
$imageUrl = asset("/frontend/assets/images/nss/Thalassaemia screening camp/" . $imageFile);
@endphp
@endforeach
@php
$baseImagePath = "uploads/Committee/NSS Cell/Events/";
$imageSets = [
[
"title" => "Engineers' Day 2023",
"folder" => "Engineers' Day 2023",
],
];
function getImagesFromFolder($folder, $allowedExtensions = ["webp", "jpg", "jpeg", "png"])
{
$directory = public_path("{$folder}/");
return collect(File::files($directory))->filter(function ($file) use ($allowedExtensions) {
return in_array(strtolower($file->getExtension()), $allowedExtensions);
});
}
@endphp
@foreach ($imageSets as $imageSet)
— {{ $imageSet["title"] }}
@foreach (getImagesFromFolder("{$baseImagePath}{$imageSet["folder"]}") as $file)
@php $imageUrl = asset("{$baseImagePath}{$imageSet['folder']}/" . $file->getFilename()); @endphp

getFilename() }}" />
@endforeach
@endforeach
@php
$events = [
[
"title" => "YOGA DAY 21.06.2023",
"file" => "/frontend/assets/images/nss/events/YOGA DAY 21.06.2023.pdf",
],
[
"title" => "WORLD ENVIRONMENT DAY 05.06.2022",
"file" => "/frontend/assets/images/nss/events/WORLD ENVIRONMENT DAY 05.06.2022.pdf",
],
[
"title" => "RASHTRIYA POSHAN MAAH 14.09.2022",
"file" => "/frontend/assets/images/nss/events/RASHTRIYA POSHAN MAAH 14.09.2022.pdf",
],
];
@endphp
@foreach ($events as $event)
-
@endforeach
@php
$members = [
[
"name" => "Prabal Kumar Basak",
"designation" => "PO NSS",
"image" => "/frontend/assets/images/nss/Members/Prabal kumar basak PO-NSS.webp",
],
[
"name" => "Barnita das",
"designation" => "Member NSS",
"image" => "/frontend/assets/images/nss/Members/Barnita das Member-Nss.webp",
],
[
"name" => "Chinmay Majumder",
"designation" => "Member NSS",
"image" => "/frontend/assets/images/nss/Members/Chinmay majumder Member-Nss.webp",
],
[
"name" => "Subhadeep Mondal",
"designation" => "Member NSS",
"image" => "/frontend/assets/images/nss/Members/Subhadeep mondal Member-Nss.webp",
],
[
"name" => "Amit Ghosh",
"designation" => "Member NSS",
"image" => "/frontend/assets/images/nss/Members/Amit Ghosh Member NSS.webp",
],
[
"name" => "Aninda Das",
"designation" => "Member NSS",
"image" => "/frontend/assets/images/nss/Members/Aninda Das,Member ,NSS.webp",
],
[
"name" => "Prodip Mozumdar",
"designation" => "Member NSS",
"image" => "/frontend/assets/images/nss/Members/Prodip Mozumdar Member NSS.webp",
],
[
"name" => "Amrita Chakraborty",
"designation" => "Member NSS",
"image" => "/frontend/assets/images/nss/Members/Amrita Chakraborty .webp",
],
];
@endphp
@foreach ($members as $member)
{{ $member["name"] }}
{{ $member["designation"] }}
@endforeach
@endsection