From 27405485bdf257cda304c6fee05e9f754c3d97cd Mon Sep 17 00:00:00 2001 From: Spythere Date: Sat, 30 Jul 2022 16:42:07 +0200 Subject: [PATCH] =?UTF-8?q?Poprawki=20funkcjonalno=C5=9Bci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 9 +++ src/components/ListSection.vue | 25 +++--- src/components/RandomizerCard.vue | 130 +++++++++++++++++++++--------- src/components/ReadyStockList.vue | 1 - src/mixins/warningsMixin.ts | 65 +++++++++++++++ src/store.ts | 2 +- src/styles/global.scss | 47 ++++++++--- src/types.ts | 2 +- src/utils/statsUtils.ts | 22 ----- src/utils/vehicleUtils.ts | 2 +- 10 files changed, 217 insertions(+), 88 deletions(-) create mode 100644 src/mixins/warningsMixin.ts delete mode 100644 src/utils/statsUtils.ts diff --git a/src/App.vue b/src/App.vue index 454ed20..c13b3f9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,6 +3,13 @@ preview +
+
+ + + + +
logo pojazdownik @@ -43,12 +50,14 @@ import ListSection from './components/ListSection.vue'; import logoImage from './assets/logo.svg'; import { useStore } from './store'; import TrainImage from './components/TrainImageSection.vue'; +import RandomizerCard from './components/RandomizerCard.vue'; export default defineComponent({ components: { ListSection, InputsSection, TrainImage, + RandomizerCard, }, data: () => ({ diff --git a/src/components/ListSection.vue b/src/components/ListSection.vue index 2003c06..c971f6c 100644 --- a/src/components/ListSection.vue +++ b/src/components/ListSection.vue @@ -7,10 +7,6 @@ - - - -
@@ -31,16 +27,20 @@
- +
Ten skład posiada za dużo pojazdów trakcyjnych!
+