Skip to content

Commit

Permalink
Colors for agenda and removed old agendas
Browse files Browse the repository at this point in the history
  • Loading branch information
dooman87 committed Feb 27, 2024
1 parent 9493cc1 commit 0b2e6ed
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 1,734 deletions.
5 changes: 3 additions & 2 deletions components/Agenda/AgendaSession.styled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@ StyledSection.displayName = 'StyledSection'

interface StyledAgendaButtonProps {
isKeynote?: boolean
color?: string
}

export const StyledAgendaButton = styled('button')<StyledAgendaButtonProps>(({ isKeynote, theme }) => ({
export const StyledAgendaButton = styled('button')<StyledAgendaButtonProps>(({ isKeynote, theme, color }) => ({
display: 'flex',
width: '100%',
height: '100%',
padding: calcRem(8),
margin: 0,
flexDirection: 'column',
alignItems: 'stretch',
backgroundColor: '#FFF',
backgroundColor: color || '#FFF',
border: 0,
cursor: 'pointer',
textAlign: isKeynote ? 'center' : 'left',
Expand Down
2 changes: 2 additions & 0 deletions components/Agenda/AgendaSession.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
StyledSection,
StyledSponsor,
} from './AgendaSession.styled'
import Conference from 'config/conference'

interface AgendaSessionProps {
sessionId?: string
Expand Down Expand Up @@ -45,6 +46,7 @@ export const AgendaSession = ({
type="button"
isKeynote={isKeynote}
onClick={() => onSelect(session, sponsor, getLivestream(room))}
color={Conference.RoomColors[getRoom(room)]}
>
{renderPresenters ? (
renderPresenters(presenters)
Expand Down
229 changes: 0 additions & 229 deletions pages/agenda/2015.tsx

This file was deleted.

Loading

0 comments on commit 0b2e6ed

Please sign in to comment.