Skip to content
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
120 changes: 115 additions & 5 deletions components/table.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,123 @@
import React from 'react'

type TableProps = {
timeSlot: string
}
const pricingRows = [
{
label: 'Students / Research Scholars',
earlyIeee: '₹5310/$80',
earlyNonIeee: '₹6490/$110',
regularIeee: '₹6490/$110',
regularNonIeee: '₹7670/$130',
},
{
label: 'Academics',
earlyIeee: '₹7080/$100',
earlyNonIeee: '₹8260/$130',
regularIeee: '₹8260/$135',
regularNonIeee: '₹10030/$165',
},
{
label: 'Industry Professionals',
earlyIeee: '₹8260/$110',
earlyNonIeee: '₹9440/$135',
regularIeee: '₹11800/$200',
regularNonIeee: '₹15930/$240',
},
{
label: 'Best Ph.D Thesis Presentation',
earlyIeee: '₹1000',
earlyNonIeee: '₹2000',
regularIeee: '-',
regularNonIeee: '-',
},
{
label: '*Listener/Attendee Fee',
earlyIeee: '₹1000',
earlyNonIeee: '₹1500',
regularIeee: '-',
regularNonIeee: '-',
},
]

function Table({}: TableProps) {
function Table() {
return (
<>
<h1>Hello World</h1>
<section className="mx-auto w-full max-w-6xl px-4 py-10">
<div className="overflow-hidden rounded-2xl border border-gray-200 bg-white shadow-sm">
<div className="border-b border-gray-200 bg-gradient-to-r from-blue-700 via-blue-600 to-blue-700 px-6 py-5">
<h2 className="text-center text-lg font-semibold text-white sm:text-xl">
Indian (Amount in INR ₹) / Foreign Authors and Delegates (Amount
in USD $)
</h2>
</div>
<div className="overflow-x-auto">
<table className="min-w-full border-collapse text-left text-sm">
<thead className="bg-blue-50 text-blue-900">
<tr>
<th
rowSpan={2}
className="whitespace-nowrap border-b border-r border-gray-200 px-4 py-3 text-base font-semibold"
>
Particulars
</th>
<th
colSpan={2}
className="border-b border-r border-gray-200 px-4 py-3 text-center text-base font-semibold"
>
Early Bird
<div className="text-xs font-medium text-gray-500">
(On or Before 30th August)
</div>
</th>
<th
colSpan={2}
className="border-b border-gray-200 px-4 py-3 text-center text-base font-semibold"
>
Regular Registration
</th>
</tr>
<tr className="text-center">
<th className="border-b border-r border-gray-200 px-4 py-2 text-sm font-semibold">
IEEE
</th>
<th className="border-b border-r border-gray-200 px-4 py-2 text-sm font-semibold">
Non-IEEE
</th>
<th className="border-b border-r border-gray-200 px-4 py-2 text-sm font-semibold">
IEEE
</th>
<th className="border-b border-gray-200 px-4 py-2 text-sm font-semibold">
Non-IEEE
</th>
</tr>
</thead>
<tbody className="text-gray-800">
{pricingRows.map((row) => (
<tr key={row.label} className="even:bg-blue-50/60">
<td className="border-b border-r border-gray-200 px-4 py-3 font-medium">
{row.label}
</td>
<td className="border-b border-r border-gray-200 px-4 py-3 text-center">
{row.earlyIeee}
</td>
<td className="border-b border-r border-gray-200 px-4 py-3 text-center">
{row.earlyNonIeee}
</td>
<td className="border-b border-r border-gray-200 px-4 py-3 text-center">
{row.regularIeee}
</td>
<td className="border-b border-gray-200 px-4 py-3 text-center">
{row.regularNonIeee}
</td>
</tr>
))}
</tbody>
</table>
</div>
<div className="border-t border-gray-200 bg-blue-50 px-6 py-4 text-sm text-blue-900">
(All the pricing details mentioned above are inclusive of 18% GST)
</div>
</div>
</section>
</>
)
}
Expand Down
3 changes: 3 additions & 0 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import HeaderImages from '../components/HeaderImages'
import Timeline from '../components/TimeLine'
import Gallery from '../components/Gallery'
import ConferenceThemes from '../components/ConferenceThemes'
import Table from '../components/table'
// import Marquee from 'react-fast-marquee'

// const image = {
Expand Down Expand Up @@ -317,6 +318,8 @@ export default function Index() {
</div>
{/* </Element> */}

<Table />

<ConferenceThemes />

<section className="py-16">
Expand Down
Loading