Added SEO config
This commit is contained in:
@@ -9,6 +9,13 @@ export default defineNuxtConfig({
|
||||
'/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: {
|
||||
head: {
|
||||
htmlAttrs: {
|
||||
|
||||
@@ -17,7 +17,7 @@ function updateState(newState : string, newLane : number) {
|
||||
|
||||
<template>
|
||||
<Head>
|
||||
<Title>{{ championData.name }} - BuildPath</Title>
|
||||
<Title>{{ championData.name }}</Title>
|
||||
</Head>
|
||||
|
||||
<NavBar :champion-name="championData.name"
|
||||
|
||||
@@ -6,7 +6,7 @@ const {data: stats}: {data: Ref<{patch: number, count: number}>} = await useFetc
|
||||
|
||||
<template>
|
||||
<Head>
|
||||
<Title>BuildPath</Title>
|
||||
<Title>Home</Title>
|
||||
</Head>
|
||||
|
||||
<Logo id="index-logo"/>
|
||||
|
||||
@@ -47,7 +47,7 @@ const d_tier = tierFromPickrate(0, 0.05)
|
||||
|
||||
<template>
|
||||
<Head>
|
||||
<Title>Tierlist for {{ POSITIONS_STR[lanePositionToIndex(lane)] }} - BuildPath</Title>
|
||||
<Title>Tierlist for {{ POSITIONS_STR[lanePositionToIndex(lane)] }}</Title>
|
||||
</Head>
|
||||
|
||||
<div style="display: flex; min-height: 100vh; align-items: stretch; width: 100%;">
|
||||
|
||||
Reference in New Issue
Block a user