55 Commits

Author SHA1 Message Date
Madara0330E
f8f15ada28 выаыаыаыауккк 2024-04-24 21:35:17 +05:00
Hepatica
4648607e3a add timer for updating game money on crash 2024-04-21 16:11:26 +02:00
Hepatica
70b8937ef3 add timer for updating balance on crash 2024-04-21 15:59:53 +02:00
Hepatica
c7671237e1 delete console log 2024-04-21 15:50:44 +02:00
Hepatica
f2573a5f3b Revert "Add checking for correct status in crash game"
This reverts commit 3912f4c313.
2024-04-21 15:31:04 +02:00
Hepatica
3912f4c313 Add checking for correct status in crash game 2024-04-21 15:27:25 +02:00
Swino4ka
6ab6c881b4 Merge pull request #31 from danilt2000/Swino4ka
added spacebar
2024-04-18 12:33:02 +02:00
Swino4ka
c6ccf9f368 added spacebar 2024-04-18 12:32:49 +02:00
Swino4ka
8d84a39351 Merge pull request #30 from danilt2000/Swino4ka
Added professions to mine card, fixed some code
2024-04-18 12:31:29 +02:00
Swino4ka
a3b078c7c2 Added professions to mine card, fixed some code 2024-04-18 12:31:11 +02:00
Swino4ka
9ac77a2fe0 Merge pull request #29 from danilt2000/Swino4ka
Reverted, fixed problems
2024-04-17 22:14:36 +02:00
Swino4ka
e3122f477a Reverted, fixed problems 2024-04-17 22:12:11 +02:00
Swino4ka
8f083fb7d2 Merge pull request #28 from danilt2000/Swino4ka
Deleted crash history
2024-04-17 18:26:49 +02:00
Swino4ka
5f9ae77b9f Deleted crash history 2024-04-17 18:26:19 +02:00
Swino4ka
ed3e5b6a93 Merge pull request #27 from danilt2000/Swino4ka
Swino4ka
2024-04-17 18:21:40 +02:00
Swino4ka
1df75ba3ee Fixed chat symbols bug
Короче баг был, который при отсылании миллиарда символов чат схлопывал.
Бл, Рафаелло постоянно просил переделывать, наконец то сделал то, что он принял и залил, всем спасибо за внимание
2024-04-17 18:19:57 +02:00
Swino4ka
327dd6c7e9 Merge branch 'main' into Swino4ka 2024-04-17 17:05:57 +02:00
rafael1209
c90f249eb6 fix 2024-04-17 17:39:02 +03:00
rafael1209
8b6a3b03e0 added embed 2024-04-14 17:16:17 +03:00
Kostya
59565dc1c0 added jackpot-history page 2024-04-13 20:21:35 +03:00
Hepatica
4f467e83b8 Merge pull request #26 from danilt2000/DevelopMadara
homelogoDuable
2024-04-13 17:52:55 +02:00
Madara0330E
88a869569c homelogoDuable
homelogoDuable
2024-04-13 20:50:02 +05:00
Hepatica
756ece2026 Merge pull request #25 from danilt2000/DevelopMadara
DevelopCard`12`1
2024-04-13 17:38:51 +02:00
Madara0330E
552da1b8af Merge branch 'main' of https://github.com/danilt2000/LuckyDiamond into DevelopMadara 2024-04-13 20:29:34 +05:00
Madara0330E
df7c571fea developcard remeick2
developcard remeick2
2024-04-13 18:43:19 +05:00
Madara0330E
c35276b403 developcard remeick
developcard remeick
2024-04-13 18:41:08 +05:00
Swino4ka
73efda2f93 I can't 2024-04-10 18:17:09 +02:00
Rafael Chasman
285fad1374 Merge pull request #23 from danilt2000/DevelopMadara
ficksing erorr
2024-04-10 18:35:26 +03:00
Madara0330E
fce510eb51 ficksing erorr
erorr
2024-04-10 20:31:50 +05:00
rafael1209
f7ca16c635 updated games info links 2024-04-09 20:49:00 +03:00
Rafael Chasman
6c5f587a1e Merge pull request #22 from danilt2000/DevelopMadara
Develop madara
2024-04-09 20:04:18 +03:00
Madara0330E
eab559ef33 ываыа
авыа
2024-04-09 22:02:34 +05:00
Madara0330E
70cdf1fafa уфаошаыфыа
dsfsff
2024-04-09 22:02:08 +05:00
rafael1209
0573f605b2 turn off 2024-04-09 12:13:01 +03:00
rafael1209
e872684b30 turn on 2024-04-09 00:23:28 +03:00
Kostya
66af95b9e2 added normal version for game history 2024-04-09 00:14:38 +03:00
rafael1209
6601ec2cc9 Reapply "Merge branch 'main' into DevelopCkutls"
This reverts commit 26ee6ded22.
2024-04-08 23:45:01 +03:00
rafael1209
87816193a2 resolve merge conflin after wrong merge ckyls change 2024-04-08 23:42:56 +03:00
rafael1209
935ac5dc52 Update ProfilePage.vue 2024-04-08 21:46:41 +03:00
Swino4ka
3215d994be I'm done 2024-04-08 20:18:30 +02:00
rafael1209
26ee6ded22 Revert "Merge branch 'main' into DevelopCkutls"
This reverts commit f0ef1fc13e, reversing
changes made to 052bc12b39.
2024-04-08 21:05:41 +03:00
rafael1209
2d65e4cd74 Revert "Merge pull request #21 from danilt2000/DevelopCkutls"
This reverts commit 25c8bab94f, reversing
changes made to 3b06b7ef2d.
2024-04-08 21:05:36 +03:00
rafael1209
cf57aaa54c Reapply "Merge pull request #20 from danilt2000/Swino4ka"
This reverts commit 49819e061a.
2024-04-08 21:05:33 +03:00
rafael1209
49819e061a Revert "Merge pull request #20 from danilt2000/Swino4ka"
This reverts commit 3b06b7ef2d, reversing
changes made to c4761cec13.
2024-04-08 21:05:08 +03:00
Rafael Chasman
25c8bab94f Merge pull request #21 from danilt2000/DevelopCkutls
Develop ckutls
2024-04-08 20:52:38 +03:00
Rafael Chasman
f0ef1fc13e Merge branch 'main' into DevelopCkutls 2024-04-08 20:49:55 +03:00
Kostya
052bc12b39 added normal version for game history 2024-04-07 19:47:30 +03:00
Kostya
8294cc8e97 123123213 2024-04-06 17:13:21 +03:00
Kostya
2f424a8e4e added api connect, refactor styles 2024-04-06 16:52:12 +03:00
Kostya
d8977ae282 added template for jackpot-history 2024-03-31 21:24:43 +03:00
Kostya
7c0616710d added router for jackop-history 2024-03-31 20:52:37 +03:00
Kostya
31a83bba1d added connect for payments-modal, added event-bus for upd-money in profile and header 2024-03-05 21:52:56 +03:00
Kostya
5dc51486a5 added connect for profile 2024-03-05 20:51:18 +03:00
Kostya
7e5cd1bbdc added connect for header and fixed menu 2024-03-05 20:36:17 +03:00
Kostya
f9abb597be fixed margin in menu-mobile, fixed home-text 2024-03-05 19:51:48 +03:00
39 changed files with 794 additions and 95 deletions

