Skip to content

Commit

Permalink
fix afterparty and scannet dst (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxiem authored Nov 4, 2024
1 parent 9d7be6b commit ad03f4b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/pages/home/sponsors/sponsors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const ITEMS = [
title: 'Platinum Sponsors',
logos: [
{ icon: ContainByNetic, url: 'https://contain.dk/', scale: '75%' },
{ icon: TeamBlue, url: 'https://team.blue/', scale: '65%' },
{ icon: TeamBlue, url: 'https://www.scannet.dk/', scale: '65%' },
],
cardClassname:
'min-w-[488px] max-w-[330px] min-h-[152px] sm:min-w-[350px] sm:min-h-[130px] xs:min-w-fit xs:max-w-full',
Expand Down
19 changes: 16 additions & 3 deletions src/components/pages/schedule/schedule/schedule.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,15 @@ const Schedule = ({ location }) => {
>
{session.title}
</Button>
) : (
) : (session.title != 'Afterparty' &&
<span className="text-lg font-semibold leading-snug tracking-tight text-primary-1 md:text-base">
{session.title}
</span>
)}
{session.title == 'Afterparty' && (
<span className="text-lg font-semibold leading-snug tracking-tight text-primary-1 md:text-base">
Afterparty @ Proud Mary, Vesterbrogade 2A, Copenhagen
</span>)}
{session.isPlenumSession && (!!!session.isServiceSession) && calcDuration(session.startsAt, session.endsAt) > 10 && (
<span className="rounded-full bg-red px-2 py-2 text-xs font-semibold leading-none tracking-tighter text-white sm:hidden">
Keynote
Expand Down Expand Up @@ -173,17 +177,26 @@ const Schedule = ({ location }) => {
<span className="rounded-full bg-rasin px-2 py-2 text-[13px] font-semibold leading-none tracking-tighter text-white text-primary-1 md:text-xs">
{calcDuration(session.startsAt, session.endsAt)} min
</span>
{name && (
{session.title!='Afterparty' && name && (
<span className={clsx("rounded-full px-4 py-2 text-xs font-semibold leading-none tracking-tighter text-rasin",
{
'bg-[#B2F2BB]': name === 'Auditorium',
'bg-[#A5D8FF]': name === 'Breakout',
//'bg-gray-10': talkLocation === 'HeadQuarters, Valdemarsgade 1A, 8000 Aarhus',
}
)}>
{name}
</span>
)}
{session.title == 'Afterparty' && (
<span className={clsx("rounded-full px-4 py-2 text-xs font-semibold leading-none tracking-tighter text-rasin",
{
'bg-gray-10': session.title === 'Afterparty',
}
)}>
Afterparty
</span>
)}

</div>
</div>)
)}
Expand Down

0 comments on commit ad03f4b

Please sign in to comment.