Browse Source

hotovo

master
Adam Písař 4 years ago
parent
commit
d7d620fd57
  1. 46
      src/App.vue
  2. BIN
      src/assets/fly.webp
  3. BIN
      src/assets/img.jpg
  4. BIN
      src/assets/letadloo.jpg
  5. BIN
      src/assets/objednavka.png
  6. BIN
      src/assets/paluba.png
  7. 2
      src/components/SeatPicker.vue

46
src/App.vue

@ -2,7 +2,7 @@ Letenka
<template> <template>
<div id="app"> <div id="app">
<h1 style="text-align: center;">Letenka</h1>
<div class="header"><h1>Letenka</h1></div>
<div class="wrapper"> <div class="wrapper">
<div class="col1"> <div class="col1">
<div class="card"> <div class="card">
@ -73,13 +73,17 @@ Letenka
Datum odletu: Datum odletu:
{{ departureDate.getDate() }}. {{ departureDate.getMonth() + 1 }}. {{ departureDate.getFullYear() }} {{ departureDate.getDate() }}. {{ departureDate.getMonth() + 1 }}. {{ departureDate.getFullYear() }}
</p> </p>
<p v-else-if="travelType.value == 'R'">
<div v-else-if="travelType.value == 'R'">
<p>
Datum odletu: Datum odletu:
{{ deparatureRangeDate.start.getDate() }}. {{ deparatureRangeDate.start.getMonth() + 1 }}. {{ deparatureRangeDate.start.getFullYear() }} {{ deparatureRangeDate.start.getDate() }}. {{ deparatureRangeDate.start.getMonth() + 1 }}. {{ deparatureRangeDate.start.getFullYear() }}
</p>
<p>
Datum příletu: Datum příletu:
{{ deparatureRangeDate.end.getDate() }}. {{ deparatureRangeDate.end.getMonth() + 1 }}. {{ deparatureRangeDate.end.getFullYear() }} {{ deparatureRangeDate.end.getDate() }}. {{ deparatureRangeDate.end.getMonth() + 1 }}. {{ deparatureRangeDate.end.getFullYear() }}
</p> </p>
</div>
<p> <p>
Počet cestujcích: {{ personCount }} Počet cestujcích: {{ personCount }}
</p> </p>
@ -92,6 +96,11 @@ Letenka
</div> </div>
</div> </div>
</div> </div>
<div class="footer">
<p>levnewebovky s.r.o</p>
<p>tel. 725 607 001</p>
<p>mail: levnewebovky@seznam.cz</p>
</div>
</div> </div>
</template> </template>
@ -161,12 +170,41 @@ export default {
</script> </script>
<style> <style>
.header {
color: white;
background-color: #000033;
margin-bottom: none;
text-align: center;
padding: none;
height: 50px;
}
.header .h1 {
text-align: center;
}
.wrapper {
margin-top: none;
background-image: url(./assets/img.jpg);
}
.card { .card {
margin-left: 100px;
margin-top: 20px;
margin-bottom: 20px;
color: black;
}
.footer {
text-align: center;
color: white;
background-color: #000033;
height: 150px;
padding-top: 15px;
} }
@media only screen and (max-width: 1000px) { @media only screen and (max-width: 1000px) {
.wrapper { .wrapper {
display: block; display: block;

BIN
src/assets/fly.webp

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

BIN
src/assets/img.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB

BIN
src/assets/letadloo.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

BIN
src/assets/objednavka.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 254 KiB

BIN
src/assets/paluba.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 670 KiB

2
src/components/SeatPicker.vue

@ -49,7 +49,7 @@ text-align: center;
.seat { .seat {
display: inline-block; display: inline-block;
width: 30px; width: 30px;
border: 1px solid gray;
border: 1px solid grey;
margin: 2px; margin: 2px;
} }
.seat div:hover { .seat div:hover {

Loading…
Cancel
Save