View File

@@ -28,14 +28,14 @@
.menu__content--chest-icon { .menu__content--chest-icon {
margin-left: -1px; margin-left: -1px;
transition: 250ms; transition: 250ms;
width: 100%; width: 80px;
height: 100%; height: 80px;
} }
.menu__content--chest-icon:hover { .menu__content--chest-icon:hover {
margin-left: -5px; margin-left: -2px;
height: 125%; height: 100px;
width: 125%; width: 100px;
} }
.menu__btn--home { .menu__btn--home {

View File

@@ -4,10 +4,10 @@
align-items: center; align-items: center;
display: flex; display: flex;
justify-content: center; justify-content: center;
width: 1332px; width: 100%;
height: 732px; height: 732px;
margin-top: 10px; margin-top: 10px;
margin-left: 65px;
} }
.bottom_card { .bottom_card {
width: 1332px; width: 1332px;
@@ -18,8 +18,7 @@
margin-left: 295px; margin-left: 295px;
} }
.top_card { .top_card {
width: 1204px; width: 100%;
height: 443px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-left: 287px; margin-left: 287px;
@@ -397,7 +396,114 @@
display: flex; display: flex;
} }
/*the and FUpir_card 1*/ /*the and FUpir_card 1*/
/*beginning Swino4ka_card 1*/
.Swino4ka_card {
width: 250px;
height: 443px;
background-color: #6b4d3f;
border: 3px solid #595959 ;
border-color: #595959;
border-radius: 22px;
}
.Swino4ka_text_2 {
width: 244px;
height: 219.7px;
display: inline-block;
flex-flow: column-reverse;
}
.Swino4ka_aboutinfo_2 {
margin-top: 30px;
margin-left: 19px;
}
.Swino4ka_aboutinfo_2 p {
font-family: 'Montserrat';
color: white;
font-size: 14px;
width: 79px;
height: 19px;
margin-left: 4px;
}
.Swino4ka_aboutinfo_2 h1 {
font-family: 'Montserrat';
color: white;
font-size: 32px;
width: 177px;
height: 37px;
line-height: 30px;
}
.Swino4ka_whatjob_1 {
display: flex;
width: 183px;
height: 16px;
margin-left: 19px;
font-family: 'Montserrat';
margin-top: 30px;
}
.Swino4ka_whatjob_1 img {
width: 15px;
height: 17px;
}
.Swino4ka_whatjob_1 p {
margin-left: 3px;
}
.Swino4ka__whatjob_2 {
display: flex;
width: 183px;
height: 16px;
margin-left: 19px;
font-family: 'Montserrat';
margin-top: 10px;
}
.Swino4ka__whatjob_2 img {
width: 15px;
height: 17px;
}
.Swino4ka__whatjob_2 p {
margin-left: 3px;
}
.Swino4ka__whatjob_3 {
display: flex;
width: 183px;
height: 16px;
margin-left: 19px;
font-family: 'Montserrat';
margin-top: 9px;
}
.Swino4ka__whatjob_3 img {
width: 17px;
height: 15px;
}
.Swino4ka__whatjob_3 p {
margin-left: 3px;
}
.Swino4ka_skin_2 {
width: 244px;
height: 221.5px;
display: inline-block;
display: flex;
align-items: center;
justify-content: center;
}
.Swino4ka_skin_2_skin {
width: 212px;
height: 212px;
background-image: url(https://avatar.spworlds.ru/front/212/Swino4ka.png);
justify-content: space-around;
display: flex;
align-items: flex-end;
margin-bottom: 3px;
}
.Swino4ka_skinicons1 {
justify-content: space-around;
display: flex;
}
/*the and Swino4ka_card 1*/
/*beginning busha888_card 1*/ /*beginning busha888_card 1*/
.busha888_card { .busha888_card {
width: 422px; width: 422px;
@@ -485,10 +591,11 @@
} }
/*the and busha888_card 1*/ /*the and busha888_card 1*/
/*beginning megatntmega_card 1*/ /*beginning GEDPOOL31_card 1*/
.megatntmega_card { .GEDPOOL31_card {
width: 422px; width: 422px;
height: 269px; height: 269px;
flex-direction: row;
border-radius: 22px; border-radius: 22px;
border: 3px solid #595959 ; border: 3px solid #595959 ;
border-color: #595959; border-color: #595959;
@@ -498,32 +605,33 @@
} }
.megatntmega_text { .GEDPOOL31_text {
width: 211px; width: 200px;
height: 269px; height: 269px;
} }
.megatntmega_aboutinfo { .GEDPOOL31_aboutinfo {
margin-top: 30px; margin-top: 30px;
margin-left: 15px; margin-left: 15px;
} }
.megatntmega_aboutinfo p { .GEDPOOL31_aboutinfo p {
font-family: 'Montserrat'; font-family: 'Montserrat';
color: white; color: white;
font-size: 14px; font-size: 14px;
width: 200px;
height: 16px; height: 16px;
} }
.megatntmega_aboutinfo h1 { .GEDPOOL31_aboutinfo h1 {
font-family: 'Montserrat'; font-family: 'Montserrat';
color: white; color: white;
font-size: 32px; font-size: 32px;
} }
.megatntmega_whatjob { .GEDPOOL31_whatjob {
display: flex; display: flex;
width: 183px; width: 183px;
height: 16px; height: 16px;
@@ -533,15 +641,15 @@
margin-top: 30px; margin-top: 30px;
} }
.megatntmega_whatjob p { .GEDPOOL31_whatjob p {
margin-left: 3px; margin-left: 3px;
margin-top: 3px; margin-top: 3px;
} }
.megatntmega_whatjob img { .GEDPOOL31_whatjob img {
width: 25px; width: 25px;
height: 24px; height: 25px;
} }
.megatntmega_icons { .GEDPOOL31_icons {
width: 79px; width: 79px;
height: 36px; height: 36px;
justify-content: space-around; justify-content: space-around;
@@ -550,23 +658,23 @@
margin-left: 72px; margin-left: 72px;
margin-bottom: 11px; margin-bottom: 11px;
} }
.megatntmega_icons img { .GEDPOOL31_icons img {
display: flex;
width: 36px; width: 36px;
height: 36px; height: 36px;
} }
.megatntmega_skin { .GEDPOOL31_skin {
margin-top: 51px; margin-top: 51px;
margin-bottom: 3px; margin-bottom: 3px;
display: flex; display: flex;
width: 212px; width: 212px;
height: 212px; height: 212px;
background-image: url(https://avatar.spworlds.ru/front/212/megatntmega.png);
} }
.megatntmega_skin img { .GEDPOOL31_skin img {
width: 212px; width: 212px;
height: 212px; height: 212px;
} }
/*the and megatntmega_card 1*/ /*the and GEDPOOL31_card 1*/
/*beginning CLARFFY_card 1*/ /*beginning CLARFFY_card 1*/
.CLARFFY_card { .CLARFFY_card {
@@ -659,11 +767,15 @@
align-items: center; align-items: center;
display: flex; display: flex;
justify-content: center; justify-content: center;
width: 1332px; width: 100%;
height: 732px; height: 732px;
margin-top: 80px; margin-top: 80px;
margin-left: 142px;
}
.top_card {
width: 90%;
} }
} }

View File

@@ -1,3 +1,12 @@
.classMenegerCrash {
display: flex;
flex-direction: row;
}
.classNoMenegerCrash {
margin-top: 7.4vh;
margin-left: 1vh;
}
.crash-content { .crash-content {
display: grid; display: grid;
grid-template-columns: repeat(6, 1fr); grid-template-columns: repeat(6, 1fr);
@@ -168,7 +177,30 @@
font-weight: 700; font-weight: 700;
} }
/* /Crash-Graph */ /* /Crash-History */
.crash__history {
background: linear-gradient(90deg, rgba(34, 37, 47, 0.8) -0.54%, rgba(34, 37, 47, 0.8) 83.03%, rgba(73, 59, 74, 0.64) 103.54%);
width: 66%;
height: 50px;
border-radius: 18px;
margin-left: 455px;
display: grid;
grid-template-columns: auto auto auto;
gap: 10px;
}
.grid-item {
background-color: rgba(255, 255, 255, 0.8);
border: 1px solid rgba(0, 0, 0, 0.8);
text-align: center;
}
.crash-history__element {
height: 80%;
border-radius: 18px;
background: rgba(34, 37, 47, 0.8);
}
/* Crash-Players */ /* Crash-Players */

View File

@@ -11,7 +11,21 @@
/* margin-top: 2.6%; */ /* margin-top: 2.6%; */
margin: 2.6%; margin: 2.6%;
} }
.classMeneger {
display: flex;
flex-direction: row;
}
.classNoMeneger {
margin-left: 1vh;
margin-top: 2.4vh;
}
.IstoriaMenedger {
margin-left: 85px;
margin-top: 7px;
width: 30px;
height: 30px;
}
.jackpot-loading-bar { .jackpot-loading-bar {
z-index: 1; z-index: 1;
/* margin-left: 5%; */ /* margin-left: 5%; */
@@ -378,4 +392,10 @@
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
} }
.IstoriaMenedger {
margin-left: 20px;
margin-top: 7px;
width: 30px;
height: 30px;
}
} }

View File

