diff --git a/src/pages/conf/attendee/[hash].tsx b/src/pages/conf/attendee/[hash].tsx index 06b69233ce..b6c86b85d6 100644 --- a/src/pages/conf/attendee/[hash].tsx +++ b/src/pages/conf/attendee/[hash].tsx @@ -3,52 +3,55 @@ import LayoutConf from "../../../components/Conf/Layout" import HeaderConf from "../../../components/Conf/Header" // import ButtonConf from "../../components/Conf/Button" import clsx from "clsx" -import { PageProps, HeadProps } from "gatsby" +import { PageProps } from "gatsby" import SeoConf from "../../../components/Conf/Seo" export default ({ location, params }: PageProps) => { const search = getSeachParams(params.hash) // const text = "Nice! I got my @GraphQLConf ticket! Get yours too!" return ( - - -
-
-

Your ticket for GraphQLConf

-
-
- {/**/} - {/* Share on X / Twitter*/} - {/**/} - -
-
+ <> + + + +
+
+

Your ticket for GraphQLConf

+
+
+ {/**/} + {/* Share on X / Twitter*/} + {/**/} + +
+
+
+ {search && ( + + )}
- {search && ( - - )} -
- + + ) } @@ -80,17 +83,32 @@ function getSeachParams(base64: string): string { return "?" + searchParams.toString() } -export function Head({ params }: HeadProps & { hash: string }) { +export function Head({ + params, + location, +}: { + location: { + pathname: string + } + params: Record +}) { return ( - + <> + + + + ) }