Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Firu115 committed Nov 11, 2024
2 parents dd065bf + f1e53b8 commit fb23f31
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ taskfile.yaml
backend/.env
backend/backend
backend/backend.exe
backend/skoly.log.csv

scripts/script_texty/texty/
scripts/script_texty/knihy/
Expand Down
Binary file added frontend/src/assets/jizBrzy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 14 additions & 8 deletions frontend/src/views/Domu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function zacit() {
<div class="text">
<p style="font-size: 21px; line-height: 24px;">Webová aplikace na výuku <br><b
style="font-weight: 700;">psaní všemi deseti</b> zdarma.<br>Chceš se naučit psát jako pavouk?</p>
<button v-if="!mobil" class="tlacitko" @click="zacit()"
<button v-if="!mobil" class="tlacitko velky" @click="zacit()"
style="transform: scale(1.25); margin-top: 32px;">Začít psát</button>
</div>
<img src="../assets/pavoukStudent.svg" alt="Pavouk student" width="300" height="253" style="max-height: 230px;">
Expand Down Expand Up @@ -73,8 +73,10 @@ function zacit() {
<p>
Jste vyučující na škole, kde probíhá výuka psaní všemi deseti? Nebo snad ještě neprobíhá? Vyzkoušejte ve třídě organizovanou výuku psaní!
</p>
<button class="tlacitko" @click="router.push('/skolni-system')" style="margin-right: 15px;">Číst dál</button>
<button class="tlacitko" @click="router.push('/zapis')">Zapsat se</button>
<div style="display: flex; gap: 20px; justify-content: center;">
<button class="tlacitko" @click="router.push('/skolni-system')">Číst dál</button>
<button class="tlacitko" @click="router.push('/zapis')">Zapsat se</button>
</div>
</div>
</div>
</template>
Expand All @@ -85,17 +87,21 @@ function zacit() {
}
@media screen and (max-width: 1100px) {
.tlacitko:nth-of-type(1) {
transform: scale(1) !important;
margin: 16px 0 !important;
}
.text:nth-of-type(1) p {
font-size: 19px !important;
}
.bloky img {
width: 90% !important;
}
.velky {
transform: scale(1.1) !important;
margin: 16px 0 !important;
}
}
@media screen and (max-width: 600px) {
}
</style>
7 changes: 3 additions & 4 deletions frontend/src/views/InfoSkola.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ function chekujUdaje() {
<h1>Systém pro školy</h1>

<div class="bloky">
<video controls controlslist="nodownload" width="100%" poster="../assets/nahledVidea.png">
<source src="/verze1.1.mov">
<video controls controlslist="nodownload" width="100%" poster="../assets/jizBrzy.png">
<source src="">
Váš prohlížeč neumí přehrát toto video. <!-- to snad už ani nejde aby to někdo nepodporoval -->
<a href="/verze1.1.mov" download="/verze1.1.mov">Tady</a> si ho můžete zkusit stáhnout.
<a href="" download="">Tady</a> si ho můžete zkusit stáhnout.
</video>
</div>
<div class="specialni-blok bloky">
Expand Down Expand Up @@ -175,7 +175,6 @@ function chekujUdaje() {
flex-direction: column;
height: auto;
gap: 8px;
height: 417px;
}
#formular>div {
Expand Down
14 changes: 11 additions & 3 deletions frontend/src/views/Ucet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,16 @@ function prepnoutStatistiky() {
#tlacitka {
display: inline-flex;
margin-top: 10px;
margin-top: 20px;
gap: 20px;
max-width: 80vw;
flex-wrap: wrap;
justify-content: center;
}
.tlacitko,
.cervene-tlacitko {
margin-top: 0;
}
.tlacitko {
Expand Down Expand Up @@ -587,8 +595,7 @@ function prepnoutStatistiky() {
}
#chyby #pismena>div:nth-child(2) {
gap: 0;
justify-content: space-between;
gap: 8%;
}
}
Expand Down Expand Up @@ -616,6 +623,7 @@ function prepnoutStatistiky() {
#prepinac-tabu {
transform: scale(0.8);
font-size: 17px;
}
#chyby {
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/views/VyberKlavesnice.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ import axios from 'axios';
import { onMounted, onUnmounted, ref } from 'vue';
import { checkTeapot, getToken, pridatOznameni } from '../utils';
import { useRouter } from 'vue-router';
import { mobil } from '../stores';
const router = useRouter()
const klavesnice = ref(false)
const mameJi = ref(false)
const rucne = ref(false)
const rucne = ref(mobil)
const img = ref()
onMounted(() => {
Expand Down Expand Up @@ -76,7 +77,7 @@ function zoomOut() {
</div>

<p id="dole" v-if="!rucne && !mameJi" @click="vybratRucne">Vybrat rozložení ručně</p>
<p id="dole" v-else-if="!mameJi" @click="rucne = false">Zpět k normálnímu výběru</p>
<p id="dole" v-else-if="!mameJi" @click="rucne = false">Zpět k automatickému výběru</p>
</template>
<style scoped>
#tlacitka {
Expand Down

0 comments on commit fb23f31

Please sign in to comment.