File tree Expand file tree Collapse file tree 2 files changed +6
-32
lines changed
Expand file tree Collapse file tree 2 files changed +6
-32
lines changed Original file line number Diff line number Diff line change @@ -117,23 +117,7 @@ export const StyledName = styled.h3`
117117 text-align: left;
118118 }
119119` ;
120- export const StyledSpeakerImgBorder = styled . div `
121- width: 100%;
122- height: 300px;
123- margin-bottom: 0.75rem;
124- padding: 0.3rem;
125- border: 1px solid ${ Color . YELLOW } ;
126120
127- @media only screen and (min-width: ${ BIG_BREAKPOINT } px) {
128- padding: 0.2rem;
129- height: 250px;
130- }
131-
132- @media only screen and (min-width: ${ LARGE_BREAKPOINT } px) {
133- padding: 0.2rem;
134- height: 325px;
135- }
136- ` ;
137121export const StyledSpeakerImg = styled . img `
138122 border-radius: 10px;
139123 padding: 5px;
@@ -190,16 +174,3 @@ export const StyledSocialMediaIcon = styled.img<{ noMargin?: boolean }>`
190174 margin-right: ${ ( { noMargin } ) => ( noMargin ? "0" : "0.5rem" ) } ;
191175 }
192176` ;
193- export const rightVariants = {
194- initial : {
195- x : "100%" ,
196- opacity : 0 ,
197- } ,
198- animate : {
199- x : 0 ,
200- opacity : 1 ,
201- transition : {
202- duration : 0.7 ,
203- } ,
204- } ,
205- } ;
Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ import linkedinIcon from "../../assets/images/linkedinIcon.svg";
88import twitterIcon from "../../assets/images/twitterIcon.svg" ;
99import { useWindowSize } from "react-use" ;
1010
11- import { ROUTE_SPEAKERS , ROUTE_TALK_DETAIL } from "../../constants/routes" ;
11+ import {
12+ ROUTE_2024_SPEAKERS ,
13+ ROUTE_2024_TALK_DETAIL ,
14+ } from "../../constants/routes" ;
1215import { Link } from "react-router" ;
1316import { Color } from "../../styles/colors" ;
1417import conferenceData from "../../data/2024.json" ;
@@ -122,7 +125,7 @@ const SpeakerDetail: FC<React.PropsWithChildren<ISpeakerDetailProps>> = ({
122125 { speaker ?. sessions ?. map ( ( session ) => (
123126 < li key = { session . id } >
124127 < StyledTalkDescription
125- to = { `${ ROUTE_TALK_DETAIL } /${ session . id } ` }
128+ to = { `${ ROUTE_2024_TALK_DETAIL } /${ session . id } ` }
126129 >
127130 < StyledSpeakerTitle >
128131 < img
@@ -141,7 +144,7 @@ const SpeakerDetail: FC<React.PropsWithChildren<ISpeakerDetailProps>> = ({
141144 ) }
142145
143146 < Link
144- to = { ROUTE_SPEAKERS }
147+ to = { ROUTE_2024_SPEAKERS }
145148 style = { {
146149 color : Color . BLACK_BLUE ,
147150 fontWeight : "bold" ,
You can’t perform that action at this time.
0 commit comments