|
1 | | -import {BIG_BREAKPOINT} from "../../constants/BreakPoints"; |
| 1 | +import { BIG_BREAKPOINT } from "@constants/BreakPoints"; |
2 | 2 |
|
3 | | -import {FC, Suspense, useEffect} from "react"; |
4 | | -import MoreThanIcon from "../../assets/images/MoreThanBlueIcon.svg"; |
5 | | -import LessThan from "../../assets/images/MoreThanIcon.svg"; |
6 | | -import SlashesWhite from "../../assets/images/SlashesWhite.svg"; |
7 | | -import linkedinIcon from "../../assets/images/linkedinIcon.svg"; |
8 | | -import twitterIcon from "../../assets/images/twitterIcon.svg"; |
9 | | -import {useWindowSize} from "react-use"; |
| 3 | +import { FC, Suspense, useEffect } from "react"; |
| 4 | +import MoreThanIcon from "@assets/images/MoreThanBlueIcon.svg"; |
| 5 | +import LessThan from "@assets/images/MoreThanIcon.svg"; |
| 6 | +import SlashesWhite from "@assets/images/SlashesWhite.svg"; |
| 7 | +import linkedinIcon from "@assets/images/linkedinIcon.svg"; |
| 8 | +import twitterIcon from "@assets/images/twitterIcon.svg"; |
| 9 | +import { useWindowSize } from "react-use"; |
10 | 10 | import { |
11 | | - StyledDetailsContainer, |
12 | | - StyledFlexCol, |
13 | | - StyledImageContainer, |
14 | | - StyledInfoContainer, |
15 | | - StyledLink, |
16 | | - StyledMoreThanIcon, |
17 | | - StyledMoreThanIconContainer, |
18 | | - StyledName, |
19 | | - StyledNameContainer, |
20 | | - StyledRightContainer, |
21 | | - StyledSlashes, |
22 | | - StyledSocialMediaContainer, |
23 | | - StyledSocialMediaIcon, |
24 | | - StyledSpeakerDescription, |
25 | | - StyledSpeakerDetailContainer, |
26 | | - StyledSpeakerImg, |
27 | | - StyledSpeakerTitle, |
| 11 | + StyledDetailsContainer, |
| 12 | + StyledFlexCol, |
| 13 | + StyledImageContainer, |
| 14 | + StyledInfoContainer, |
| 15 | + StyledLink, |
| 16 | + StyledMoreThanIcon, |
| 17 | + StyledMoreThanIconContainer, |
| 18 | + StyledName, |
| 19 | + StyledNameContainer, |
| 20 | + StyledRightContainer, |
| 21 | + StyledSlashes, |
| 22 | + StyledSocialMediaContainer, |
| 23 | + StyledSocialMediaIcon, |
| 24 | + StyledSpeakerDescription, |
| 25 | + StyledSpeakerDetailContainer, |
| 26 | + StyledSpeakerImg, |
| 27 | + StyledSpeakerTitle, |
28 | 28 | } from "./Speaker.style"; |
29 | | -import {ROUTE_SPEAKERS, ROUTE_TALK_DETAIL} from "../../constants/routes"; |
30 | | -import {StyledTalkDescription} from "./SpeakerDetail.style"; |
31 | | -import {Link} from "react-router"; |
32 | | -import {Color} from "../../styles/colors"; |
33 | | -import conferenceData from "../../data/2025.json"; |
34 | | -import {ISpeaker} from "../../types/speakers"; |
| 29 | +import { ROUTE_SPEAKERS, ROUTE_TALK_DETAIL } from "@constants/routes"; |
| 30 | +import { StyledTalkDescription } from "./SpeakerDetail.style"; |
| 31 | +import { Link } from "react-router"; |
| 32 | +import { Color } from "@styles/colors"; |
| 33 | +import conferenceData from "@data/2025.json"; |
| 34 | +import { ISpeaker } from "@types/speakers"; |
35 | 35 |
|
36 | 36 | interface ISpeakerDetailProps { |
37 | 37 | speaker: ISpeaker; |
38 | 38 | } |
39 | 39 |
|
40 | | -const SpeakerDetail: FC<React.PropsWithChildren<ISpeakerDetailProps>> = ({ speaker }) => { |
| 40 | +const SpeakerDetail: FC<React.PropsWithChildren<ISpeakerDetailProps>> = ({ |
| 41 | + speaker, |
| 42 | +}) => { |
41 | 43 | const { width } = useWindowSize(); |
42 | 44 |
|
43 | 45 | useEffect(() => { |
@@ -109,12 +111,13 @@ const SpeakerDetail: FC<React.PropsWithChildren<ISpeakerDetailProps>> = ({ speak |
109 | 111 |
|
110 | 112 | {hasSessions() && ( |
111 | 113 | <> |
112 | | - <h2>Sessions</h2> |
| 114 | + <h2 style={{ fontSize: "1.5rem" }}>Sessions</h2> |
113 | 115 | <ul |
114 | 116 | style={{ |
115 | | - paddingLeft: "40px", |
116 | | - paddingTop: "20px", |
| 117 | + paddingLeft: "1.5rem", |
| 118 | + paddingTop: "0.5rem", |
117 | 119 | listStyleType: "none", |
| 120 | + marginBottom: "0", |
118 | 121 | }} |
119 | 122 | > |
120 | 123 | {speaker?.sessions?.map((session) => ( |
|
0 commit comments