diff --git a/public/images/keynotes/flag-gb.svg b/public/images/keynotes/flag-gb.svg new file mode 100644 index 0000000..dd0372c --- /dev/null +++ b/public/images/keynotes/flag-gb.svg @@ -0,0 +1,19 @@ + diff --git a/public/images/sponsors/eafit.svg b/public/images/sponsors/eafit.svg index 3cd1fdb..58a1e82 100644 --- a/public/images/sponsors/eafit.svg +++ b/public/images/sponsors/eafit.svg @@ -1,98 +1,57 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/SponsorsSection.jsx b/src/components/SponsorsSection.jsx index ccc01db..3f30f78 100644 --- a/src/components/SponsorsSection.jsx +++ b/src/components/SponsorsSection.jsx @@ -50,26 +50,30 @@ export default function SponsorsSection({ copy }) { return (
-
-

- - {s.venueLevel} -

-
-
- {VENUE_SPONSORS.map((item) => ( - - ))} + {VENUE_SPONSORS.length > 0 && ( +
+

+ + {s.venueLevel} +

+
+
+ {VENUE_SPONSORS.map((item) => ( + + ))} +
-
- + )}

diff --git a/src/pages/LandingPage/index.jsx b/src/pages/LandingPage/index.jsx index 27fabbd..605284b 100644 --- a/src/pages/LandingPage/index.jsx +++ b/src/pages/LandingPage/index.jsx @@ -32,7 +32,7 @@ const KEYNOTE_FLAGS_BY_NAME = { "Malvika Sharan": { code: "in", label: "India" }, "Dr. Kari L. Jordan": { code: "us", label: "United States" }, "Dra. Kari L. Jordan": { code: "us", label: "Estados Unidos" }, - "Irit Katriel": { code: "il", label: "Israel" }, + "Irit Katriel": { code: "gb", label: "United Kingdom" }, }; function keynoteFlagAssetPath(code) { @@ -214,6 +214,91 @@ KeynotesRevealRow.propTypes = { columns: PropTypes.arrayOf(PropTypes.object).isRequired, }; +function LandingAfterMovieSection({ copy }) { + const videoId = copy?.youtubeVideoId; + const [playing, setPlaying] = useState(false); + + if (!videoId) return null; + + const embedSrc = `https://www.youtube-nocookie.com/embed/${encodeURIComponent(videoId)}?autoplay=1&rel=0&modestbranding=1`; + const thumbMax = `https://i.ytimg.com/vi/${videoId}/maxresdefault.jpg`; + const thumbHq = `https://i.ytimg.com/vi/${videoId}/hqdefault.jpg`; + + return ( +
+ +
+

{copy.title}

+

{copy.subtitle}

+
+
+
+ {playing ? ( +