@@ -6,7 +6,15 @@
backdrop-filter: blur(100px); backdrop-filter: blur(100px);
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
} }
.classMenegerSaper {
display: flex;
flex-direction: row;
}
.classNoMenegerSaper {
margin-left: 1vh;
margin-top: 2.4vh;
}
.bg { .bg {
background: #293561; background: #293561;
filter: blur(120px); filter: blur(120px);

View File

@@ -37,6 +37,7 @@
text-transform: uppercase; text-transform: uppercase;
} }
@keyframes RaindowAnimate { @keyframes RaindowAnimate {
from { from {
color: #6EEB21; color: #6EEB21;
@@ -90,6 +91,7 @@
} }
.bg-card { .bg-card {
border-radius: 40px; border-radius: 40px;
background: #EF4444; background: #EF4444;
box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25); box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
@@ -99,6 +101,7 @@
border-radius: 40px; border-radius: 40px;
background: #EF4444; background: #EF4444;
box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25); box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
height: 21.5vh;
} }
.gamemode__main { .gamemode__main {
@@ -261,6 +264,29 @@
bottom: 5%; bottom: 5%;
left: 2%; left: 2%;
transition: 250ms; transition: 250ms;
height: 7vh;
}
.line__btn--doubl {
border-radius: 21px;
background: #FFF;
box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
color: #000;
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
font-family: Montserrat Alternates;
font-size: 36px;
font-weight: 700;
padding: 11px 0px 11px 11px;
text-decoration: none;
text-transform: uppercase;
position: relative;
bottom: 5%;
left: 2%;
height: 7.4vh;
width: 16vh;
transition: 250ms;
} }
.line__btn--crash span:after { .line__btn--crash span:after {
@@ -268,6 +294,7 @@
opacity: 0; opacity: 0;
transition: 250ms; transition: 250ms;
right: 20; right: 20;
} }
.line__btn--crash:hover span:after { .line__btn--crash:hover span:after {
@@ -281,7 +308,28 @@
} }
.line__btn--crash:active { .line__btn--crash:active {
left: 5%; left: 2%;
}
.line__btn--doubl span:after {
content: '\00bb';
opacity: 0;
transition: 250ms;
right: 0;
}
.line__btn--doubl:hover span:after {
opacity: 1;
right: 0;
padding-right: 0px;
}
.line__btn--doubl:hover {
padding:11px 11px 11px 22px ;
width: 20vh;
}
.line__btn--doubl-:active {
left: 2%;
} }
.line__btn__jackpot { .line__btn__jackpot {
@@ -325,6 +373,7 @@
.line__btn--elm { .line__btn--elm {
color: #000; color: #000;
font-size: 38px ; font-size: 38px ;
} }
.line__btn--elm--saper { .line__btn--elm--saper {
@@ -382,13 +431,28 @@
margin-top: 2%; margin-top: 2%;
width: 100%; width: 100%;
min-height: 180px; min-height: 180px;
} height:22.3vh ;
}
.container {}
.gamemode__twoline--two__element .container { .gamemode__twoline--two__element .container {
display: flex; display: flex;
justify-content: center; justify-content: center;
}
}
.linecontent-4 {
}
.iconsGame {
bottom: 20px;
height: 20vh;
}
.ButtonPlayDouble {
width: 20vh;
margin-top: 1.6vh;
}
.gamemode__twoline--two__element .container a { .gamemode__twoline--two__element .container a {
margin-right: 10%; margin-right: 10%;
} }
@@ -491,8 +555,8 @@
} }
.crash--img { .crash--img {
height: 60px; height: 128px;
width: 60px; width: 128px;
} }
.line__content { .line__content {

View File

@@ -0,0 +1,67 @@
.jackpot-history__content {
display: flex;
max-height: 800px;
overflow-y: auto;
margin: 0 auto;
}
.jackpot-history__element {
display: flex;
flex-direction: column;
flex-wrap: wrap;
margin: 15px;
}
.abc {
}
.element-info {
display: flex;
align-items: center;
}
.element-info .element-info__icon img {
height: 50px;
}
.element-info .element-info__user-info {
margin-left: 4px;
}
.element-info .element-info__user-info .username {
color: #515D83;
font-family: 'Montserrat';
font-weight: 700;
font-size: 20px;
}
.element-info .element-info__user-info .user-deposit {
font-family: 'Montserrat';
font-weight: 700;
font-size: 20px;
}
.element-info .element-info__user-info .img-width img {
width: 16px;
height: 16px;
}
.element-chance {
margin-top: 10px;
}
.element-chance h2 {
font-family: 'Montserrat';
font-weight: 700;
font-size: 18px;
text-align: center;
background: #27345C;
border-radius: 7px;
}
.element-chance .chance-style {
color: #EF4444;
margin-left: 2px;
}

View File

@@ -275,6 +275,9 @@
.withdraw { .withdraw {
padding-right: 56%; padding-right: 56%;
} }
.referal {
padding-right: 56%;
}
.withdraw-color h3 { .withdraw-color h3 {
color: #EA3D38; color: #EA3D38;
margin-right: 1vh; margin-right: 1vh;
@@ -345,6 +348,9 @@
.withdraw { .withdraw {
padding-right: 66%; padding-right: 66%;
} }
.referal {
padding-right: 66%;
}
} }
@media screen and (min-device-width: 1921px) { @media screen and (min-device-width: 1921px) {

View File

@@ -125,6 +125,22 @@ button {
grid-gap: 0.625rem; grid-gap: 0.625rem;
} }
.jackpot-history__content-grid {
display: grid;
grid-auto-columns: 1fr;
grid-template-columns: 0.35fr repeat(5, 1fr) 1fr;
grid-template-rows: auto 0fr repeat(4, 1fr);
grid-template-areas:
"menu header header header header header header"
"menu jackpot-history jackpot-history jackpot-history jackpot-history jackpot-history chat"
"menu jackpot-history jackpot-history jackpot-history jackpot-history jackpot-history chat"
"menu jackpot-history jackpot-history jackpot-history jackpot-history jackpot-history chat"
"menu jackpot-history jackpot-history jackpot-history jackpot-history jackpot-history chat"
"menu jackpot-history jackpot-history jackpot-history jackpot-history jackpot-history chat"
"menu jackpot-history jackpot-history jackpot-history jackpot-history jackpot-history chat";
grid-gap: 0.625rem;
}
.grid-crash { .grid-crash {
display: grid; display: grid;
grid-template-columns: 0.35fr repeat(5, 1fr) 1fr; grid-template-columns: 0.35fr repeat(5, 1fr) 1fr;
@@ -227,6 +243,13 @@ button {
margin: 0.625rem 2.438rem 1.125rem 1.125rem; */ margin: 0.625rem 2.438rem 1.125rem 1.125rem; */
} }
.jackpot-history {
grid-area: jackpot-history;
background: #17181C;
border-radius: 20px;
height: 97%;
}
.double { .double {
display: flex; display: flex;
grid-area: double; grid-area: double;

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 751 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 824 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 751 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,3 @@
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M30 14.9717C30.0153 23.2362 23.2754 29.9942 15.0109 30C11.4414 30.0025 8.16271 28.7583 5.58616 26.6788C4.91619 26.138 4.8661 25.1339 5.47493 24.5251L6.15641 23.8436C6.67711 23.3229 7.5084 23.266 8.0853 23.7236C9.98358 25.23 12.3859 26.1291 15 26.1291C21.1515 26.1291 26.129 21.1506 26.129 15C26.129 8.8485 21.1505 3.87098 15 3.87098C12.0475 3.87098 9.36598 5.0183 7.37491 6.89106L10.4447 9.96087C11.0544 10.5705 10.6226 11.6129 9.76046 11.6129H0.967741C0.433246 11.6129 0 11.1797 0 10.6452V1.85244C0 0.990304 1.04238 0.558509 1.65205 1.16813L4.63826 4.15434C7.33118 1.58081 10.981 0 15 0C23.2748 0 29.9847 6.70042 30 14.9717ZM19.0577 19.7368L19.6519 18.9729C20.1441 18.3401 20.0301 17.428 19.3972 16.9359L16.9355 15.0211V8.70969C16.9355 7.90798 16.2856 7.25808 15.4839 7.25808H14.5161C13.7144 7.25808 13.0645 7.90798 13.0645 8.70969V16.9144L17.0207 19.9915C17.6535 20.4836 18.5655 20.3697 19.0577 19.7368Z" fill="#B8B8B8"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,9 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect width="20" height="20" fill="url(#pattern0_3764_2)"/>
<defs>
<pattern id="pattern0_3764_2" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_3764_2" transform="scale(0.0078125)"/>
</pattern>
<image id="image0_3764_2" width="128" height="128" xlink:href="data:image/png;base64,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"/>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 3.0 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -85,3 +85,25 @@ export async function JoinJackpotGame(userData, amount) {
console.log('Fetch error') console.log('Fetch error')
} }
} }
export async function getJackpotHistoryGame () {
try {
const response = await fetch(`${BackendApiUrl}/GameJackpot/GetNewestJackpotGames`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
redirect: "follow"
})
if (!response.ok) {
console.log('Fetch error:', response.status)
}
console.log(response)
return await response.json()
}
catch (error) {
console.log('Fetch error')
}
}

View File

@@ -9,8 +9,7 @@
<!-- <div class="fotosloti"><a href="#"><img src="../assets/icons-menu/slots-icon.svg" ></a></div> --> <!-- <div class="fotosloti"><a href="#"><img src="../assets/icons-menu/slots-icon.svg" ></a></div> -->
<a href="#" @click="$router.push({ name: 'jackpot' })"><img class="menu__content--jackpot-icon" src="../assets/icons-menu/jackpot-icon.svg"></a> <a href="#" @click="$router.push({ name: 'jackpot' })"><img class="menu__content--jackpot-icon" src="../assets/icons-menu/jackpot-icon.svg"></a>
<a href="#" @click="$router.push({ name: 'crash' })"><img class="menu__content--cruch-icon" src="../assets/icons-menu/crush-icon.svg"></a> <a href="#" @click="$router.push({ name: 'crash' })"><img class="menu__content--cruch-icon" src="../assets/icons-menu/crush-icon.svg"></a>
<a href="#" @click="$router.push({ name: 'double' })"><img class="menu__content--chest-icon" src="../assets/icons-menu/case-icon.png"></a> <a href="#" @click="$router.push({ name: 'double' })"><img class="menu__content--chest-icon" src="../assets/icons-menu/duable-icons.svg"></a>
<!-- <a href="#" @click="$router.push({ name: 'saper' })"><img class="menu__content--bomb-icon" src="../assets/icons-menu/bomb-icon.svg"></a> --> <!-- <a href="#" @click="$router.push({ name: 'saper' })"><img class="menu__content--bomb-icon" src="../assets/icons-menu/bomb-icon.svg"></a> -->
<a href="#" @click="$router.push({ name: 'saper' })"><img class="menu__content--bomb-icon" src="../assets/icons-menu/bomb-icon.svg"></a> <a href="#" @click="$router.push({ name: 'saper' })"><img class="menu__content--bomb-icon" src="../assets/icons-menu/bomb-icon.svg"></a>
</div> </div>

View File

@@ -69,14 +69,37 @@ export default {
return msg.msg.includes(GetCookie("SpUserName")); return msg.msg.includes(GetCookie("SpUserName"));
}, },
ClaimDatamsg(msg) { ClaimDatamsg(msg) {
const now = Date.now(); const now = Date.now();
if (!this.lastMsgTime || now - this.lastMsgTime >= 1000) { if (!this.lastMsgTime || now - this.lastMsgTime >= 1000) {
SendMessageToChat(msg[0]); const processedMsg = this.processMessage(msg[0]);
this.lastMsgTime = now;
} else { SendMessageToChat(processedMsg);
alert("Вы не можете отправлять сообщения так часто"); this.lastMsgTime = now;
} } else {
}, alert("Вы не можете отправлять сообщения так часто");
}
},
processMessage(message) {
const maxLength = 5; // Тут макс допустимых символов писать
const processedMessage = [];
let currentSymbol = "";
let count = 0;
for (let i = 0; i < message.length; i++) {
if (message[i] === currentSymbol) {
count++;
} else {
currentSymbol = message[i];
count = 1;
}
if (count <= maxLength) {
processedMessage.push(message[i]);
}
}
return processedMessage.join("");
},
muteChat() { muteChat() {
// Mute the chat by disabling the event listener for incoming messages. // Mute the chat by disabling the event listener for incoming messages.
this.eventBus.$off("dataChat"); this.eventBus.$off("dataChat");
@@ -110,29 +133,52 @@ export default {
}); });
}, },
created() { created() {
GetChatHistory().then((response) => { GetChatHistory().then((response) => {
if (response && response.length) { if (response && response.length) {
response.forEach((element) => { response.forEach((element) => {
let imageUrl = let imageUrl =
"https://avatar.spworlds.ru/face/55/" + element.userName; "https://avatar.spworlds.ru/face/55/" + element.userName;
const MsgUser = { const processedMsg = this.processMessage(element.message); // Process the message
id: this.id + 1,
msg: element.message,
username: element.userName,
icon: imageUrl,
};
if (MsgUser.username === "🛠️ System") { const MsgUser = {
MsgUser.icon = "https://avatar.spworlds.ru/face/55/CONSOLE"; id: this.id + 1,
} msg: processedMsg, // Use the processed message
username: element.userName,
icon: imageUrl,
};
this.array.push(MsgUser); if (MsgUser.username === "🛠️ System") {
}); MsgUser.icon = "https://avatar.spworlds.ru/face/55/CONSOLE";
this.ScrollToBottom(); }
}
}); this.array.push(MsgUser);
}, });
this.ScrollToBottom();
}
});
},
processMessage(message) {
const maxLength = 5; // Тут макс допустимых символов писать
const processedMessage = [];
let currentSymbol = "";
let count = 0;
for (let i = 0; i < message.length; i++) {
if (message[i] === currentSymbol) {
count++;
} else {
currentSymbol = message[i];
count = 1;
}
if (count <= maxLength) {
processedMessage.push(message[i]);
}
}
return processedMessage.join("");
},
}; };
</script> </script>

