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": {
"welcome": "Vänner Bäst.",
"welcome": "Welcome to Vänner Bäst.",
"desc": "A Young Royals fan website with links to different discussion spaces.",
"watch": {
"title": "Watch",

View file

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

View file

@ -1,6 +1,6 @@
{
"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.",
"watch": {
"title": "Ver",

View file

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

BIN
public/yr.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB