diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 14a7504..7e4d780 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -15,6 +15,6 @@ jobs: steps: - uses: actions/first-interaction@v3 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: "Gracias por tu interes en Fullstack Nights y por hacer este GitHub Issue! Pronto estaremos en contacto." - pr-message: "Gracias por tu interes en Fullstack Nights y por hacer este Pull Request! Pronto estaremos en contacto." + repo_token: ${{ secrets.GITHUB_TOKEN }} + issue_message: "Gracias por tu interes en Fullstack Nights y por hacer este GitHub Issue! Pronto estaremos en contacto." + pr_message: "Gracias por tu interes en Fullstack Nights y por hacer este Pull Request! Pronto estaremos en contacto." diff --git a/src/components/index.js b/src/components/index.js index f6cac06..1caa24e 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -5,6 +5,7 @@ import FAQList from "./faq"; import GradientBackground from "./gradient-background"; import Image from "./image"; import Layout from "./layout"; +import LumaEvents from "./luma-events"; import PageHighlight from "./page-highlight"; import PageSection from "./page-section"; import ProfileCard from "./profile-card"; @@ -23,6 +24,7 @@ export { GradientBackground, Image, Layout, + LumaEvents, PageHighlight, PageSection, ProfileCard, diff --git a/src/components/luma-events.js b/src/components/luma-events.js new file mode 100644 index 0000000..3ed6cc9 --- /dev/null +++ b/src/components/luma-events.js @@ -0,0 +1,35 @@ +import React from "react"; +import { useTranslation } from "react-i18next"; + +const LUMA_CALENDAR_ID = "cal-xorZLhCJO1uKH5s"; + +function LumaEvents() { + const { t, i18n } = useTranslation(); + const lang = i18n.language?.startsWith("es") ? "es" : "en"; + const src = `https://luma.com/embed/calendar/${LUMA_CALENDAR_ID}/events?lang=${lang}`; + + return ( +
+
+

+ {t("upcoming-event.upcoming-events")} +

+