Updated site for separate Short.io

This commit is contained in:
Ludoviko 2021-08-10 21:23:11 +01:00
parent 2cfa16fb07
commit 1f21e18241
No known key found for this signature in database
GPG key ID: 1E66DEA3F5D623D1
5 changed files with 21 additions and 29 deletions

View file

@ -6,6 +6,10 @@
"title": "Watch", "title": "Watch",
"desc": "Watch the series on Netflix" "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", "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"
} }

View file

@ -6,6 +6,10 @@
"title": "Viglu", "title": "Viglu",
"desc": "Viglu la serio sur Netflix" "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", "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"
} }

View file

@ -6,6 +6,10 @@
"title": "Ver", "title": "Ver",
"desc": "Ver la serie en Netflix" "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", "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"
} }

View file

@ -2,29 +2,5 @@ const { i18n } = require('./next-i18next.config');
module.exports = { module.exports = {
i18n, i18n,
reactStrictMode: true, 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
}
]
}
} }

View file

@ -28,7 +28,7 @@ export default function Home() {
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta property="og:title" content="Vänner Bäst | Friends Best" /> <meta property="og:title" content="Vänner Bäst | Friends Best" />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:image" content="https://vannerba.st/yr.jpg" /> <meta property="og:image" content="https://www.vannerba.st/yr.jpg" />
<meta name="twitter:card" content="summary" /> <meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@Ludoviko_" /> <meta name="twitter:site" content="@Ludoviko_" />
<meta name="twitter:creator" content="@Ludoviko_" /> <meta name="twitter:creator" content="@Ludoviko_" />
@ -44,18 +44,22 @@ export default function Home() {
{t('desc')} {t('desc')}
</p> </p>
<div className={styles.grid}> <div className={styles.grid}>
<a href="/watch" className={styles.card}> <a href="https://vannerba.st/watch" className={styles.card}>
<h2>{t('watch.title')} &rarr;</h2> <h2>{t('watch.title')} &rarr;</h2>
<p>{t('watch.desc')} </p> <p>{t('watch.desc')} </p>
</a> </a>
<a href="/discord" className={styles.card}> <a href="https://vannerba.st/discord" className={styles.card}>
<h2>Discord &rarr;</h2> <h2>Discord &rarr;</h2>
<p>{t('discord')}</p> <p>{t('discord')}</p>
</a> </a>
<a href="/reddit" className={styles.card}> <a href="https://vannerba.st/reddit" className={styles.card}>
<h2>Reddit &rarr;</h2> <h2>Reddit &rarr;</h2>
<p>{t('reddit')}</p> <p>{t('reddit')}</p>
</a> </a>
<a href="https://vannerba.st/learn" className={styles.card}>
<h2>{t('learn.title')} &rarr;</h2>
<p>{t('learn.desc')}</p>
</a>
</div> </div>
</main> </main>
<footer className={styles.footer}><Link href="https://ludoviko.ch">Created by: Ludoviko</Link></footer> <footer className={styles.footer}><Link href="https://ludoviko.ch">Created by: Ludoviko</Link></footer>