rename headerTitle -> pageTitle

This commit is contained in:
Gamebrary 2022-08-11 15:01:16 -07:00
parent 642718d207
commit 94c167d532
17 changed files with 17 additions and 18 deletions

View file

@ -1,8 +1,7 @@
<template lang="html">
<header class="p-2 d-flex">
<home-button />
<!-- TODO: rename target -->
<portal-target name="headerTitle" slim />
<portal-target name="pageTitle" slim />
<!-- <boards-dropdown v-if="board.id && isBoardPage" /> -->
<!-- <game-dropdown v-if="isGamePage" /> -->

View file

@ -1,6 +1,6 @@
<template lang="html">
<b-container>
<portal to="headerTitle">Login</portal>
<portal to="pageTitle">Login</portal>
<b-alert
class="mx-auto text-center"

View file

@ -5,7 +5,7 @@
<board-placeholder v-if="loading" />
<template v-else-if="showBoard">
<portal to="headerTitle">
<portal to="pageTitle">
<b-button variant="light" disabled>
{{ board.name }}
</b-button>

View file

@ -1,6 +1,6 @@
<template lang="html">
<b-container fluid>
<portal to="headerTitle">Create board</portal>
<portal to="pageTitle">Create board</portal>
<b-form @submit.prevent="createBoard" class="field">
<b-form-group label="Board name:" label-for="boardName">
<b-form-input

View file

@ -1,6 +1,6 @@
<template lang="html">
<b-container fluid>
<portal to="headerTitle">
<portal to="pageTitle">
Create tag
</portal>

View file

@ -4,7 +4,7 @@
<!-- TODO: show list preview in full page view -->
<!-- TODO: show search inline, allow to go full screen (search page) -->
<b-container fluid class="p-0">
<portal to="headerTitle">
<portal to="pageTitle">
Edit list
</portal>

View file

@ -1,6 +1,6 @@
<template lang="html">
<b-container fluid>
<portal to="headerTitle">
<portal to="pageTitle">
<div>
<b-button
variant="light"

View file

@ -1,6 +1,6 @@
<template lang="html">
<b-container>
<portal to="headerTitle">
<portal to="pageTitle">
<span>
<b-button
:to="{ name: 'game', params: { id: game.id, slug: game.slug }}"

View file

@ -1,6 +1,6 @@
<template lang="html">
<b-container fluid>
<portal to="headerTitle">
<portal to="pageTitle">
<div>
<b-button
:to="gamePage"

View file

@ -2,7 +2,7 @@
<!-- TODO: pagination? -->
<template lang="html">
<b-container fluid>
<portal to="headerTitle">
<portal to="pageTitle">
<div>
<b-button
:to="{ name: 'settings' }"

View file

@ -1,6 +1,6 @@
<template lang="html">
<b-container fluid>
<portal to="headerTitle">Releases</portal>
<portal to="pageTitle">Releases</portal>
<portal to="headerActions">
<b-button

View file

@ -1,7 +1,7 @@
<template lang="html">
<b-container>
<b-row>
<portal to="headerTitle">Search</portal>
<portal to="pageTitle">Search</portal>
<!-- TODO: add filters -->
<!-- TODO: add view toggle -->
<!-- <b-col cols="3" class="position-sticky mt-2">

View file

@ -1,6 +1,6 @@
<template lang="html">
<b-container fluid>
<portal to="headerTitle">Settings</portal>
<portal to="pageTitle">Settings</portal>
<b-row>
<b-col>

View file

@ -3,7 +3,7 @@
<b-spinner v-if="loading" class="spinner-centered" />
<b-row v-else>
<portal to="headerTitle">Tags</portal>
<portal to="pageTitle">Tags</portal>
<portal to="headerActions">
<b-button

View file

@ -10,7 +10,7 @@
/>
<template v-else>
<portal to="headerTitle">
<portal to="pageTitle">
<div>
<b-button
:to="{ name: 'settings' }"

View file

@ -3,7 +3,7 @@
<!-- TODO: add loading placeholder -->
<template lang="html">
<b-container fluid class="p-2">
<portal to="headerTitle">
<portal to="pageTitle">
<span>
{{ game.name }} |
<span class="text-muted">Screenshots</span>

View file

@ -1,7 +1,7 @@
<!-- TODO: get inspiration from polygon -->
<template lang="html">
<b-container fluid class="p-2">
<portal to="headerTitle">
<portal to="pageTitle">
<span>
{{ game.name }} |
<span class="text-muted">News</span>