mirror of
https://github.com/romancm/gamebrary
synced 2024-11-23 03:33:06 +00:00
tree shaking
This commit is contained in:
parent
e237b735ba
commit
fd17925012
15 changed files with 21 additions and 24 deletions
|
@ -116,8 +116,6 @@ export default {
|
|||
|
||||
mounted() {
|
||||
this.$bus.$on('ADD_GAME', this.setGame);
|
||||
|
||||
this.setGame(1026);
|
||||
},
|
||||
|
||||
computed: {
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="html">
|
||||
<b-container fluid>
|
||||
<b-container>
|
||||
<portal to="headerActions">
|
||||
<b-button
|
||||
variant="light"
|
||||
|
|
|
@ -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}`"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 -->
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="html">
|
||||
<b-container fluid>
|
||||
<b-container>
|
||||
<page-title title="General settings" />
|
||||
<!-- <game-detail-settings /> -->
|
||||
<language-settings />
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="html">
|
||||
<b-container fluid>
|
||||
<b-container>
|
||||
<portal to="pageTitle">Releases</portal>
|
||||
|
||||
<portal to="headerActions">
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="html">
|
||||
<b-container fluid>
|
||||
<b-container>
|
||||
<portal to="pageTitle">Settings</portal>
|
||||
|
||||
<b-row>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="html">
|
||||
<b-container fluid>
|
||||
<b-container>
|
||||
<portal to="pageTitle">
|
||||
<div>
|
||||
<b-button
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template lang="html">
|
||||
<b-container fluid>
|
||||
<b-container>
|
||||
<empty-state
|
||||
v-if="showEmptyState"
|
||||
:title="$t('wallpapers.title')"
|
||||
|
|
Loading…
Reference in a new issue