Added image

This commit is contained in:
Ludoviko 2021-07-23 21:31:56 +01:00
parent c3aab352d3
commit c09b7ee281
No known key found for this signature in database
GPG key ID: 1E66DEA3F5D623D1
5 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ {
"common": { "common": {
"welcome": "Vänner Bäst.", "welcome": "Welcome to Vänner Bäst.",
"desc": "A Young Royals fan website with links to different discussion spaces.", "desc": "A Young Royals fan website with links to different discussion spaces.",
"watch": { "watch": {
"title": "Watch", "title": "Watch",

View file

@ -1,6 +1,6 @@
{ {
"common": { "common": {
"welcome": "Vänner Bäst.", "welcome": "Bonvenon al Vänner Bäst.",
"desc": "Young Royals Fan-retejo kun ligoj al diversaj diskutaj spacoj.", "desc": "Young Royals Fan-retejo kun ligoj al diversaj diskutaj spacoj.",
"watch": { "watch": {
"title": "Viglu", "title": "Viglu",

View file

@ -1,6 +1,6 @@
{ {
"common": { "common": {
"welcome": "Vänner Bäst.", "welcome": "Bienvenid@ a Vänner Bäst.",
"desc": "Un sitio web de fans de Young Royals con enlaces a diferentes espacios de discusión.", "desc": "Un sitio web de fans de Young Royals con enlaces a diferentes espacios de discusión.",
"watch": { "watch": {
"title": "Ver", "title": "Ver",

View file

@ -4,6 +4,7 @@ import styles from '../styles/Home.module.css'
import { useRouter } from 'next/router' import { useRouter } from 'next/router'
import { useTranslations } from 'next-intl' import { useTranslations } from 'next-intl'
import { GetStaticPropsContext, InferGetStaticPropsType } from 'next' import { GetStaticPropsContext, InferGetStaticPropsType } from 'next'
import Image from 'next/image'
export function getStaticProps({locale}: GetStaticPropsContext) { export function getStaticProps({locale}: GetStaticPropsContext) {
return { return {
@ -28,6 +29,7 @@ export default function Home() {
</Head> </Head>
<main className={styles.main}> <main className={styles.main}>
<Image src="/yr.jpg" alt="Young Royals" width={256} height={144} />
<h1 className={styles.title}> <h1 className={styles.title}>
{t('welcome')} {t('welcome')}
</h1> </h1>

BIN
public/yr.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB