Skip to content

Commit

Permalink
Merge branch 'master' into poster
Browse files Browse the repository at this point in the history
  • Loading branch information
SundarakrishnanN authored Aug 5, 2024
2 parents 047ea55 + 81f9dca commit 64996cd
Show file tree
Hide file tree
Showing 35 changed files with 62 additions and 34 deletions.
12 changes: 11 additions & 1 deletion components/CountdownTimer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,17 @@ type TimeLeft = {

const CountdownTimer = () => {
const calculateTimeLeft = (): TimeLeft => {
const difference = +new Date('2024-11-08') - +new Date();

// Get current date in IST
const now = new Date();
const istOffset = 5.5 * 60 * 60 * 1000; // 5 hours 30 minutes in milliseconds
const nowIST = new Date(now.getTime() + istOffset);

// Set the target date in IST
const targetDate = new Date('2024-11-08T00:00:00+05:30'); // Midnight of the target date in IST

const difference = +targetDate - +nowIST;

let timeLeft: TimeLeft = {
days: 0,
hours: 0,
Expand Down
65 changes: 36 additions & 29 deletions components/Gallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,39 @@ import {
createStyles,
SimpleGrid,
Card,
Image,
Container,
AspectRatio,
} from '@mantine/core'
import Image from 'next/image'

const imgLinks = [
'https://i.imgur.com/pOMnurc.png',
'https://i.imgur.com/NDp81Y1.png',
'https://i.imgur.com/6EfIKBa.png',
'https://i.ibb.co/h7qyQs8/IMG-20221223-162526-comp.jpg',
'https://i.ibb.co/t8rqP2L/IMG-20221223-154910-comp.jpg',
'https://i.ibb.co/NjZWtvf/IMG-20221222-103051-comp.jpg',
'https://i.ibb.co/6YbHtyt/20221221-121446-comp.jpg',
'https://i.ibb.co/bmKKrSL/IMG-20221223-WA0018.jpg',
'https://github.com/naveenbteli/gallery/blob/master/Album/P2570137.JPEG?raw=true',
'https://raw.githubusercontent.com/naveenbteli/gallery/master/Album/3J2A4489.JPG',
'https://raw.githubusercontent.com/naveenbteli/gallery/master/Album/3J2A4491.JPG',
'https://raw.githubusercontent.com/naveenbteli/gallery/master/Album/3J2A4510.JPG',
'https://raw.githubusercontent.com/naveenbteli/gallery/master/Album/3J2A4553.JPG',
'https://raw.githubusercontent.com/naveenbteli/gallery/master/Album/3J2A4585.JPG',
'https://raw.githubusercontent.com/naveenbteli/gallery/master/Album/3J2A4460.JPG',
'https://github.com/naveenbteli/gallery/blob/master/Album/3J2A4628.JPG?raw=true',
'https://github.com/naveenbteli/gallery/blob/master/Album/P2570098.JPG?raw=true',
'https://github.com/naveenbteli/gallery/blob/master/Album/P2570105.JPG?raw=true',
'https://github.com/naveenbteli/gallery/blob/master/Album/P2570114.JPG?raw=true',
'https://github.com/naveenbteli/gallery/blob/master/Album/3J2A4657.JPG?raw=true',
'https://github.com/naveenbteli/gallery/blob/master/Album/3J2A4674.JPG?raw=true',
'https://github.com/naveenbteli/gallery/blob/master/Album/3J2A4697.JPG?raw=true',
'https://github.com/naveenbteli/gallery/blob/master/Album/3J2A4699.JPG?raw=true',
'https://github.com/naveenbteli/gallery/blob/master/Album/3J2A4731.JPG?raw=true',
'https://github.com/naveenbteli/gallery/blob/master/Album/P2570039.JPG?raw=true',
'https://github.com/naveenbteli/gallery/blob/master/Album/P2570041.JPG?raw=true',
'https://github.com/naveenbteli/gallery/blob/master/Album/P2570066.JPG?raw=true',
'/gallery/image_1.webp',
'/gallery/image_2.webp',
'/gallery/image_3.webp',
'/gallery/image_4.webp',
'/gallery/image_5.webp',
'/gallery/image_6.webp',
'/gallery/image_7.webp',
'/gallery/image_8.webp',
'/gallery/image_9.webp',
'/gallery/image_10.webp',
'/gallery/image_11.webp',
'/gallery/image_12.webp',
'/gallery/image_13.webp',
'/gallery/image_14.webp',
'/gallery/image_15.webp',
'/gallery/image_16.webp',
'/gallery/image_17.webp',
'/gallery/image_18.webp',
'/gallery/image_19.webp',
'/gallery/image_20.webp',
'/gallery/image_21.webp',
'/gallery/image_22.webp',
'/gallery/image_23.webp',
'/gallery/image_24.webp',
'/gallery/image_25.webp',
'/gallery/image_26.webp',
'/gallery/image_27.webp'
]

const useStyles = createStyles((theme) => ({
Expand Down Expand Up @@ -70,7 +70,14 @@ function Gallery() {
const cards = imgLinks.map((link) => (
<Card key={link} p="md" radius="md" className={classes.card}>
<AspectRatio ratio={16 / 9}>
<Image src={link} alt="Gallery Image" withPlaceholder />
<Image
src={link}
alt="Gallery Image"
layout="fill"
objectFit="cover"
placeholder="blur"
blurDataURL={`data:image/webp;base64,${link}`}
/>
</AspectRatio>
</Card>
))
Expand Down
7 changes: 4 additions & 3 deletions data/finance_chairs.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const finance_chairs_data = [

const finance_chairs_data = [
{
name:'Dr. Usha Rani K R',
post:'Professor, Department of ECE, RVCE',
Expand All @@ -12,12 +13,12 @@
{
name:'Mrs. Shyamala S',
post:' Senior Manager-Finance, Accounts Section, RVCE',
imgLink:'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRt_NZykul07nU3cliFuRZQr4_q-gOdkRTmRA&s',
imgLink: "/R B Ravi Varma.jpg",
},
{
name: ' Mr. Ravi Varma R B',
post: 'System Administrator',
imgLink:'/ravi-varma.jpg',
imgLink: "/Shyamala S.jpg"
},

]
Expand Down
7 changes: 6 additions & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ export default function Index() {
d="M3 7h18M3 11h18M3 15h18M3 19h18"
/>
</svg>
<h3 className="text-2xl font-bold">IEEE Approval</h3>

<h3 className="text-2xl font-bold">IEEE Approved Conference</h3>

<p>Conference Number: 64042</p>
</div>
<div className="bg-yellow-100 p-6 rounded-lg shadow-lg text-center text-gray-800 hover:bg-yellow-200 transition-colors duration-300">
Expand All @@ -172,6 +174,7 @@ export default function Index() {
</div>
</div>


<section>
<div className="mx-auto max-w-screen-xl px-4 py-16 sm:px-6 lg:px-8">
<div className="grid grid-cols-1 gap-24 lg:grid-cols-2 lg:gap-16">
Expand All @@ -183,6 +186,7 @@ export default function Index() {
/>
</div>


<div className="flex flex-col justify-center animate-fadeIn2">
<h2 className="text-3xl font-bold sm:text-4xl mb-6 text-gradient text-black">
About CSITSS
Expand Down Expand Up @@ -219,6 +223,7 @@ export default function Index() {
</p>



<a
className="inline-flex items-center rounded border border-indigo-600 bg-indigo-600 px-8 py-3 text-white hover:bg-transparent hover:text-indigo-600 focus:outline-none focus:ring active:text-indigo-500 transition-all duration-300 ease-in-out transform hover:scale-105 shadow-lg"
href="https://cmt3.research.microsoft.com/CSITSS2024"
Expand Down
5 changes: 5 additions & 0 deletions pages/registration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ function registration() {
<strong><i className="text-red-800">*All the pricing details mentioned above are inclusive of 18% GST</i></strong>
</p>
</section>
<section className="flex justify-center py-4">
<a href="https://rzp.io/l/v8bJlYuW" className="bg-blue-500 text-white py-2 px-4 rounded-md text-center hover:bg-blue-700">
Click Here to Pay Through Razorpay
</a>
</section>
<section className="mx-auto max-w-screen-xl px-4 py-4 sm:px-6 lg:px-8">
<h3 className="text-xl font-extrabold sm:text-xl">Payment Details</h3> <br />
<ul className="text-justify space-y-1 pb-10">
Expand Down
Binary file added public/R B Ravi Varma.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/Shyamala S.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/gallery/image_1.webp
Binary file not shown.
Binary file added public/gallery/image_10.webp
Binary file not shown.
Binary file added public/gallery/image_11.webp
Binary file not shown.
Binary file added public/gallery/image_12.webp
Binary file not shown.
Binary file added public/gallery/image_13.webp
Binary file not shown.
Binary file added public/gallery/image_14.webp
Binary file not shown.
Binary file added public/gallery/image_15.webp
Binary file not shown.
Binary file added public/gallery/image_16.webp
Binary file not shown.
Binary file added public/gallery/image_17.webp
Binary file not shown.
Binary file added public/gallery/image_18.webp
Binary file not shown.
Binary file added public/gallery/image_19.webp
Binary file not shown.
Binary file added public/gallery/image_2.webp
Binary file not shown.
Binary file added public/gallery/image_20.webp
Binary file not shown.
Binary file added public/gallery/image_21.webp
Binary file not shown.
Binary file added public/gallery/image_22.webp
Binary file not shown.
Binary file added public/gallery/image_23.webp
Binary file not shown.
Binary file added public/gallery/image_24.webp
Binary file not shown.
Binary file added public/gallery/image_25.webp
Binary file not shown.
Binary file added public/gallery/image_26.webp
Binary file not shown.
Binary file added public/gallery/image_27.webp
Binary file not shown.
Binary file added public/gallery/image_3.webp
Binary file not shown.
Binary file added public/gallery/image_4.webp
Binary file not shown.
Binary file added public/gallery/image_5.webp
Binary file not shown.
Binary file added public/gallery/image_6.webp
Binary file not shown.
Binary file added public/gallery/image_7.webp
Binary file not shown.
Binary file added public/gallery/image_8.webp
Binary file not shown.
Binary file added public/gallery/image_9.webp
Binary file not shown.
Binary file removed public/ravi-varma.jpg
Binary file not shown.

0 comments on commit 64996cd

Please sign in to comment.