Added SEO config
This commit is contained in:
@@ -9,6 +9,13 @@ export default defineNuxtConfig({
|
|||||||
'/champion/**' : {swr: true}
|
'/champion/**' : {swr: true}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
site: {
|
||||||
|
url: 'https://buildpath.win',
|
||||||
|
name: 'BuildPath',
|
||||||
|
description: 'BuildPath: a tool for League of Legends champions runes and build paths.',
|
||||||
|
defaultLocale: 'en', // not needed if you have @nuxtjs/i18n installed
|
||||||
|
},
|
||||||
|
|
||||||
app: {
|
app: {
|
||||||
head: {
|
head: {
|
||||||
htmlAttrs: {
|
htmlAttrs: {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ function updateState(newState : string, newLane : number) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Head>
|
<Head>
|
||||||
<Title>{{ championData.name }} - BuildPath</Title>
|
<Title>{{ championData.name }}</Title>
|
||||||
</Head>
|
</Head>
|
||||||
|
|
||||||
<NavBar :champion-name="championData.name"
|
<NavBar :champion-name="championData.name"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ const {data: stats}: {data: Ref<{patch: number, count: number}>} = await useFetc
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Head>
|
<Head>
|
||||||
<Title>BuildPath</Title>
|
<Title>Home</Title>
|
||||||
</Head>
|
</Head>
|
||||||
|
|
||||||
<Logo id="index-logo"/>
|
<Logo id="index-logo"/>
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ const d_tier = tierFromPickrate(0, 0.05)
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Head>
|
<Head>
|
||||||
<Title>Tierlist for {{ POSITIONS_STR[lanePositionToIndex(lane)] }} - BuildPath</Title>
|
<Title>Tierlist for {{ POSITIONS_STR[lanePositionToIndex(lane)] }}</Title>
|
||||||
</Head>
|
</Head>
|
||||||
|
|
||||||
<div style="display: flex; min-height: 100vh; align-items: stretch; width: 100%;">
|
<div style="display: flex; min-height: 100vh; align-items: stretch; width: 100%;">
|
||||||
|
|||||||
Reference in New Issue
Block a user