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t(^RkDX+X`_7#~2bM3HT
zPSf1CKtWi{jFlOy-hp>8hy%}c*pF0
z+%ss~U}{HyQ1yH2j@*Xdk4eYQ7u$}7yJwcdlu7yHgn`Si4X_{;|=I#*YWx3LHcIV)WK
zVT6Z-rrH619Nlfijr8`8o>zjBUlD=|WvY6>8k&iV5t3LEu~+O)Yz?_<$}YI`uuZ|M
zi1|Ur^J25#4WuM3ZZxj6+3E+zJ5}N@&{0<-3=$tNqLuXUUmq*(XLgfEG3uXV*m^4Q
zCKl$4Q@2l!xw0Gseoqn@rkrUgd3@yaPe)#>;&Eid3
zLU4HZ-%mq_Gl9!CvM*>u3+=)YREG0CmPVWMKIO(amh8VK8SaP^42G%VpOyPn?Vg1o
z^WWc@ogY{JwIqB_)&-~q13hz~ep!Nhn5L-e;UrSo`FRT1#4-6*3@+xM!;*m3jMZB)
z_R(3Bu^Gp)c{%uOC?&29Iz+c&tmzyqTn!`>xJ~1=)?=I|J4cl_h?4GWJ
zH3Zv?_WK-jkJ;m|rB9s4_krZtHVpH~;?Hg414{a)&oF{Hg!0qvjiU>ibH1+Q$8r*L
zPt|5;r}qVF3|c(4wY!#WXOySGSLt?ugOI7Y)>-iQb$1glkB4(GjI_RoYLXcQ
P6963zeMGIAUBv$Y4kLO$
diff --git a/static/vuetify-logo.svg b/static/vuetify-logo.svg
deleted file mode 100644
index 145b6d1..0000000
--- a/static/vuetify-logo.svg
+++ /dev/null
@@ -1 +0,0 @@
-Artboard 46
diff --git a/test/Logo.spec.js b/test/Logo.spec.js
deleted file mode 100644
index c5fbeeb..0000000
--- a/test/Logo.spec.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import { mount } from '@vue/test-utils'
-import Logo from '@/components/Logo.vue'
-
-describe('Logo', () => {
- test('is a Vue instance', () => {
- const wrapper = mount(Logo)
- expect(wrapper.vm).toBeTruthy()
- })
-})
From 0b35707763379a7cec9ba6447d74e578f0eac5db Mon Sep 17 00:00:00 2001
From: Wuzado <23276409+Wuzado@users.noreply.github.com>
Date: Tue, 2 Feb 2021 20:13:45 +0100
Subject: [PATCH 02/10] feat(ui): change colors
---
assets/{ => css}/variables.scss | 0
nuxt.config.js | 28 +++++++++++++++++-----------
2 files changed, 17 insertions(+), 11 deletions(-)
rename assets/{ => css}/variables.scss (100%)
diff --git a/assets/variables.scss b/assets/css/variables.scss
similarity index 100%
rename from assets/variables.scss
rename to assets/css/variables.scss
diff --git a/nuxt.config.js b/nuxt.config.js
index a0b6973..e4e7a6d 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -1,5 +1,3 @@
-import colors from 'vuetify/es5/util/colors'
-
export default {
// Target: https://go.nuxtjs.dev/config-target
target: 'static',
@@ -50,18 +48,26 @@ export default {
// Vuetify module configuration: https://go.nuxtjs.dev/config-vuetify
vuetify: {
- customVariables: ['~/assets/variables.scss'],
+ customVariables: ['~/assets/css/variables.scss'],
theme: {
- dark: true,
themes: {
+ light: {
+ primary: '#6680e6',
+ accent: '#b3ffff',
+ secondary: '#66b3e6',
+ info: '#66b3e6',
+ warning: '#ffc107',
+ error: '#dd2c00',
+ success: '#00e676',
+ },
dark: {
- primary: colors.blue.darken2,
- accent: colors.grey.darken3,
- secondary: colors.amber.darken3,
- info: colors.teal.lighten1,
- warning: colors.amber.base,
- error: colors.deepOrange.accent4,
- success: colors.green.accent3,
+ primary: '#1976d2',
+ accent: '#424242',
+ secondary: '#ff8f00',
+ info: '#26a69a',
+ warning: '#ffc107',
+ error: '#dd2c00',
+ success: '#00e676',
},
},
},
From 45714570e056df9bd56fa3433fd39fe9b7356ddd Mon Sep 17 00:00:00 2001
From: Wuzado <23276409+Wuzado@users.noreply.github.com>
Date: Tue, 2 Feb 2021 20:14:22 +0100
Subject: [PATCH 03/10] fix(ui): add a fix for text wrapping in cards
---
assets/css/vuetifycardwrapfix.css | 3 +++
nuxt.config.js | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
create mode 100644 assets/css/vuetifycardwrapfix.css
diff --git a/assets/css/vuetifycardwrapfix.css b/assets/css/vuetifycardwrapfix.css
new file mode 100644
index 0000000..41d2100
--- /dev/null
+++ b/assets/css/vuetifycardwrapfix.css
@@ -0,0 +1,3 @@
+.v-card__text, .v-card__title {
+ word-break: normal !important;
+}
diff --git a/nuxt.config.js b/nuxt.config.js
index e4e7a6d..80b433b 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -15,7 +15,7 @@ export default {
},
// Global CSS: https://go.nuxtjs.dev/config-css
- css: [],
+ css: ['~/assets/css/vuetifycardwrapfix'],
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [],
From 13544ac7d7fdc15025762fd0f4b8914a9be9385a Mon Sep 17 00:00:00 2001
From: Wuzado <23276409+Wuzado@users.noreply.github.com>
Date: Tue, 2 Feb 2021 20:15:24 +0100
Subject: [PATCH 04/10] feat(layout): create a responsive layout
---
layouts/default.vue | 73 ++++++++++++++++++++++++++++-----------------
1 file changed, 45 insertions(+), 28 deletions(-)
diff --git a/layouts/default.vue b/layouts/default.vue
index 5b65d67..3dd56e6 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -1,34 +1,42 @@
-
-
-
-
-
- {{ item.icon }}
-
-
-
-
-
-
-
-
-
- Fundacyjni
+
+
+ Fundacyjni
+
+
+ {{ item.icon }}
+ {{ item.title }}
+
+
+ mdi-login
+ Zaloguj się
+
-
-
+
+
-
- © {{ new Date().getFullYear() }}
+
+
+ {{ item.title }}
+
+ {{ item.icon }}
+
+
+
+ © {{ new Date().getFullYear() }}
@@ -37,13 +45,22 @@
export default {
data() {
return {
- drawer: false,
items: [
{
icon: 'mdi-apps',
- title: 'Welcome',
+ title: 'Strona główna',
to: '/',
},
+ {
+ icon: 'mdi-gift',
+ title: 'Podaruj rzeczy',
+ to: '/gifting',
+ },
+ {
+ icon: 'mdi-hand-heart',
+ title: 'Podaruj pieniądze',
+ to: '/fundraising',
+ },
],
}
},
From ec16c1ebfe32a77a690921cf09e281ff8cde3afc Mon Sep 17 00:00:00 2001
From: Wuzado <23276409+Wuzado@users.noreply.github.com>
Date: Tue, 2 Feb 2021 20:15:51 +0100
Subject: [PATCH 05/10] feat: add the main page
---
pages/index.vue | 134 +++++++++++++++++++++---------------------------
1 file changed, 59 insertions(+), 75 deletions(-)
diff --git a/pages/index.vue b/pages/index.vue
index b502ea9..4fb5d7a 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1,77 +1,61 @@
-
-
-
-
- Welcome to the Vuetify + Nuxt.js template
-
-
-
- Vuetify is a progressive Material Design component framework for
- Vue.js. It was designed to empower developers to create amazing
- applications.
-
-
- For more information on Vuetify, check out the
-
- documentation .
-
-
- If you have questions, please join the official
-
- discord .
-
-
- Find a bug? Report it on the github
-
- issue board .
-
-
- Thank you for developing with Vuetify and I look forward to bringing
- more exciting features in the future.
-
-
- — John Leider
-
-
-
- Nuxt Documentation
-
-
-
- Nuxt GitHub
-
-
-
-
- Continue
-
-
-
-
+
+
+
+
+ Jak chcesz dzisiaj pomóc?
+
+
+
+
+
+
+ {{ item.icon }}
+ {{ item.title }}
+
+
+
+
+
+
+
+
From 2b44429a1174b2c7b5d119e86a193306539e335d Mon Sep 17 00:00:00 2001
From: Wuzado <23276409+Wuzado@users.noreply.github.com>
Date: Tue, 2 Feb 2021 20:16:41 +0100
Subject: [PATCH 06/10] feat: add mocks for post/offer views
---
components/itemCard.vue | 15 +++++++++++
pages/fundraising.vue | 59 +++++++++++++++++++++++++++++++++++++++++
pages/gifting.vue | 59 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 133 insertions(+)
create mode 100644 components/itemCard.vue
create mode 100644 pages/fundraising.vue
create mode 100644 pages/gifting.vue
diff --git a/components/itemCard.vue b/components/itemCard.vue
new file mode 100644
index 0000000..a1c6ca3
--- /dev/null
+++ b/components/itemCard.vue
@@ -0,0 +1,15 @@
+
+
+
+ Lorem Ipsum
+ przez Lorem Ipsum
+
+
+
+
diff --git a/pages/fundraising.vue b/pages/fundraising.vue
new file mode 100644
index 0000000..f141547
--- /dev/null
+++ b/pages/fundraising.vue
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/gifting.vue b/pages/gifting.vue
new file mode 100644
index 0000000..f141547
--- /dev/null
+++ b/pages/gifting.vue
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
From 198b3501508aa752e21d4be46eb6370f67e89848 Mon Sep 17 00:00:00 2001
From: mwawrzen
Date: Fri, 5 Feb 2021 13:47:06 +0100
Subject: [PATCH 07/10] feat: add login form
---
pages/login.vue | 63 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
create mode 100644 pages/login.vue
diff --git a/pages/login.vue b/pages/login.vue
new file mode 100644
index 0000000..da194c8
--- /dev/null
+++ b/pages/login.vue
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+ Zaloguj
+
+
+
+
+
+
+
+
+
+
From 490b50195b7220e138d4c99671966a37d9a7c08c Mon Sep 17 00:00:00 2001
From: Wuzado <23276409+Wuzado@users.noreply.github.com>
Date: Mon, 8 Feb 2021 21:28:57 +0100
Subject: [PATCH 08/10] feat: add an initial mock of a single post
Including: maximizing pictures using v-overlay.
TODO: improved responsivity on mobile devices.
---
components/itemCard.vue | 3 ++-
pages/gifting.vue | 6 ++++-
pages/posts/_id.vue | 57 +++++++++++++++++++++++++++++++++++++++++
pages/posts/index.vue | 7 +++++
4 files changed, 71 insertions(+), 2 deletions(-)
create mode 100644 pages/posts/_id.vue
create mode 100644 pages/posts/index.vue
diff --git a/components/itemCard.vue b/components/itemCard.vue
index a1c6ca3..4df8103 100644
--- a/components/itemCard.vue
+++ b/components/itemCard.vue
@@ -1,5 +1,5 @@
-
+
Lorem Ipsum
przez Lorem Ipsum
@@ -10,6 +10,7 @@
export default {
props: {
image: String,
+ id: Number,
},
}
diff --git a/pages/gifting.vue b/pages/gifting.vue
index f141547..027be59 100644
--- a/pages/gifting.vue
+++ b/pages/gifting.vue
@@ -17,7 +17,11 @@
-
+
diff --git a/pages/posts/_id.vue b/pages/posts/_id.vue
new file mode 100644
index 0000000..52d6eb4
--- /dev/null
+++ b/pages/posts/_id.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+ mdi-close
+
+
+
+
+
+
+
+
+
+
+ Lorem Ipsum
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
+ ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
+ aliquip ex ea commodo consequat. Duis aute irure dolor in
+ reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
+ pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
+ culpa qui officia deserunt mollit anim id est laborum.
+
+
+
+
+
+
+
+
diff --git a/pages/posts/index.vue b/pages/posts/index.vue
new file mode 100644
index 0000000..4956ee2
--- /dev/null
+++ b/pages/posts/index.vue
@@ -0,0 +1,7 @@
+
From 8421c8e31ded2cdc95672b1075554148a65c8860 Mon Sep 17 00:00:00 2001
From: Wuzado <23276409+Wuzado@users.noreply.github.com>
Date: Mon, 1 Mar 2021 23:00:31 +0100
Subject: [PATCH 09/10] fix: don't enable the login button before the form is
filled out
---
pages/login.vue | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/pages/login.vue b/pages/login.vue
index da194c8..4f13b58 100644
--- a/pages/login.vue
+++ b/pages/login.vue
@@ -2,7 +2,7 @@
-
+
!!v || 'Uzupełnij puste pola'],
}
},
methods: {
- async validate() {
- await this.$refs.form.validate()
+ validate() {
if (this.valid) alert('Pomyślnie zalogowano :)')
},
},
From 4766d401f832234f4d69e3b22737faebc1415480 Mon Sep 17 00:00:00 2001
From: Wuzado <23276409+Wuzado@users.noreply.github.com>
Date: Mon, 1 Mar 2021 23:02:48 +0100
Subject: [PATCH 10/10] fix: make the first letter in labels and placeholders
capital
---
pages/login.vue | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pages/login.vue b/pages/login.vue
index 4f13b58..bf3ad1d 100644
--- a/pages/login.vue
+++ b/pages/login.vue
@@ -6,8 +6,8 @@