Skip to content

Commit 5a8d5fd

Browse files
cases(printing): add new job category
1 parent a4c97d8 commit 5a8d5fd

File tree

9 files changed

+831
-0
lines changed

9 files changed

+831
-0
lines changed

api/en/navbar/side.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ data:
6161
- action: "$mdiPrinter3d"
6262
title: 3D Modeling
6363
to: "/en/modeling"
64+
- action: "$mdiPrinterOutline"
65+
title: Printing
66+
to: "/ru/works/printing"
6467
title: More
6568
title: Cases
6669
to: "/en/cases"

api/ru/navbar/side.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ data:
6161
- action: "$mdiPrinter3d"
6262
title: 3D Модели
6363
to: "/ru/modeling"
64+
- action: "$mdiPrinterOutline"
65+
title: Полиграфия
66+
to: "/ru/works/printing"
6467
title: Еще
6568
title: Кейсы
6669
to: "/ru/cases"
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
<template>
2+
<div
3+
:class="{ 'position-absolute': absolute }"
4+
:style="{
5+
top: top ? `${top}px` : '',
6+
right: right ? `${right}px` : '',
7+
bottom: bottom ? `${bottom}px` : '',
8+
left: left ? `${left}px` : '',
9+
}"
10+
>
11+
<svg
12+
:width="width"
13+
:height="height"
14+
viewBox="0 0 530 250"
15+
fill="none"
16+
xmlns="http://www.w3.org/2000/svg"
17+
class="printing-paper"
18+
>
19+
<path
20+
class="printing-paper__stroke"
21+
d="M352.286 53.4205L423.537 215.044L368.553 218.271L299.221 48.2315L352.863 52.4589L388.346 25.1797L438.897 35.5798L522.904 195.852L476.712 197.585L424.335 215.044L353.067 53.4205L388.346 26.7328L476.712 196.133L425 214.822L367.258 219.347M314.352 230.567L244.306 48.2315L155.072 66.4997L227.442 247.716L223.499 248.536L150.84 67.0287H66.8606L136.865 248.974L222.986 248.536L311.431 230.567L240.274 48.2315L307.812 230.567L236.19 48.9595L304.621 231.133L232.187 47.6785L151.643 67.0287L224.338 248.085"
22+
stroke="#fff"
23+
/>
24+
</svg>
25+
</div>
26+
</template>
27+
28+
<script>
29+
export default {
30+
name: 'PrintingPaper',
31+
props: {
32+
width: {
33+
type: [Number, String],
34+
default: 530,
35+
},
36+
height: {
37+
type: [Number, String],
38+
default: 250,
39+
},
40+
absolute: {
41+
type: Boolean,
42+
default: false,
43+
},
44+
top: {
45+
type: String,
46+
default: '',
47+
},
48+
right: {
49+
type: String,
50+
default: '',
51+
},
52+
bottom: {
53+
type: String,
54+
default: '',
55+
},
56+
left: {
57+
type: String,
58+
default: '',
59+
},
60+
},
61+
}
62+
</script>
63+
64+
<style lang="scss">
65+
.printing-paper {
66+
&__stroke {
67+
animation: stroke-width 4s ease-in-out infinite;
68+
stroke-dasharray: 3000;
69+
stroke-dashoffset: -3000;
70+
}
71+
}
72+
73+
@keyframes stroke-width {
74+
70%,
75+
100% {
76+
stroke-dashoffset: 0;
77+
}
78+
79+
to {
80+
opacity: 0;
81+
}
82+
}
83+
</style>

0 commit comments

Comments
 (0)