add HeaderText
This commit is contained in:
parent
20986e86e2
commit
4adae4e2d6
@ -16,12 +16,3 @@ body {
|
|||||||
height: calc(100dvh - 100px);
|
height: calc(100dvh - 100px);
|
||||||
text-align: center; /* центрирование текста */
|
text-align: center; /* центрирование текста */
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-with-font {
|
|
||||||
font-family: a_OldTyper;
|
|
||||||
color: #bfa07d;
|
|
||||||
font-weight: 600;
|
|
||||||
letter-spacing: 2px;
|
|
||||||
line-height: 20px;
|
|
||||||
font-size: 22px;
|
|
||||||
}
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import BeltMiniBlock from './BeltMiniBlock.vue';
|
import BeltMiniBlock from './BeltMiniBlock.vue';
|
||||||
import BeltBlock from './BeltBlock.vue';
|
import BeltBlock from './BeltBlock.vue';
|
||||||
|
import HeaderText from './HeaderText.vue';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@ -9,7 +10,7 @@ import BeltBlock from './BeltBlock.vue';
|
|||||||
<BeltMiniBlock class="belt-mini"></BeltMiniBlock>
|
<BeltMiniBlock class="belt-mini"></BeltMiniBlock>
|
||||||
<BeltBlock class="belt">
|
<BeltBlock class="belt">
|
||||||
<div class="position-right-center-block">
|
<div class="position-right-center-block">
|
||||||
<span class="text-with-font">Вечерний детектив</span>
|
<HeaderText>Вечерний детектив</HeaderText>
|
||||||
<!-- <MetalPlate class="team-name-block">
|
<!-- <MetalPlate class="team-name-block">
|
||||||
<div class="text-middle-wrapper text-truncate">
|
<div class="text-middle-wrapper text-truncate">
|
||||||
<p>...</p>
|
<p>...</p>
|
||||||
|
|||||||
@ -8,6 +8,7 @@ import type { Action, Door, Team } from './models';
|
|||||||
import { apiGetGame, apiGetTeam, apiLetsgo } from './client';
|
import { apiGetGame, apiGetTeam, apiLetsgo } from './client';
|
||||||
import { UnauthorizedError } from './UnauthorizedError';
|
import { UnauthorizedError } from './UnauthorizedError';
|
||||||
import WelcomeGameBlock from './WelcomeGameBlock.vue';
|
import WelcomeGameBlock from './WelcomeGameBlock.vue';
|
||||||
|
import HeaderText from './HeaderText.vue';
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
@ -152,8 +153,8 @@ onMounted(() => {
|
|||||||
:disabled="gameState !== 'RUN'">
|
:disabled="gameState !== 'RUN'">
|
||||||
</div>
|
</div>
|
||||||
<div class="game-button-run-shadow"></div>
|
<div class="game-button-run-shadow"></div>
|
||||||
<button class="game-button-run text-with-font" type="submit"
|
<button class="game-button-run" type="submit"
|
||||||
:disabled="gameState !== 'RUN'">Поехали</button>
|
:disabled="gameState !== 'RUN'"><HeaderText>Поехали</HeaderText></button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
18
src/components/HeaderText.vue
Normal file
18
src/components/HeaderText.vue
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
/* код */
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<span class="text-with-font"><slot></slot></span>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.text-with-font {
|
||||||
|
font-family: a_OldTyper;
|
||||||
|
color: #bfa07d;
|
||||||
|
font-weight: 600;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
line-height: 20px;
|
||||||
|
font-size: 22px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Loading…
x
Reference in New Issue
Block a user