File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 steps :
1616 - uses : actions/first-interaction@v3
1717 with :
18- repo-token : ${{ secrets.GITHUB_TOKEN }}
19- issue-message : " Gracias por tu interes en Fullstack Nights y por hacer este GitHub Issue! Pronto estaremos en contacto."
20- pr-message : " Gracias por tu interes en Fullstack Nights y por hacer este Pull Request! Pronto estaremos en contacto."
18+ repo_token : ${{ secrets.GITHUB_TOKEN }}
19+ issue_message : " Gracias por tu interes en Fullstack Nights y por hacer este GitHub Issue! Pronto estaremos en contacto."
20+ pr_message : " Gracias por tu interes en Fullstack Nights y por hacer este Pull Request! Pronto estaremos en contacto."
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import FAQList from "./faq";
55import GradientBackground from "./gradient-background" ;
66import Image from "./image" ;
77import Layout from "./layout" ;
8+ import LumaEvents from "./luma-events" ;
89import PageHighlight from "./page-highlight" ;
910import PageSection from "./page-section" ;
1011import ProfileCard from "./profile-card" ;
@@ -23,6 +24,7 @@ export {
2324 GradientBackground ,
2425 Image ,
2526 Layout ,
27+ LumaEvents ,
2628 PageHighlight ,
2729 PageSection ,
2830 ProfileCard ,
Original file line number Diff line number Diff line change 1+ import React from "react" ;
2+ import { useTranslation } from "react-i18next" ;
3+
4+ const LUMA_CALENDAR_ID = "cal-xorZLhCJO1uKH5s" ;
5+
6+ function LumaEvents ( ) {
7+ const { t, i18n } = useTranslation ( ) ;
8+ const lang = i18n . language ?. startsWith ( "es" ) ? "es" : "en" ;
9+ const src = `https://luma.com/embed/calendar/${ LUMA_CALENDAR_ID } /events?lang=${ lang } ` ;
10+
11+ return (
12+ < section className = "mb-20 px-4" >
13+ < div className = "max-w-2xl mx-auto text-center" >
14+ < h3 className = "text-h3 font-extrabold mb-6" >
15+ { t ( "upcoming-event.upcoming-events" ) }
16+ </ h3 >
17+ < iframe
18+ key = { lang }
19+ title = "Fullstack Nights events on Luma"
20+ src = { src }
21+ width = "600"
22+ height = "450"
23+ frameBorder = "0"
24+ allowFullScreen
25+ aria-hidden = "false"
26+ tabIndex = "0"
27+ className = "w-full max-w-full mx-auto"
28+ style = { { border : "1px solid #bfcbda88" , borderRadius : "4px" } }
29+ />
30+ </ div >
31+ </ section >
32+ ) ;
33+ }
34+
35+ export default LumaEvents ;
Original file line number Diff line number Diff line change 144144 },
145145 "upcoming-event" : {
146146 "upcoming-event" : " Upcoming event" ,
147+ "upcoming-events" : " Upcoming events" ,
147148 "at" : " at" ,
148149 "venue" : " Venue" ,
149150 "get-tickets" : " Get tickets" ,
Original file line number Diff line number Diff line change 144144 },
145145 "upcoming-event" : {
146146 "upcoming-event" : " Próximo evento" ,
147+ "upcoming-events" : " Próximos eventos" ,
147148 "at" : " a las" ,
148149 "venue" : " Sitio" ,
149150 "get-tickets" : " Obtén tu boleto" ,
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { useTranslation } from "react-i18next";
44import {
55 SEO ,
66 Layout ,
7+ LumaEvents ,
78 PageSection ,
89 CallToAction ,
910 PageHighlight ,
@@ -46,7 +47,9 @@ function IndexPage() {
4647 venue = { event . venue }
4748 participants = { event . participants }
4849 />
49- ) : null }
50+ ) : (
51+ < LumaEvents />
52+ ) }
5053 < PageSection
5154 title = { t ( "main-page.be-a-part-of-our-events" ) }
5255 description = { t ( "main-page.our-events-are-done-by-the-community" ) }
You can’t perform that action at this time.
0 commit comments