+ + + + + Documentation - - - - - Documentation + Vue’s + official documentation + provides you with all information you need to get started. + - Vue’s - official documentation - provides you with all information you need to get started. - + + + + + Tooling - - - - - Tooling + This project is served and bundled with + Vite. The + recommended IDE setup is + VSCode + + Volar. If + you need to test your components and web pages, check out + Cypress and + Cypress Component Testing. - This project is served and bundled with - Vite. The - recommended IDE setup is - VSCode + - Volar. If - you need to test your components and web pages, check out - Cypress and - Cypress Component Testing. + - + More instructions are available in README.md. + - More instructions are available in README.md. - + + + + + Ecosystem - - - - - Ecosystem + Get official tools and libraries for your project: + Pinia, + Vue Router, + Vue Test Utils, and + Vue Dev Tools. + If you need more resources, we suggest paying + Awesome Vue + a visit. + - Get official tools and libraries for your project: - Pinia, - Vue Router, - Vue Test Utils, and - Vue Dev Tools. If - you need more resources, we suggest paying - Awesome Vue - a visit. - + + + + + Community - - - - - Community + Got stuck? Ask your question on + Vue Land, our official + Discord server, or + StackOverflow. You should also subscribe to + our mailing list and + follow the official + @vuejs + twitter account for latest news in the Vue world. + - Got stuck? Ask your question on - Vue Land, our official - Discord server, or - StackOverflow. You should also subscribe to - our mailing list and follow - the official - @vuejs - twitter account for latest news in the Vue world. - + + + + + Support Vue - - - - - Support Vue - - As an independent project, Vue relies on community backing for its sustainability. You can help - us by - becoming a sponsor. - + As an independent project, Vue relies on community backing for its sustainability. You can + help us by + becoming a sponsor. +
Sign up - + Email - + Password - + + type="submit" + > Signup @@ -79,4 +90,4 @@ input { label { margin-bottom: -1.5rem; } - \ No newline at end of file + diff --git a/src/views/games/GameView.vue b/src/views/games/GameView.vue index b321d81..5e5c728 100644 --- a/src/views/games/GameView.vue +++ b/src/views/games/GameView.vue @@ -1,108 +1,113 @@ - + {{ game.game }} {{ game.description }} - {{ confirmingDeletion ? "Sure?" : "Delete" }} + {{ confirmingDeletion ? 'Sure?' : 'Delete' }} @@ -122,11 +127,9 @@ function toggleActivation(state) { \ No newline at end of file + diff --git a/src/views/games/GamesView.vue b/src/views/games/GamesView.vue index b4cc275..bf85a90 100644 --- a/src/views/games/GamesView.vue +++ b/src/views/games/GamesView.vue @@ -7,7 +7,7 @@ import Loader from '@/components/Loader.vue' import { RouterLink } from 'vue-router' import { GameService } from '@/services/game.service' import { DownloadIcon } from 'lucide-vue-next' -import router from '@/router'; +import router from '@/router' const errorStore = useErrorStore() const apiHost = import.meta.env.VITE_CONJUREOS_HOST @@ -16,11 +16,10 @@ const { list: gamelist } = storeToRefs(gamelistStore) const gamesService = new GameService() onMounted(async () => { - const games = await gamesService.getGames() - .catch((error) => { - console.error('Error:', error) - errorStore.unshift(error) - }) + const games = await gamesService.getGames().catch((error) => { + console.error('Error:', error) + errorStore.unshift(error) + }) if (games) { gamelistStore.set(games) @@ -44,7 +43,7 @@ function downloadAll() { } function newGame() { - router.push("/upload") + router.push('/upload') } @@ -70,9 +69,21 @@ function newGame() { - - - + + + {{ item.game }} {{ item.description }} diff --git a/src/views/games/ManualUploadView.vue b/src/views/games/ManualUploadView.vue index 2478098..989345d 100644 --- a/src/views/games/ManualUploadView.vue +++ b/src/views/games/ManualUploadView.vue @@ -1,5 +1,4 @@ @@ -144,29 +135,57 @@ function testData(): void { Or upload a .conj - + Title - + Description - + Media - + Game - + Genres - Devs - Public Repository - Player Count @@ -180,7 +199,7 @@ function testData(): void { @input="validatePlayersInput" maxlength="3" /> - + Release Date Leaderboard - + - \ No newline at end of file + diff --git a/src/views/games/UploadView.vue b/src/views/games/UploadView.vue index 7cf1c30..2431684 100644 --- a/src/views/games/UploadView.vue +++ b/src/views/games/UploadView.vue @@ -16,7 +16,7 @@ export default { submitForm() { const form = this.$refs.uploadForm const formData = new FormData(form) - console.log("Upload " + JSON.stringify(authStr.getAuth())) + console.log('Upload ' + JSON.stringify(authStr.getAuth())) fetch(apiHost + 'games', { method: 'POST', @@ -46,7 +46,12 @@ export default { Upload - + @@ -70,7 +75,9 @@ export default { - Or manually enter your metadata + Or manually enter your metadata \ No newline at end of file + diff --git a/src/views/players/QrAction.vue b/src/views/players/QrAction.vue index 5b0a34e..bdae6b4 100644 --- a/src/views/players/QrAction.vue +++ b/src/views/players/QrAction.vue @@ -1,49 +1,47 @@ @@ -51,29 +49,29 @@ const submit = (form) => { username password Login - +
- + {{ game.game }} {{ game.description }} - {{ confirmingDeletion ? "Sure?" : "Delete" }} + {{ confirmingDeletion ? 'Sure?' : 'Delete' }} @@ -122,11 +127,9 @@ function toggleActivation(state) {