From 1f21e18241eda3f3f5876ec26ea135dd61a3449e Mon Sep 17 00:00:00 2001
From: Ludoviko
Date: Tue, 10 Aug 2021 21:23:11 +0100
Subject: [PATCH] Updated site for separate Short.io
---
locales/en.json | 4 ++++
locales/eo.json | 4 ++++
locales/es.json | 4 ++++
next.config.js | 26 +-------------------------
pages/index.tsx | 12 ++++++++----
5 files changed, 21 insertions(+), 29 deletions(-)
diff --git a/locales/en.json b/locales/en.json
index 1658508..36b86b5 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -6,6 +6,10 @@
"title": "Watch",
"desc": "Watch the series on Netflix"
},
+ "learn": {
+ "title": "Learn",
+ "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"
}
diff --git a/locales/eo.json b/locales/eo.json
index 68e0515..0c41fa7 100644
--- a/locales/eo.json
+++ b/locales/eo.json
@@ -6,6 +6,10 @@
"title": "Viglu",
"desc": "Viglu la serio sur Netflix"
},
+ "learn": {
+ "title": "Lernu",
+ "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"
}
diff --git a/locales/es.json b/locales/es.json
index 1135f61..06f9821 100644
--- a/locales/es.json
+++ b/locales/es.json
@@ -6,6 +6,10 @@
"title": "Ver",
"desc": "Ver la serie en Netflix"
},
+ "learn": {
+ "title": "Aprende",
+ "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"
}
diff --git a/next.config.js b/next.config.js
index ae10c0e..6eb20a0 100644
--- a/next.config.js
+++ b/next.config.js
@@ -2,29 +2,5 @@ const { i18n } = require('./next-i18next.config');
module.exports = {
i18n,
- reactStrictMode: true,
- async redirects() {
- return [
- {
- source: '/discord',
- destination: 'https://discord.gg/YoungRoyals',
- permanent: true
- },
- {
- source: '/reddit',
- destination: 'https://www.reddit.com/r/YoungRoyals/',
- permanent: true
- },
- {
- source: '/watch',
- destination: 'https://www.netflix.com/gb/title/81210762?s=i&trkid=13747225&vlang=en&clip=81459758',
- permanent: true
- },
- {
- source: '/gay-bible',
- destination: 'https://www.goodreads.com/book/show/36256691-the-holy-bible-but-gayer',
- permanent: true
- }
- ]
- }
+ reactStrictMode: true
}
diff --git a/pages/index.tsx b/pages/index.tsx
index a5b0a91..a036799 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -28,7 +28,7 @@ export default function Home() {
-
+
@@ -44,18 +44,22 @@ export default function Home() {
{t('desc')}