View File

@@ -60,7 +60,7 @@
</div> </div>
<div class="Ckutls__whatjob_1"> <div class="Ckutls__whatjob_1">
<img src="@/assets/icons-developcard/html.png" alt="html"> <img src="@/assets/icons-developcard/html.png" alt="html">
<p>HTML 5,CSS</p> <p>HTML 5, CSS</p>
</div> </div>
<div class="Ckutls__whatjob_2"> <div class="Ckutls__whatjob_2">
<img src="@/assets/icons-developcard/js.png" alt="html"> <img src="@/assets/icons-developcard/js.png" alt="html">
@@ -106,25 +106,57 @@
</div> </div>
</div> </div>
<div class="Swino4ka_card">
<div class="Swino4ka_text_2">
<div class="Swino4ka_aboutinfo_2">
<p>Фронтэндер</p>
<h1>Swino4ka</h1>
</div>
<div class="Swino4ka_whatjob_1">
<img src="@/assets/icons-developcard/html.png" alt="html">
<p>HTML 5, CSS</p>
</div>
<div class="Swino4ka__whatjob_2">
<img src="@/assets/icons-developcard/js.png" alt="html">
<p>JavaScript</p>
</div>
<div class="Swino4ka__whatjob_3">
<img src="@/assets/icons-developcard/Vue.png" alt="html">
<p>Vue 3</p>
</div>
</div>
<div class="Swino4ka_skin_2">
<div class="Swino4ka_skin_2_skin">
<div class="Swino4ka_skinicons1">
<a href="https://t.me/Swino4ka_pon" target="_blank" ><img src="@/assets/icons-developcard/telegram.png" alt=""></a>
<a href="https://discordapp.com/users/472393576010088449" target="_blank" ><img src="@/assets/icons-developcard/discord.png" alt=""></a>
<a href="https://github.com/swino4ka/" target="_blank" ><img src="@/assets/icons-developcard/github.png" alt=""></a>
</div>
</div>
</div>
</div>
</div> </div>
<div class="bottom_card"> <div class="bottom_card">
<div class="megatntmega_card"> <div class="GEDPOOL31_card">
<div class="megatntmega_text"> <div class="GEDPOOL31_text">
<div class="megatntmega_aboutinfo"> <div class="GEDPOOL31_aboutinfo">
<p>Дизайнер</p> <p>Техническая поддержка</p>
<h1>megatntmega</h1> <h1>GEDPOOL31</h1>
</div> </div>
<div class="megatntmega_whatjob"> <div class="GEDPOOL31_whatjob">
<img src="@/assets/icons-developcard/Figma.png" alt="html"> <img src="@/assets/icons-developcard/tech-support.svg" alt="html">
<p>Designer</p> <p>Tech-Support</p>
</div> </div>
<div class="megatntmega_icons"> <div class="GEDPOOL31_icons">
<a href="https://t.me/random_ak" target="_blank" ><img src="@/assets/icons-developcard/telegram.png" alt=""></a> <a href="https://t.me/GEDPOOL31" target="_blank" ><img src="@/assets/icons-developcard/telegram.png" alt=""></a>
<a href="https://discordapp.com/users/531420425255911424" target="_blank" ><img src="@/assets/icons-developcard/discord.png" alt=""></a> <a href="https://discord.com/users/1044186204884701227" target="_blank" ><img src="@/assets/icons-developcard/discord.png" alt=""></a>
</div> </div>
</div> </div>
<div class="megatntmega_skin"> <div class="GEDPOOL31_skin">
<img src="https://avatar.spworlds.ru/front/212/GEDPOOL31.png" alt="">
</div> </div>
</div> </div>
<div class="busha888_card"> <div class="busha888_card">
@@ -135,7 +167,7 @@
</div> </div>
<div class="whatjob"> <div class="whatjob">
<img src="@/assets/icons-developcard/html.png" alt="html"> <img src="@/assets/icons-developcard/html.png" alt="html">
<p>HTML 5,CSS</p> <p>HTML 5, CSS</p>
</div> </div>
<div class="icons"> <div class="icons">
<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" target="_blank" ><img src="@/assets/icons-developcard/odniclasniki.png" alt=""></a> <a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ" target="_blank" ><img src="@/assets/icons-developcard/odniclasniki.png" alt=""></a>

