Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update events page data #182

Merged
merged 2 commits into from
Oct 19, 2024
Merged
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
30 changes: 13 additions & 17 deletions src/app/events/page.jsx
Original file line number Diff line number Diff line change
@@ -1,39 +1,35 @@
'use client';
import {
GL_descriptionItems,
GL_previewItems,
} from '@/config/content/EventsPage/GuestLecture/Data';
// import { Heading3 } from '@/components/shared/Typography/Headings';
import { EventsContainer, Heading3 } from './page.style';
import MainCarousel from '@/components/EventsPage/index';
import {
FE_descriptionItems,
FE_previewItems,
} from '@/config/content/EventsPage/FlagshipEvents/Data';
import {
Exhibition_descriptionItems,
FE_descriptionItems,
ME_previewItems,
ME_descriptionItems,
GL_previewItems,
GL_descriptionItems,
Exhibition_previewItems,
} from '@/config/content/EventsPage/Exhibition/Data';
import { DTS_previewItems } from '@/config/content/EventsPage/DTS_Shows/Data';
import { ME_descriptionItems, ME_previewItems } from '@/config/content/EventsPage/MainEvents/Data';
Exhibition_descriptionItems,
DTS_previewItems,
DTS_descriptionItems,
} from '@/config/content/EventsPage';

