diff --git a/.Dockerignore b/.Dockerignore new file mode 100644 index 0000000..42e2bae --- /dev/null +++ b/.Dockerignore @@ -0,0 +1,7 @@ +/node_modules +/.vscode +/.vercel +/.next +/.gitignore +/docker.sh +/build_number \ No newline at end of file diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index a59b8fe..96aff25 100644 Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ diff --git a/Dockerfile b/Dockerfile index f35fd13..cf0236b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,7 @@ RUN adduser -S nextjs -u 1001 # You only need to copy next.config.js if you are NOT using the default configuration COPY --from=builder /app/next.config.js ./ +COPY --from=builder /app/next-i18next.config.js ./ COPY --from=builder /app/public ./public COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next COPY --from=builder /app/node_modules ./node_modules diff --git a/build_number b/build_number index 0cfbf08..b8626c4 100644 --- a/build_number +++ b/build_number @@ -1 +1 @@ -2 +4 diff --git a/locales/en.json b/locales/en.json index 36b86b5..fa9fd19 100644 --- a/locales/en.json +++ b/locales/en.json @@ -11,6 +11,7 @@ "desc": "Learn Swedish on Babbel (referral link)" }, "discord": "Join our community Discord server to discuss all things Young Royals", - "reddit": "Join the community subreddit to discuss Young Royals" + "reddit": "Join the community subreddit to discuss Young Royals", + "matrix": "Join our Matrix space to discuss all things Young Royals" } } \ No newline at end of file diff --git a/locales/eo.json b/locales/eo.json index 0c41fa7..ab496cf 100644 --- a/locales/eo.json +++ b/locales/eo.json @@ -11,6 +11,7 @@ "desc": "Lernu Sveda sur Babbel (referenco ligilon)" }, "discord": "Aliĝu al nia Komunuma Discord-Servilo por diskuti ĉiujn Young Royals", - "reddit": "Aliĝu al la komunumo subreddit diskuti Young Royals" + "reddit": "Aliĝu al la komunumo subreddit diskuti Young Royals", + "matrix": "Aliĝu al la Young Royals Matrix-spaco por diskuti ĉiujn Young Royals" } } \ No newline at end of file diff --git a/locales/es.json b/locales/es.json index 06f9821..1a11b32 100644 --- a/locales/es.json +++ b/locales/es.json @@ -11,6 +11,7 @@ "desc": "Aprende sueco en Babbel (enlace de referencia)" }, "discord": "Únase a nuestro servidor de Discord de la comunidad para discutir sobre Young Royals", - "reddit": "Únase al subreddit de la comunidad para discutir sobre Young Royals" + "reddit": "Únase al subreddit de la comunidad para discutir sobre Young Royals", + "matrix": "Únase a nuestro espacio Matrix de la comunidad para discutir sobre Young Royals" } } \ No newline at end of file diff --git a/next-env.d.ts b/next-env.d.ts index 9bc3dd4..4f11a03 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,5 +1,4 @@ /// -/// /// // NOTE: This file should not be edited diff --git a/pages/birthdays.tsx b/pages/birthdays.tsx index d0a1e0b..24d4595 100644 --- a/pages/birthdays.tsx +++ b/pages/birthdays.tsx @@ -27,7 +27,7 @@ export default function BirthdaysPage() { dateFormat="dd/MM" /> Command to set your birthday: {`/set-birthday ${Intl.DateTimeFormat().resolvedOptions().timeZone} ${moment(date).format("MM/DD")}`} - setCopied("Copied!")} text={`bd!setup ${Intl.DateTimeFormat().resolvedOptions().timeZone} ${moment(date).format("MM/DD")}`}> + setCopied("Copied!")} text={`/set-birthday ${Intl.DateTimeFormat().resolvedOptions().timeZone} ${moment(date).format("MM/DD")}`}> diff --git a/pages/index.tsx b/pages/index.tsx index 2a8e931..5b4aaa5 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -35,7 +35,8 @@ export default function Home() { - + +