View File

@@ -68,7 +68,7 @@
type="checkbox" type="checkbox"
:class="{ 'animate-start-btn': errorAgree }" :class="{ 'animate-start-btn': errorAgree }"
/> />
<h3>Я согласен с <a href="https://docs.google.com/document/d/1lU_zTWJdD1lcMlIAFDIVz-DlZAoq3a-OFkoO8WBIkzo/edit?usp=sharing">пользовательским соглашением</a></h3> <h3>Я согласен с <a href="https://docs.google.com/document/d/1ytKHnXr67o7mu5TKqlpgRjO8DEvQDRHNnaphhzbr_sg/edit?usp=sharing">пользовательским соглашением</a></h3>
</div> </div>
<div <div
class="btn-deposit btn-text-style btn-display-deposit btn-style-payments" class="btn-deposit btn-text-style btn-display-deposit btn-style-payments"
@@ -115,7 +115,7 @@
</div> </div>
<div class="withdraw-checkbox checkbox-styles"> <div class="withdraw-checkbox checkbox-styles">
<input @click="agreeUser = !agreeUser" type="checkbox" /> <input @click="agreeUser = !agreeUser" type="checkbox" />
<h3>Я согласен <a href="https://docs.google.com/document/d/1lU_zTWJdD1lcMlIAFDIVz-DlZAoq3a-OFkoO8WBIkzo/edit?usp=sharing">пользовательским соглашением</a></h3> <h3>Я согласен <a href="https://docs.google.com/document/d/1ytKHnXr67o7mu5TKqlpgRjO8DEvQDRHNnaphhzbr_sg/edit?usp=sharing">пользовательским соглашением</a></h3>
</div> </div>
<div class="error-captcha" v-if="errorCaptcha && agreeUser === true"> <div class="error-captcha" v-if="errorCaptcha && agreeUser === true">
<h2>Пройдите проверку!</h2> <h2>Пройдите проверку!</h2>

View File

@@ -81,7 +81,7 @@
type="checkbox" type="checkbox"
:class="{ 'animate-start-btn': errorAgree }" :class="{ 'animate-start-btn': errorAgree }"
/> />
<h3>Я согласен с <a href="https://docs.google.com/document/d/1lU_zTWJdD1lcMlIAFDIVz-DlZAoq3a-OFkoO8WBIkzo/edit?usp=sharing">пользовательским соглашением</a></h3> <h3>Я согласен с <a href="https://docs.google.com/document/d/1ytKHnXr67o7mu5TKqlpgRjO8DEvQDRHNnaphhzbr_sg/edit?usp=sharing">пользовательским соглашением</a></h3>
</div> </div>
<div <div
class="btn-deposit btn-text-style btn-display-deposit btn-style-payments" class="btn-deposit btn-text-style btn-display-deposit btn-style-payments"

View File

