File tree Expand file tree Collapse file tree 5 files changed +16
-35
lines changed Expand file tree Collapse file tree 5 files changed +16
-35
lines changed Original file line number Diff line number Diff line change @@ -61,3 +61,5 @@ src/__generated__/
61
61
.next /
62
62
public /sitemap.xml
63
63
out /
64
+
65
+ tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export default function Page() {
10
10
return (
11
11
< >
12
12
< div className = "flex w-full justify-center" >
13
- < div className = "xs:px-0 prose px-2 py-20 md:container lg:prose-lg" >
13
+ < div className = "prose px-2 py-20 md:container lg:prose-lg" >
14
14
< h1 className = "text-white" > GraphQLConf 2023 Speakers</ h1 >
15
15
< p className = "text-white sm:w-2/3" >
16
16
Meet the unique lineup of insightful speakers we've carefully
@@ -22,7 +22,7 @@ export default function Page() {
22
22
< div className = "bg-white" >
23
23
< section className = "conf-block container flex flex-wrap justify-center gap-8 lg:justify-between" >
24
24
{ speakers . map ( speaker => (
25
- < Speaker key = { speaker . username } { ...speaker } year = " 2023" />
25
+ < Speaker key = { speaker . username } { ...speaker } year = { 2023 } />
26
26
) ) }
27
27
</ section >
28
28
</ div >
Original file line number Diff line number Diff line change 1
- export type ScheduleSession = {
2
- id : string
3
- audience : string
4
- description : string
5
- event_end : string
6
- event_start : string
7
- event_subtype : string
8
- event_type : string
9
- name : string
10
- venue : string
11
- speakers ?: SchedSpeaker [ ]
12
- files ?: { name : string ; path : string } [ ]
13
- }
14
-
15
- export type SchedSpeaker = {
16
- username : string
17
- name : string
18
- about : string
19
- company ?: string
20
- position ?: string
21
- avatar ?: string
22
- url ?: string
23
- role : string
24
- location ?: string
25
- socialurls : { service : string ; url : string } [ ]
26
- year : "2024" | "2023"
27
- }
1
+ export * from "../_api/sched-types"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export default function Page() {
10
10
return (
11
11
< div className = 'bg-[url("/img/conf/golden-gate-bridge.png")] bg-contain bg-no-repeat' >
12
12
< div className = "flex w-full justify-center" >
13
- < div className = "xs:px-0 prose px-2 py-20 md:container lg:prose-lg" >
13
+ < div className = "prose px-2 py-20 md:container lg:prose-lg xs:px-0 " >
14
14
< h1 className = "text-white" > GraphQLConf 2024 Speakers</ h1 >
15
15
< p className = "text-white sm:w-2/3" >
16
16
Meet the unique lineup of insightful speakers we've carefully
@@ -22,7 +22,7 @@ export default function Page() {
22
22
< div className = "bg-white" >
23
23
< section className = "conf-block container flex flex-wrap justify-center gap-8 lg:justify-between" >
24
24
{ speakers . map ( speaker => (
25
- < Speaker key = { speaker . username } { ...speaker } year = " 2024" />
25
+ < Speaker key = { speaker . username } { ...speaker } year = { 2024 } />
26
26
) ) }
27
27
</ section >
28
28
</ div >
Original file line number Diff line number Diff line change 1
- import { Avatar } from "./avatar"
2
- import { SocialMediaIcon , SocialMediaIconServiceType } from "./social-media"
3
- import { SchedSpeaker } from "@/app/conf/2023/types"
4
1
import NextLink from "next/link"
2
+ import { ConferenceYear , SchedSpeaker } from "@/app/conf/_api/sched-types"
3
+
4
+ import { SocialMediaIcon , SocialMediaIconServiceType } from "./social-media"
5
+ import { Avatar } from "./avatar"
6
+
7
+ export interface SpeakerProps extends SchedSpeaker {
8
+ year : ConferenceYear
9
+ }
5
10
6
11
export function Speaker ( {
7
12
name,
@@ -11,7 +16,7 @@ export function Speaker({
11
16
username,
12
17
socialurls,
13
18
year,
14
- } : SchedSpeaker ) {
19
+ } : SpeakerProps ) {
15
20
return (
16
21
< div className = "flex flex-col items-center" >
17
22
< NextLink href = { `/conf/${ year } /speakers/${ username } ` } className = "group" >
You can’t perform that action at this time.
0 commit comments