export default function Page() {
return (
<EventsContainer>
<Heading3>GUEST LECTURES</Heading3>
<MainCarousel previewItems={GL_previewItems} descriptionItems={GL_descriptionItems} />
<Heading3>FLAGSHIP EVENTS</Heading3>
<MainCarousel previewItems={FE_previewItems} descriptionItems={FE_descriptionItems} />
{/* <Heading3>GUEST LECTURES</Heading3>
<MainCarousel previewItems={GL_previewItems} descriptionItems={GL_descriptionItems} /> */}
<Heading3>MAIN EVENTS</Heading3>
<MainCarousel previewItems={ME_previewItems} descriptionItems={ME_descriptionItems} />
{/* <Heading3>SHOWS AT DTS</Heading3>
<MainCarousel previewItems={DTS_previewItems} descriptionItems={DTS_descriptionItems} /> */}
<Heading3>EXHIBITION</Heading3>
<MainCarousel
previewItems={Exhibition_previewItems}
descriptionItems={Exhibition_descriptionItems}
/>
<Heading3>SHOWS AT DTS</Heading3>
<MainCarousel previewItems={DTS_previewItems} descriptionItems={GL_descriptionItems} />
<Heading3>GALLERY</Heading3>
</EventsContainer>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import {
DescriptionCardContent,
DescriptionCardBottom,
} from './DetailsCard.style';
// import { MainBar, MenuLogoItem } from '@/components/Marginals/navbar/navbar.styles';

function DetailsCard({ ImageURL, Heading, Description }) {
function DetailsCard({ ImageURL, Heading, Description, Location, Date, Time, Prizes }) {
return (
<div className='flex flex-col items-center gap-5'>
<DescriptionCardContainer>
Expand All @@ -33,7 +32,16 @@ function DetailsCard({ ImageURL, Heading, Description }) {
width={60}
height={60}
/>
<div className='font-bold'>BBA </div>
<div className='font-bold'>{Location} </div>
</div>
<div className='flex gap-1 items-center '>
<Image
src='https://res.cloudinary.com/dhv234qct/image/upload/v1729337575/ywb8h5oubo7hlqrmtjxa.svg'
alt='img'
width={60}
height={60}
/>
<div className='font-bold'>{Prizes} </div>
</div>
<div className='flex gap-4 items-center '>
<Image
Expand All @@ -44,8 +52,8 @@ function DetailsCard({ ImageURL, Heading, Description }) {
className='w-[48px] h-[48px] xsm:w-[60px] xsm:h-[60px]'
/>
<div className='flex flex-col '>
<div className='font-bold'>19th OCT</div>
<div className='font-semibold text-xs xsm:text-xl text-white/[0.5]'>4:00 AM</div>
<div className='font-bold'>{Date}</div>
<div className='font-semibold text-xs xsm:text-xl text-white'>{Time}</div>
</div>
</div>
</DescriptionCardBottom>
Expand Down
4 changes: 4 additions & 0 deletions src/config/content/EventsPage/DTS_Shows/Data.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const DTS_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: 'DTS Stage',
Date: '',
Time: '',
},
{
id: 2,
Expand All @@ -43,6 +44,7 @@ export const DTS_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: 'DTS Stage',
Date: '',
Time: '',
},
{
id: 3,
Expand All @@ -52,6 +54,7 @@ export const DTS_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: 'DTS Stage',
Date: '',
Time: '',
},
{
id: 4,
Expand All @@ -61,5 +64,6 @@ export const DTS_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: 'DTS Stage',
Date: '',
Time: '',
},
];
4 changes: 4 additions & 0 deletions src/config/content/EventsPage/Exhibition/Data.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const Exhibition_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: '',
Date: '',
Time: '',
},
{
id: 2,
Expand All @@ -43,6 +44,7 @@ export const Exhibition_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: '',
Date: '',
Time: '',
},
{
id: 3,
Expand All @@ -52,6 +54,7 @@ export const Exhibition_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: 'Chemical Dept Parking',
Date: '',
Time: '',
},
{
id: 4,
Expand All @@ -61,5 +64,6 @@ export const Exhibition_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: 'RM HALL',
Date: '',
Time: '',
},
];
13 changes: 10 additions & 3 deletions src/config/content/EventsPage/FlagshipEvents/Data.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export const FE_descriptionItems = [
'https://res.cloudinary.com/dwfon2ikz/image/upload/v1729179008/inno-2024/Event%20Posters/Cyborg/DeathRace/ljimi3k8z9jb1ee75jgr.jpg',
Location: 'SAC (In front of SAC stairs)',
Date: 'Day 2, Day 3',
Time: '',
Prizes: '₹40000',
},
{
Expand All @@ -73,6 +74,7 @@ export const FE_descriptionItems = [
'https://res.cloudinary.com/dwfon2ikz/image/upload/v1729179013/inno-2024/Event%20Posters/UDAAN/v4yhrdzyfrok0vnweijv.png',
Location: 'STS Ground',
Date: 'Day 2',
Time: '',
Prizes: '₹15000',
},
{
Expand All @@ -83,6 +85,7 @@ export const FE_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png600', // GTA To be updated
Location: '',
Date: '',
Time: '',
Prizes: '₹6000',
},
{
Expand All @@ -93,6 +96,7 @@ export const FE_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png', // GENESYS To be updated
Location: 'LA-1 Cycle Parking',
Date: '',
Time: '',
Prizes: '₹8000',
},
{
Expand All @@ -103,6 +107,7 @@ export const FE_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png', // AXIOM To be updated
Location: 'LA Lawns, LA 004, LA 009, Academic Area',
Date: 'Day 2',
Time: '',
Prizes: '₹8000',
},
{
Expand All @@ -113,6 +118,7 @@ export const FE_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png', // APS To be updated
Location: '',
Date: '',
Time: '',
Prizes: '₹8000',
},
{
Expand All @@ -124,6 +130,7 @@ export const FE_descriptionItems = [
'https://res.cloudinary.com/dwfon2ikz/image/upload/v1729179001/inno-2024/Event%20Posters/Astro_NITR/clqps60ndso26fmw101a.png',
Location: '',
Date: '',
Time: '',
Prizes: '',
},
{
Expand All @@ -132,9 +139,9 @@ export const FE_descriptionItems = [
Description:
'"Chemistry has energy and it\'s meant to be felt." In this thrilling event, teams of up to 5 students are challenged to design and construct a miniature car powered solely by chemical reactions. From the moment it starts to its final stop, every aspect of the car\'s motion must be driven by chemical processes, with no electricity or manual intervention. This event challenges you to merge chemistry with engineering and problem-solving skills. Come experience the thrill of innovation as your creation races into action. ',
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png', // TBA
Location:
'LA-Room for Day 01(for workshop) , Chemical Eng. Dept New Seminar Hall for Day 03: Chem-E-Car Test Run',
Date: 'Day 01(workshop)(02:00 PM - 05:00 PM), Day 03(Car Testing) (11:00 AM - 01:00 PM)',
Location: 'Day 1: LA-Room , Day 3: Chemical Eng. Dept New Seminar Hall',
Date: 'Day 1: 02:00 PM - 05:00 PM, Day 3: 11:00 AM - 01:00 PM',
Time: '',
Prizes: '',
},
];
6 changes: 6 additions & 0 deletions src/config/content/EventsPage/GuestLecture/Data.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export const GL_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: 'BBA',
Date: 'DAY 2',
Time: '',
},
{
id: 2,
Expand All @@ -55,6 +56,7 @@ export const GL_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: '',
Date: '',
Time: '',
},
{
id: 3,
Expand All @@ -64,6 +66,7 @@ export const GL_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: '',
Date: '',
Time: '',
},
{
id: 4,
Expand All @@ -73,6 +76,7 @@ export const GL_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: 'PPA',
Date: '',
Time: '',
},
{
id: 5,
Expand All @@ -82,6 +86,7 @@ export const GL_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: '',
Date: '',
Time: '',
},
{
id: 6,
Expand All @@ -91,5 +96,6 @@ export const GL_descriptionItems = [
ImageURL: 'https://socialcry.com/wp-content/uploads/2024/10/dummy-image-lorem-ipsum.png',
Location: 'BBA',
Date: 'DAY 3',
Time: '',
},
];
Loading
Loading