@@ -7,7 +7,7 @@ const SiteOff = {
<p>We are currently performing maintenance. We will be back shortly!</p> <p>We are currently performing maintenance. We will be back shortly!</p>
</div>` </div>`
}; };
const siteIsOff = true; const siteIsOff = false;
import router from "@/router/router"; import router from "@/router/router";
import mitt from 'mitt' import mitt from 'mitt'

View File

@@ -85,13 +85,17 @@
</div> </div>
<div class="container"> <div class="container">
<!-- <a href="#" class="line__btn">play <span class="line__btn--elm">></span></a> --> <!-- <a href="#" class="line__btn">play <span class="line__btn--elm">></span></a> -->
<a <a
href="#" href="#"
@click="$router.push({ name: 'double' })" @click="$router.push({ name: 'double' })"
class="line__btn--crash" class="line__btn--crash"
>play <span class="line__btn--elm"></span></a >play <span class="line__btn--elm"></span></a
> >
<img class="crash--img" src="@/assets/icons-gamemodes/slots-icon.png" />
<img class="double--img" src="@/assets/icons-games/double-game/DoubleLogo.svg" />
</div> </div>
</li> </li>
</ul> </ul>
@@ -110,6 +114,7 @@
class="line__btn--crash" class="line__btn--crash"
>play <span class="line__btn--elm"></span></a >play <span class="line__btn--elm"></span></a
> >
<img class="crash--img" src="@/assets/icons-gamemodes/crush-icon.svg" /> <img class="crash--img" src="@/assets/icons-gamemodes/crush-icon.svg" />
</div> </div>
</li> </li>

View File

@@ -0,0 +1,70 @@
t<template>
<div class="jackpot-history__content-grid">
<aside-bar-element/>
<chat-component/>
<header-element-page/>
<div class="jackpot-history">
<div class="jackpot-history__content">
<ul class="jackpot-history__element">
<li v-for="(game, index) in historyGame" :key="index">
<div class="abc">
<div class="jackpot-history__element">
<div class="element-info">
<div class="element-info__icon">
<img :src="`https://avatar.spworlds.ru/face/55/${game.winnerUserName}`">
</div>
<div class="element-info__user-info">
<h2 class="username">{{ game.winnerUserName }}</h2>
<h2 class="user-deposit">
{{ game.winStake.toFixed(2) }}
<span class="img-width"><img src="@/assets/icons-profile/icon-diamond-ore.png"></span>
</h2>
</div>
</div>
<div class="element-chance">
<h2>
Шанс <span class="chance-style">{{ game.winnerPercentage.toFixed(2) }}%</span>
</h2>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</template>
<script>
import { onMounted, reactive } from "vue";
import ChatComponent from "@/components/ChatComponent.vue";
import AsideBarElement from "@/components/AsidebarComponent.vue";
import HeaderElementPage from "@/components/HeaderComponent.vue";
import '@/assets/css/PagesStyles/jackpot-history.css'
import {getJackpotHistoryGame} from "@/assets/js/jackpot/JackpotLogic";
export default {
components: {HeaderElementPage, ChatComponent, AsideBarElement},
setup() {
let historyGame = reactive({})
onMounted(() => {
getJackpotHistoryGame()
.then(response => {
Object.assign(historyGame, response)
})
})
return { historyGame }
}
}
</script>
<style>
</style>

View File

@@ -0,0 +1,70 @@
t<template>
<div class="jackpot-history__content-grid">
<aside-bar-element/>
<chat-component/>
<header-element-page/>
<div class="jackpot-history">
<div class="jackpot-history__content">
<ul class="jackpot-history__element">
<li v-for="(game, index) in historyGame" :key="index">
<div class="abc">
<div class="jackpot-history__element">
<div class="element-info">
<div class="element-info__icon">
<img :src="`https://avatar.spworlds.ru/face/55/${game.winnerUserName}`">
</div>
<div class="element-info__user-info">
<h2 class="username">{{ game.winnerUserName }}</h2>
<h2 class="user-deposit">
{{ game.winStake.toFixed(2) }}
<span class="img-width"><img src="@/assets/icons-profile/icon-diamond-ore.png"></span>
</h2>
</div>
</div>
<div class="element-chance">
<h2>
Шанс <span class="chance-style">{{ game.winnerPercentage.toFixed(2) }}%</span>
</h2>
</div>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</template>
<script>
import { onMounted, reactive } from "vue";
import ChatComponent from "@/components/ChatComponent.vue";
import AsideBarElement from "@/components/AsidebarComponent.vue";
import HeaderElementPage from "@/components/HeaderComponent.vue";
import '@/assets/css/PagesStyles/jackpot-history.css'
import {getJackpotHistoryGame} from "@/assets/js/jackpot/JackpotLogic";
export default {
components: {HeaderElementPage, ChatComponent, AsideBarElement},
setup() {
let historyGame = reactive({})
onMounted(() => {
getJackpotHistoryGame()
.then(response => {
Object.assign(historyGame, response)
})
})
return { historyGame }
}
}
</script>
<style>
</style>

View File

