diff --git a/public/style.css b/public/style.css index 2bcee63..ccdb8e9 100644 --- a/public/style.css +++ b/public/style.css @@ -1,5 +1,8 @@ .card { width: 20rem; - top: 50px; left: 225px; +} +.col1 { + background-image: url(assets/objednavka.png); + background-color: #cccccc; } \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index e118ade..fdf2ac3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,7 +2,7 @@

Letenka

-
+

Parametry letu

@@ -30,11 +30,13 @@

-
-

- Datum odletu: - -

+
+ + +
+
+ +

@@ -60,7 +62,7 @@ -

+

Objednavka

@@ -77,7 +79,11 @@

Datum odletu: - {{ departureDate.getDate() }}. {{ departureDate.getMonth() + 1 }}. {{ departureDate.getFullYear() }} + {{ departureDate.start }} +

+

+ Datum příletu: + {{ deparatureRangeDate.end }}

Počet cestujcích: {{ personCount }} @@ -130,6 +136,11 @@ export default { chosenSeats: [], departureDate: new Date(), + deparatureRangeDate: { + start: new Date(), + end: new Date(), + }, + } }, methods: { @@ -148,7 +159,7 @@ export default { this.chosenSeats.pop(); } - } + }, } } diff --git a/src/assets/objednavka.png b/src/assets/objednavka.png new file mode 100644 index 0000000..f5973ee Binary files /dev/null and b/src/assets/objednavka.png differ diff --git a/src/assets/paluba.png b/src/assets/paluba.png new file mode 100644 index 0000000..b7a2d55 Binary files /dev/null and b/src/assets/paluba.png differ