tree shaking

This commit is contained in:
Gamebrary 2022-08-17 22:24:40 -07:00
parent e237b735ba
commit fd17925012
15 changed files with 21 additions and 24 deletions

View file

@ -116,8 +116,6 @@ export default {
mounted() {
this.$bus.$on('ADD_GAME', this.setGame);
this.setGame(1026);
},
computed: {

View file

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

View file

@ -1,5 +1,5 @@
<template lang="html">
<b-container fluid>
<b-container>
<portal to="pageTitle">
<div>
<b-button
@ -15,9 +15,7 @@
</portal>
<form @submit.prevent="submit">
<label for="tagName">Tag name:</label>
<b-form-input
id="tagName"
v-model.trim="tag.name"
class="mb-3 field"
maxlength="20"

View file

@ -1,5 +1,5 @@
<template lang="html">
<b-container fluid>
<b-container>
<portal to="headerActions">
<b-button
variant="light"

View file

@ -1,5 +1,5 @@
<template lang="html">
<b-container fluid>
<b-container>
<page-title
title="Dev tools"
/>
@ -39,7 +39,7 @@
>
{{ variant }}
</b-button>
<b-button
v-for="size in ['sm', '', 'lg']"
:variant="`${variant}`"

View file

@ -1,12 +1,11 @@
<!-- TODO: Clone board -->
<!-- TODO: like/favorite board -->
<!-- TODO: Fork board -->
<!-- TODO: Add back button -->
<!-- TODO: refactor platforms and wallpapers -->
<!-- TODO: add board preview-->
<!-- TODO: use board placeholder for preview / disable placeholder animation -->
<template lang="html">
<b-container fluid>
<b-container>
<portal to="pageTitle">
<div>
<b-button
@ -23,7 +22,11 @@
<b-row>
<b-col>
<form ref="boardSettingsForm" @submit.stop.prevent="saveSettings">
<form
ref="boardSettingsForm"
class="field"
@submit.stop.prevent="saveSettings"
>
<b-form-group
:label="$t('board.settings.nameLabel')"
label-for="name"
@ -51,7 +54,7 @@
Make board public (beta)
</b-form-checkbox>
<b-alert show variant="info" v-if="isPublic" class="m-0">
<b-alert show variant="info" v-if="isPublic" class="m-0 text-truncate">
<strong>Public Board URL</strong>
<br>
<small>{{ `https://app.gamebrary.com/#/b/${board.id}` }}</small>

View file

@ -1,5 +1,5 @@
<template lang="html">
<b-container fluid>
<b-container>
<portal to="pageTitle">
<div>
<b-button
@ -72,8 +72,6 @@
{{ tag.name }}
</b-button>
<hr />
<p>Games tagged</p>
<!-- TODO: add quick game picker -->

View file

@ -1,5 +1,5 @@
<template lang="html">
<b-container fluid class="explore-page">
<b-container class="explore-page">
<div class="boards">
<b-card
v-for="board in publicBoards"

View file

@ -1,5 +1,5 @@
<template lang="html">
<b-container fluid>
<b-container>
<page-title title="General settings" />
<!-- <game-detail-settings /> -->
<language-settings />

View file

@ -1,5 +1,5 @@
<template lang="html">
<b-container fluid>
<b-container>
<header class="my-3 d-flex align-items-center justify-content-between">
<h1 class="m-0">Profile</h1>
</header>

View file

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

View file

@ -2,7 +2,7 @@
<!-- TODO: add empty state with predefined searches -->
<!-- TODO: add pagination -->
<template lang="html">
<b-container fluid>
<b-container>
<portal to="pageTitle">Search</portal>
<portal to="headerActions">

View file

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

View file

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

View file

@ -1,5 +1,5 @@
<template lang="html">
<b-container fluid>
<b-container>
<empty-state
v-if="showEmptyState"
:title="$t('wallpapers.title')"