@@ -11,7 +11,16 @@
<section class="crash-game"> <section class="crash-game">
<div class="crash-game__content"> <div class="crash-game__content">
<div class="crash-game__start-window"> <div class="crash-game__start-window">
<h2 class="crash__game-name">Краш</h2> <div class="classMenegerCrash">
<h2 class="crash__game-name">Краш</h2>
<div class="classNoMenegerCrash">
<a href="https://docs.google.com/document/d/13jJx5IC0AC8pOpbSG5CU1i9tIQof0Vb0IUFzcR0aKcE" target="_blank">
<img src="@/assets/icons-games/double-game/info.svg" alt="" />
</a>
</div>
</div>
<p>Жди момента и забирай выигрыш</p> <p>Жди момента и забирай выигрыш</p>
<div class="crash-game-window__inputs"> <div class="crash-game-window__inputs">
<div class="crash-deposit"> <div class="crash-deposit">
@@ -129,7 +138,6 @@ export default {
const dataCrashParse = JSON.parse(dataCrash) const dataCrashParse = JSON.parse(dataCrash)
this.crashObject = dataCrashParse this.crashObject = dataCrashParse
// console.log(this.crashObject)
} }
catch (e) { catch (e) {
console.error(e) console.error(e)
@@ -137,7 +145,9 @@ export default {
if (this.crashObject.Status === 'GameEnd' && this.startGame === true && this.crashObject.Players.some(player => player.UserName === GetCookie('SpUserName'))) { if (this.crashObject.Status === 'GameEnd' && this.startGame === true && this.crashObject.Players.some(player => player.UserName === GetCookie('SpUserName'))) {
this.startGame = false this.startGame = false
this.updateUserMoney() setTimeout(() => {
this.updateUserMoney();
}, 3000);
} }
if ( if (
this.crashObject.Players.some(player => this.crashObject.Players.some(player =>
@@ -295,8 +305,9 @@ export default {
.then((response) => { .then((response) => {
console.log(response) console.log(response)
this.startGame = false this.startGame = false
setTimeout(() => {
this.updateUserMoney() this.updateUserMoney();
}, 3000);
}) })
} }
}, },

View File

@@ -9,7 +9,16 @@
<div <div
class="jackpot-start__content title-saper padding-elements-jackpot" class="jackpot-start__content title-saper padding-elements-jackpot"
> >
<h2>Рулетка</h2>
<div class="classMenegerDouble">
<h2>Рулетка</h2>
<div class="classNoMenegerDouble">
<a href="https://docs.google.com/document/d/1oeL3kHp_5Mjcgsb2i87yMgjjNO2HdUa0_5TK1mJk9S0" target="_blank">
<img src="@/assets/icons-games/double-game/info.svg" alt="" />
</a>
</div>
</div>
<p>Крути, ставь, побеждай!</p> <p>Крути, ставь, побеждай!</p>
<div class="saper-start__choises diamonds diamonds-input__margin"> <div class="saper-start__choises diamonds diamonds-input__margin">
<h3>Цвет победной ячейки</h3> <h3>Цвет победной ячейки</h3>
@@ -647,6 +656,15 @@ export default {
.carousel__slide { .carousel__slide {
padding: 1px; padding: 1px;
} }
.classMenegerDouble {
display: flex;
flex-direction: row;
}
.classNoMenegerDouble {
margin-left: 1vh;
margin-top: 2.4vh;
}
.carousel__viewport { .carousel__viewport {
perspective: 2000px; perspective: 2000px;

View File

@@ -43,9 +43,23 @@
<div <div
class="jackpot-start__content title-saper padding-elements-jackpot" class="jackpot-start__content title-saper padding-elements-jackpot"
> >
<div class="classMeneger">
<h2>Джекпот</h2> <h2>Джекпот</h2>
<div class="classNoMeneger">
<a href="https://docs.google.com/document/d/1kW8bPmIZPrjK9EtKo6xsPLv989uOkgUn4wFk_uYOCUI/edit?usp=sharing" target="_blank">
<img src="@/assets/icons-games/double-game/info.svg" alt="" />
</a>
</div>
<div class="IstoriaMenedger">
<a href="#" @click="$router.push({ name: 'jackpot-history' })"><img class="IstoriaMenedger" src="@/assets/icons-games/double-game/Vector.svg"></a>
</div>
</div>
<p>Больше ставь, больше побеждай!</p> <p>Больше ставь, больше побеждай!</p>
<div class="saper-start__choises diamonds diamonds-input__margin"> <div class="saper-start__choises diamonds diamonds-input__margin">
<h3>Сумма депозита</h3> <h3>Сумма депозита</h3>

View File

@@ -11,7 +11,16 @@
<div class="bg-two"></div> <div class="bg-two"></div>
<div class="saper-start" :class="{ 'game-start__menu-off' : gameStart }"> <div class="saper-start" :class="{ 'game-start__menu-off' : gameStart }">
<div class="saper-start__content title-saper padding-elements"> <div class="saper-start__content title-saper padding-elements">
<h2>Сапёр</h2> <div class="classMenegerSaper">
<h2>Сапёр</h2>
<div class="classNoMenegerSaper">
<a href="https://docs.google.com/document/d/1aoN7tqLxWxOBJ-NXUs4GHK8Nl2n2Q-Kw6JHzmujku6A" target="_blank">
<img src="@/assets/icons-games/double-game/info.svg" alt="" />
</a>
</div>
</div>
<p>Находи изумруды на поле и избегай кристалы</p> <p>Находи изумруды на поле и избегай кристалы</p>
<div class="saper-start__choises crystals"> <div class="saper-start__choises crystals">
<h3>Количество кристалов</h3> <h3>Количество кристалов</h3>

View File

@@ -6,6 +6,7 @@ import SapergamePage from "@/pages/games-pages/SapergamePage.vue";
import SettingsPage from "@/pages/SettingsPage.vue"; import SettingsPage from "@/pages/SettingsPage.vue";
import CrashGamePage from "@/pages/games-pages/CrashgamePage.vue"; import CrashGamePage from "@/pages/games-pages/CrashgamePage.vue";
import JackpotPage from "@/pages/games-pages/JackpotPage.vue"; import JackpotPage from "@/pages/games-pages/JackpotPage.vue";
import JackopthistoryPage from "@/pages/JackopthistoryPage.vue";
import DoublePage from "@/pages/games-pages/DoublePage.vue"; import DoublePage from "@/pages/games-pages/DoublePage.vue";
import AboutPage from "@/pages/AboutPage.vue"; import AboutPage from "@/pages/AboutPage.vue";
import HelpPage from "@/pages/HelpPage.vue" ; import HelpPage from "@/pages/HelpPage.vue" ;
@@ -18,6 +19,7 @@ export default createRouter({
{ path: '/game/saper', component: SapergamePage, name: 'saper' }, { path: '/game/saper', component: SapergamePage, name: 'saper' },
{ path: '/game/crash', component: CrashGamePage, name: 'crash' }, { path: '/game/crash', component: CrashGamePage, name: 'crash' },
{ path: '/game/jackpot', component: JackpotPage, name: 'jackpot' }, { path: '/game/jackpot', component: JackpotPage, name: 'jackpot' },
{ path: '/game/jackpot/history', component: JackopthistoryPage, name: 'jackpot-history' },
{ path: '/game/double', component: DoublePage, name: 'double' }, { path: '/game/double', component: DoublePage, name: 'double' },
{ path: '/settings', component: SettingsPage, name: 'settings' }, { path: '/settings', component: SettingsPage, name: 'settings' },
{ path: '/about', component: AboutPage, name: 'about' }, { path: '/about', component: AboutPage, name: 'about' },